Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.