| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
home.php to index.php | ||||
![]() |
|
|||
|
|
Thread Tools | Search this Thread |
|
#21
|
|||||||
|
|||||||
|
Quote:
Balinor, I have changed my htaccess file from DirectoryIndex index.html index.php to DirectoryIndex home.php but again my site redirects to www.mydomain.com/home.php I need my site redirects to mydomain.com only. Can you guide me? Thank you. |
|||||||
|
#22
|
|||||||
|
|||||||
|
any good idea?
__________________
X-Cart Version: 4.7.12 GOLD www.cheapglasses123.com prescription glasses online at discounted prices. prescriptionglassesusa.com www.loupesusa.com X-Cart Version: 4.7.11 GOLD PLUS |
|||||||
|
#23
|
|||||||||
|
|||||||||
|
Here's a tutorial to move your site to root and maintain search engine rankings: Move X-Cart To Root.
If you don't move your site to root, then at least set a home.php directory index in your subfolder .htaccess file do a 301 redirect from root to your subfolder by putting an index.php file in root with the following content (replace /shop/ with your folder): Code:
Our CDSEO program includes a home.php directory index and to consolidate pages it also does a 301 redirect to / when http://www.example.com/home.php is accessed directly. If you are running Zeus then you can set your directory index in your control panel. |
|||||||||
|
#24
|
|||||||||
|
|||||||||
|
You should also specify if your domain uses www. or not, here's another tutorial: http://www.x-cart-seo.com/x-cart-seo-blog/www-seo-pick-a-domain-preference/
|
|||||||||
![]() |
|
| Thread Tools | Search this Thread |
|
|
|
|
|||
|
X-Cart forums © 2001-2020
|
|||