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

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -