| | #1 |
| Lifetrepreneur War Room Member Join Date: 2007 Location: London, UK
Posts: 307
Thanks: 29
Thanked 79 Times in 39 Posts
|
Hi, I want to redirect people who go to either... 1) http://mydomain.com/abcxyz 2) http://mydomain.com/abcxyz/ To go to... http://myotherdomain.com How do I do it? Tks much! |
| | |
| |
| | #2 |
| HyperActive Warrior War Room Member Join Date: 2009 Location: Living between LA & SD
Posts: 205
Thanks: 27
Thanked 36 Times in 33 Posts
|
You can use the .htaccess file. This code should work: Code: RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^abcdef/?$ http://myotherdomain.com [NC,L] |
| |
| | #3 |
| Lifetrepreneur War Room Member Join Date: 2007 Location: London, UK
Posts: 307
Thanks: 29
Thanked 79 Times in 39 Posts
|
Tks Big Squid! Doesn't seem to work. This .htaccess file goes into the directory of http://mydomain.com/abcxyz right? |
| | |
| |
| | #4 | |
| HyperActive Warrior War Room Member Join Date: 2009 Location: Living between LA & SD
Posts: 205
Thanks: 27
Thanked 36 Times in 33 Posts
|
| |
| |
|
| Bookmarks |
| Tags |
| create, redirect, slash, trailing |
| |