Ok so I want to turn a url like this:
page.php?anyvar1=anywordornumber%26amp;anyva?br>
into this
page/anyvar1/anywordornumber/anyvar2/a?br>
so basically it will convert all php pages and their arguments into just what appears to be folders how do I do this using regex in the .htaccess file?I need help with .htaccess redirect change php to html and other stuff?
I don't think that's possible, usually they use something like: index.php ?value=blablabla, then perform php/database operations on the ';value'; to find what to output...
then all you need to do is insert index.php?value= into the url...
Something like: ^page/(.*)$ page.php?value=$1
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment