.htaccess file not working

Status
Not open for further replies.

nicklong9836

New Member
Messages
3
Reaction score
0
Points
0
I am trying to create a .htaccess file that will make my CMS simpler. Basically it will redirect page.com/blog to page.com/index.php?page=blog

http://ravvel.x10.mx/blog is an example.

Here is my .htaccess file

RewriteEngine On # turns on the rewrite engine
RewriteRule ^(((([0-9]+)|([a-z]))*/?)*)$ index.php?page=$1 [NC,L]

If you have any suggestions, I would really appreciate it.

Thanks
Nick Long
 

nicklong9836

New Member
Messages
3
Reaction score
0
Points
0
Alright, I fixed it myself. What I did was I added a / in front of the index.php and everything worked perfectly
 
Status
Not open for further replies.
Top