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

  • Home
  • SEARCH
  • 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 919067
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T18:28:51+00:00 2026-05-15T18:28:51+00:00

I am trying to rewrite tagged.php?flag=parameter&page=1 into /parameter/?page=1 So I am using: RewriteRule Hotties/?(.*)

  • 0

I am trying to rewrite

tagged.php?flag=parameter&page=1

into

/parameter/?page=1

So I am using:

RewriteRule Hotties/?(.*) tagged.php?flag=parameter&page=$1

However the result I am getting is:

/parameter/?page=

Which is the “1”. I am not sure what is missing. Clearly the issue is with the (.) and the “=” but I am not sure what is wrong. I also tried (.$) which did not fix it.

  • 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-15T18:28:51+00:00Added an answer on May 15, 2026 at 6:28 pm

    According to the documentation, you need to match against the URL path and the query string separately. If this is really your question,

    I am trying to rewrite

    tagged.php?flag=parameter&page=1

    into

    /parameter/?page=1

    then you’d use

    RewriteCond %{QUERY_STRING} flag=parameter&page=(\d+)
    RewriteRule ^/tagged.php$ /parameter/?page=%1
    

    but I suspect you actually want to go the other way around, in which case you’d use

    RewriteCond %{QUERY_STRING} page=(\d+)
    RewriteRule ^/parameter/$ /tagged.php?flag=parameter&page=%1
    

    Not sure where the "Hotties" thing comes into it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to rewrite the following URL test.php?par1=foo&par2=bar Into... newtest.php?hidden_par=blah&par1=foo&par2=bar I have this rule,
i'm trying to rewrite my urls to goto a single php file: RewriteRule ^dir/(?:(?!style|js).)*$
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
I am trying to rewrite URLs using mod_rewrite. It is enabled in httpd.conf and
I'm trying to use URL rewrite in my new project. But I also need
I am trying to create a rewrite rule that accomplishes two things: Redirect (www.)?domain.com
I'm trying to redirect all requests to my domain to another domain using mod_rewrite
I'm trying rewrite xCmd which can start a process on a remote machine. Basically
I am trying to rewrite an url with GET-data from a form. This works
I'm trying to rewrite a direct (disconnected) DataSet.DataTable.Select to LINQ for a textual search:

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.