HTML Code:
RewriteRule (([a-z]+)\/([a-z]+))/?$ /index\.php?page=$1
RewriteRule (([a-z]+)/([a-z]+))(/for/(.*))?/?$ /index\.php?page=$1&for=$5
Somebody helped me make that for my site, but I need the first one with numbers. Also, the second one doesn't work. It's supposed to make http://www.chaosgamers.com/main/submit/for/aff instead of http://www.chaosgamers.com/index.ph.../submit&for=aff Is it possible to make that "for" variable any variable I use, because I will probably have more pages with different variables.
If you could help, thanks. 
|