![]() |
|
| Domain Name Sales | Domain Software | Calculate UK Domain Drop Dates | Domain Registration | NameDrive | Domain Parking |
| |||||||
| Website Design Discuss web design |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
| Busy At The Moment | url redirecting using htaccess
i am looking for a way to redirect urls when a user visits the page using .htaccess for example domain1.co.uk domain2.co.uk domain3.co.uk are all parked on domain.co.uk when a user goes to domain1.co.uk i want to divert them to domain.co.uk/domain1 i used to have this but can not find it so any help much appreciated. |
| |
| | #5 (permalink) |
![]() | Does that rule now work for all domains you forward or just domain1.co.uk?
|
| |
| | #7 (permalink) |
| Busy At The Moment |
just thought i would open an old thread rather create a new one. Is it possible to create the above using wildcard for a domain/url. so instead of using the following per domain: Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^(www\.)?domain1.co.uk [NC] RewriteCond %{HTTP_HOST} !^$ RewriteRule ^(.*) http://www.domain.co.uk/domain1/$1 [L,R=301] have it so it is seens for example tfts.co.uk it will divert to /tfts/ or domain1.co.uk goes to /domain1/ |
| |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Domain Name Community | Replies | Last Post |
| (help) htaccess WWW | purg | General Board | 2 | 19-01-2009 10:05:25 PM |
| Google Offers Money-Back Guarantee* on 301 Domain Redirecting - Marketing Pilgrim | RSS | Domain Name News | 0 | 17-04-2008 02:59:02 PM |
| Redirecting An Affiliate Link? | MKMK | Affiliate Marketing | 2 | 03-06-2007 08:00:51 PM |
| Redirecting whole site with 301 to new domain | murph | Website Design | 4 | 23-12-2005 11:00:02 AM |