I was asked to help a friend to rewrite urls for a site he has a client.
The link structure looks like this:
<a href="http://sitename.dk/index.php?page=wisetrap">WiseTrap</a> // URL: sitename.dk/index.php?page=wisetrap
Is it possible to keep the link structure like that, but after the link is clicked make it appear in the url like this:
// URL: sitename.dk/wisetrap
Any htaccess brains out there?
I know I have to deal with some variables in the htaccess file, but I havent been able to make it work.
So basicaly strip the filename: index.php and then add the 1.st $_GET variable to the end..