![]() |
Re: home.php to index.php
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. |
Re: home.php to index.php
any good idea?
|
Re: home.php to index.php
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:
<?php 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. |
Re: home.php to index.php
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/
|
All times are GMT -8. The time now is 02:23 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.