Redirect to a specific url depending upon the base url using htaccess file
- by Goysar
I am using htaccess to redirect to url with page description. For example
RewriteRule ^Flash$ /index.php?section=flash [L,NC]
By using this code when i hot domain.com/Flash it redirects me to www.domain.com/index.php? section=flash. This works fine. But now what i want to have two more site with the same htaccess file.
So can anyone help me in redirecting the url with same htaccess for multiple site. Can i find the base url and redirect depending on that??