0

Hello there,

Htaccess stuff not being one of my strong points, I'm asking if anyone knows about how to use the rewrite engine to provide the following :

I currently have :

http://www.example.com/?page=home

I would like to have :

http://www.example.com/home

I think this is possible, because it used by Joomla and Wordpress, I just fail to understand any line of Rewrite code. Thanks in advance ;)

2
Contributors
1
Reply
2
Views
6 Years
Discussion Span
Last Post by arosemena
0
RewriteEngine on
RewriteRule ^([a-zA-Z]*)$ Index.php?page=$1

i think that should do, replace Index.php with your current index page

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.