I just decided to put a sub domain on my directory, but the .htaccess rules I wrote don't apply for the subdomain.
Here are the code snippets, can anybody see what I am doing wrong here?
RewriteEngine on Options +FollowSymlinks RewriteBase / RewriteRule ^web-directory/category/(.*)/(.*) web-directory/index.php?catid=$1&start=$2 RewriteEngine on Options +FollowSymlinks RewriteBase / RewriteRule ^http://www.web-directory.mcpmedia.com/category/(.*)/(.*) http://www.web-directory.mcpmedia.com/web-directory/index.php?catid=$1&start=$2
The first one works fine, the 2nd one is no good. Any ideas?
no help? Anybody have any ideas?
I am not sure whether it works. Just give it a try and do let me know the result. :)
RewriteEngine on Options +FollowSymlinks RewriteBase / RewriteRule ^web-directory/category/(.*)/(.*)/$ /web-directory/index.php?catid=$1&start=$2 RewriteEngine on Options +FollowSymlinks RewriteBase / RewriteRule ^http://www.web-directory.mcpmedia.com/category/(.*)/(.*)/$ http://www.web-directory.mcpmedia.com/web-directory/index.php?catid=$1&start=$2