Hello to everybody! I'm developing a web site containing 3 pages (Home, page2, page3) ... in the second page there is a navigation bar, with 4 items (subpage1, subpage2, ...), that I use to replace the content of the page 2 with url variables! In other words, the second item of the navigation bar in page2 points to:
http://localhost/uk/page2/index.php?pg=subpage2
the item 3 point to:
http://localhost/uk/page2/index.php?pg=subpage3
Now I would like to use more friendly urls via .htaccess
!
I've written this:
RewriteEngine On
RewriteRule /uk/page2/(.*)/$ /uk/page2/index.php?pg=$1
in the .htaccess
placed in the root!
But doesn't work! Please help!!!