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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T22:21:29+00:00 2026-06-11T22:21:29+00:00

I had my script set up on old.example.com/?paypal_notify=1 . There were a few people

  • 0

I had my script set up on old.example.com/?paypal_notify=1. There were a few people who signed up to my membership plan while the site was on the old URL. I then moved my site to example.com (no more subdomain) and updated my IPN URL in the PayPal settings.

Unfortunately PayPal is still sending IPNs to the old URL for the members who signed up on the old URL. I tried to redirect the IPN with .htaccess from old.example.com

Redirect /?paypal_notify=1 http://example.com/?paypal_notify=1

This isn’t working – I think my redirect rule isn’t right. Can someone give me a pointer please? Thanks

  • 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-11T22:21:31+00:00Added an answer on June 11, 2026 at 10:21 pm

    Rewrite rules only match the path portion of a URL, which excludes the querystring.
    When you want to match based on the querystring, you need to add a RewriteCond directive.

    This should do what you want:

    RewriteCond %{QUERY_STRING} ^paypal_notify=1$
    RewriteRule ^$ http://example.com/?paypal_notify=1 [L,R=302]
    

    When you’re happy that it works as needed, replace the R=302 with R=301 to make the redirect permanent.

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

Sidebar

Related Questions

Say for example you had a shell script that utilises inotifywait in the following
I had a cronjob set up to run a php script daily, which went
Last night I had a script go a bit crazy and create a bunch
I had developed a script, earlier I use to transfer it directly without any
I had working a java script in my html page.Now i moved the script
I had this jquery idle timeout script implemented into a site, thanks to ehynds
I had a simplest, dumbest script for uploading files and returning success true or
I have wrote a script that was run from a spreadsheet. I had One
I am trying to get my session login script working and I had the
I am writing a test script using Selenium web driver (IE). I had no

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.