| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
daddyo
Joined: 12 Sep 2007 Posts: 38
|
Posted: Wed Oct 24, 2007 4:48 am Post subject: Removed MX-Portal but Google Links still exist and fail |
|
|
In my .htaccess file in my root directory, I have this rule:
RewriteRule ^mx\/(.)* /index.php [L,R]
Is this correct or do I need to redirect it differently? I essentially want any mx/* links to redirect back to my main index page (which is not the same thing as my forums index page). |
|
|
| Back to top |
|
 |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 3128
|
Posted: Wed Oct 24, 2007 7:06 am Post subject: Re: Removed MX-Portal but Google Links still exist and fail |
|
|
| Code: | | RewriteRule ^mx/(.*)$ /index.php [L,R=301] |
Or :
| Code: | | RewriteRule ^mx/(.*)$ / [L,R=301] |
If you do not use index.php in your home page url, but only the example.com/ url.
You may need to psecify the full url :
| Code: | | RewriteRule ^mx/(.*)$ http://www.example.com/ [L,R=301] |
Depending on your server settings.
 |
_________________
|
|
| Back to top |
|
 |
daddyo
Joined: 12 Sep 2007 Posts: 38
|
Posted: Wed Oct 24, 2007 1:13 pm Post subject: Re: Removed MX-Portal but Google Links still exist and fail |
|
|
Thank you. I will make the change and give it a try.
Thanks for the quick response. |
|
|
| Back to top |
|
 |
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |