Page is a not externally linkable
JamieEff - 1:05 pm on Jun 12, 2012 (gmt 0)
Hi there
Newbie to the forum here (and to mod_rewrite as well!)
Basically I am trying to get blog urls re-written into something a little more acceptable to the search engines.
The url that is generated by the system is something like this:
http://www.example.com/blog-article.php?zzBlog=4 (where the 4 is the uniue url for a specific article)
I am looking to re-write it to look something like this:
http://www.example.com/blog/4.html
I have written the below to re-write it to :
RewriteEngine On
RewriteRule ^blog/([^-]*)\.html$ /blog-article.php?zzBlog=$1 [L]
but it doesnt seem to be working.
The .htaccess file is uploaded and in the root of the server
Any suggestions graetfully received.
Many thanks
Jamie