Hey guys, how do I rewrite web requests of type http://mydomain.com/mypage.php?id=somenumber where somenumber is an integer TO http://mydomain.com/directory
like http://mydomain.com/mypage.php?id=15 to http://mydomain.com/directory
|
Hey guys, how do I rewrite web requests of type http://mydomain.com/mypage.php?id=somenumber where somenumber is an integer TO http://mydomain.com/directory like http://mydomain.com/mypage.php?id=15 to http://mydomain.com/directory | |||||
feedback
|
|
Yeah, well, assuming the comment on your question is what you in fact want, you would do something like: Somewhere on apache's config:
On your .htaccess:
This would make it so that when you open Edit: fixed typo on RewriteEngine and fixed the regexp too... was distracted. Hope this helps you. | |||||||||||
feedback
|