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 8449411
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T10:41:56+00:00 2026-06-10T10:41:56+00:00

Current URL : http://www.domain.com/billing/signup.php?a=1&b=2 What I need : http://billing.domain.com/register.php I’m not really good at

  • 0

Current URL : http://www.domain.com/billing/signup.php?a=1&b=2

What I need : http://billing.domain.com/register.php

I’m not really good at htaccess syntax so I would like to ask for some help here. I don’t need the query string anymore as the old url is already expired and I only need a 301 redirect to the new URL with the query string removed.

Any help would be highly appreciate.

  • 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-06-10T10:41:58+00:00Added an answer on June 10, 2026 at 10:41 am

    In the htaccess file in your document root for the www.domain.com domain, you can do one of 2 things.

    Using mod_rewrite:

    RewriteEngine On
    RewriteRule ^signup\.php$ http://billing.domain.com/register.php? [R=301,L]
    

    Or using mod_alias:

    RedirectMatch ^/signup.php http://billing.domain.com/register.php?
    

    This completely ignores what the query string actually is. It just matches against the URI, /signup.php and redirects to the target. Note that the ? at the end makes sure the existing query string doesn’t get appended.

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

Sidebar

Related Questions

Example current URL http://www.domain.com/subdomain/install/finish.php I use this code to get the current URL. $url
I would like to highlight the current tab using the url $url=http://.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; $gallerypageurl=http://www.domain.com/gallery/; if
The current url http://www.example.com/search/?accommodation=1&venue=&seating=2&min=&max=&feature_list=7|8|9 Is there a way in jquery how can i grab
This is the current URL of my images - http://www.mysite.com/files/thumb/133/595 While inspecting it in
If my current url is www.example.com/thank-you, how do I echo out the page name
I have a page http://www.domain.com/user/123 , where 123 is the user_id for a particular
Let's say I have the domain http://www.example.com . When I browse to http://www.example.com/12345 it
If the website url is www.domain.com/subfolder/sitecontent , then how do I update the .htaccess
My current js formula removes http://, https://, www and anything after '/'. function cleanUrl(url)
How can I redirect to current url after logout? HTLM for logout: <a href=<?php

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.