mod rewrite - Using "?" when rewriting the URL -
i have been researching weeks looking how rewritting file/directory complementary "?" or "question mark"
what need:
http://mydomain.com/demo01.php
to like:
http://mydomain.com/?theme=jerus
theme > simple directory need use websites products(in case themes) jerus > name of theme
extra info:
i plan on rewritting every url individually refrain wildcard varibles.**
wouldn't easy instead of doing url rewriting put php in directory called theme , name index.php?
http://mydomain.com/theme/?t=jerus
but if you're re-writing urls make rule acutally make route this:
http://mydomain.com/theme/jerus/
which waaaay prettier
see question: using clean urls in restful api
Comments
Post a Comment