Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

moving index page to root


hugoboss

Recommended Posts

Hello,

 

For SEO comfort I want to move my index page to the root of my site.

Can I leave the rest of the code where it is?

Do I need to alter the configuration in configure.php ?

What else must be adapted?

Or must I copy all to the root level?

TIA

Hugo

Link to comment
Share on other sites

there's plenty on this, try searching the forum

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Spook and all ..

I know I can move ALL of the site to the root, change the configuration.php and my CC modules etc.

I would need to put a redirect on all 301's

But I wonder if there is a way to LEAVE the code and SEO referenced pages as it is and ONLY move the index page?

Is this a stupid idea?

What to do, please leave a link instead of sending me into an endless search!

TIA

Hugo

Link to comment
Share on other sites

Well in /catalog/includes/filenames.php, you could try changing the line

 

  define('FILENAME_DEFAULT', 'index.php');

 

to

 

  define('FILENAME_DEFAULT', '/index.php');

 

But I suspect that might break things - try it and see what happens?

 

If you wanted to move your entire /catalog directory to the root of your website, you will need to edit your /catalog/includes/configure.php and /catalog/admin/includes/configure.php files accordingly.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...