Quote:
Originally Posted by fris
maybe something like this?
Code:
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www\.)?domain\.com$ [NC]
RewriteRule ^([a-z0-9]+)$ http://otherdomain.com/folder/$1/folder [NC,R=301,L]
(removes www from domain, not really needed)
|
Thank you Fris, EXACTLY what we were looking for... BUT do you know how we can make it work if the variable also has dashes in it.
This does not work if its something like domain.com/xx-xxxx-xxxxx ...we need it to work in both situations.