I am looking to use a URL like http://go.mydomain.org/822 and have it rewritten to a URL http://mydomain.org/abc/index.php?page=index&id=
822&showcomments=0
All I keep on seeing is this message
The requested URL /822 was not found on this server.
The Rewrite stuff I have is
Code:
RewriteEngine On # Turn on the rewriting engine
RewriteCond %{HTTP_HOST} ^go\.(.)/[0-9]+$ [NC]
RewriteRule ^/(.) http://$1/abc/index.php?page=index&id=$2&showcomments=0 [NC,L]
Can someone help me with this.
I basically took an Apache website example and modified it to what I would like but its not working. The server has URL rewriting but I can not seem to get anything I set up to work. It is obviously doing something because it can't find the URL /822 on the server.