![]() |
htaccess Rewrite Specifically For Subdomains
I want to use rewrite code for my subdomain but my primary domain is affected by this. How do I just use the code that's made only for that subdomain?
Quote:
|
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(www.)?(*.)yourdomain.com$ index.php?q=$1 [L,QSA] try that. |
It's giving me an internal server error. =/
|
Try this:
Code:
Options +FollowSymLinks |
Thanks schleppel. It is now working. :thumbsup:
|
| All times are GMT +1. The time now is 01:17 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.