Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3310738
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T21:47:40+00:00 2026-05-17T21:47:40+00:00

I am trying to rewrite this url and it just doesn’t seem to be

  • 0

I am trying to rewrite this url and it just doesn’t seem to be working and I am unclear what is going wrong

I want this URL:

www.mysite.com/dvd-123/Studio/studio_name.php?thumbs=yes&order=price

To actually send to:

www.mysite/cat/list_products.php?studio=123&store=dvd&thumbs=yes&order=price

Here is what I have that is sorta working:

RewriteRule ^dvd-([0-9]+)/Studio/(.*)\.php?(.*)$ cat/list_products.php?studio=$1&store=dvd&$3 [L]

The results I am receiving are the same as if i want to:
http://www.mysite/cat/list_products.php?studio=123&store=dvd
ignoring the:
&thumbs=yes$order=price

Thank you in advance for your help!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T21:47:40+00:00Added an answer on May 17, 2026 at 9:47 pm

    From Apache documentation:

    The Pattern will not be matched against the query string… To combine a new query string with an old one, use the [QSA] flag.

    I haven’t tested this, but hopefully it should point you in the right direction.

    RewriteRule ^dvd-([0-9]+)/Studio/(.*)\.php$ cat/user_list_products.php?Manname=$1&store=dvd [L,QSA]
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to rewrite this url: http://www.sample.com/product_guide&product_name=waht&product_type=dog-clipper to: http://www.sample.com/waht/dog-clipper I am using this
I'm trying to rewrite a url of this: http://www.foo.com/bar/baz to index.php?q=$1&d=baz Where bar is
trying my .htaccess page to rewrite this url www.mywebsite.com/view.php?2012/this-is-page.html to www.mywebsite.com/view.php/2012/this-is-page.html Where view.php is
I'm trying to rewrite some query strings I have in my URL like this
I am trying to rewrite the following URL in WP: http://www.example.com/?compra=arriendo&propertytype=apartamentos&location=bogota&habitaciones=2-habitaciones to: http://www.viveya.co/arriendo/apartamentos/bogota/2-habitaciones This
I am trying to make a generic URL rewrite methods, and i want it
I am trying to add the page title into the URL. Just like this
I am trying to exclude a directory with ISAPI-Rewrite (note: this is a windows/iis
Ok, this is driving me nuts... I'm trying to rewrite my urls like this:
I'm trying to rewrite some URL's on my website, and it works fine, I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.