Redirection with alias/parked domain

  • I used to have but later changed to I set up a redirection on my hosting level to redirect any request from to

    The 404s show, but it does not allow me to create a redirect saying that the domain is not valid (“add a valid source url”). Maybe it’s because the domains are different.

    Is there a way to fix that?

    • This topic was modified 3 months ago by  Angel Costa.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    I would suggest that you create a manual redirection for all the pages by adding the following code to your .htaccess file:

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^ [NC]
    RewriteRule ^(.*)$$1 [L,R=301]

    Please take a look at the following page for more info on this:

    Looking forward to helping you. Thank you.


    Ok, thank you.


    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)

The ticket ‘Redirection with alias/parked domain’ is closed to new replies.