Jump to content

GET after mod_rewrite


conker87

Recommended Posts

Hiya all,

 

I'm use good ol' mod_rewrite to pretty up my urls, but now I'd like to use GET to sort queries. However, if I do this:

domain.com/articles/?title=blah&orderby=id

It just ignores the variables at the end. Is there anything I need to add to my code for it to pick up these?

 

Thanks.

Link to comment
https://forums.phpfreaks.com/topic/242117-get-after-mod_rewrite/
Share on other sites

you would have to post up the mod_rewrite code and an example that doesnt work. I believe if you are setting variables in your mod_rewrite code as GET vars, it will ignore the GET vars in the url. This is why a lot of CMS type systems mod_rewrite everything to a single index page then handle the load from there.

 

So just patse up that code and someone will help

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.