Member Avatar for cuonic

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 ;)

RewriteEngine on
RewriteRule ^([a-zA-Z]*)$ Index.php?page=$1

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

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.