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?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.