here's what you need to do.
first, create a .htaccess
2.write this on the file
ErrorDocument 404 /example/
3.save the .htaccess on the example folder
4. the example folder should have an index.php so when they go to www.domain.com/example/300 which is not actually existing, the .htaccess will call the index.php then we can proceed to:
5. get the current URL that is
6. cut it using explode function so you can get what data you want
7. Mark this thread as Solved
8. Cheers! :D
Although that's a nice work-around, I'd still want to see a full-blown rewriting process (read "how-to").
I'll give it a shot:
RewriteRule ^/example.php?id=([0-9]+)$ /example/$1 [L]
Did I nail it?
yes you are right you need to convert all your link to the desired format using php
Great tip nevermind!