Redirection Issue

#199139
  • Resolved Rupert Diggins
    Rank Math free

    Hi

    On my Seo Anaylysis report I get the result “The www and non-www versions of your URL are not redirected to the same site.”

    So i go to REDIRECTIONS in Rank math and type the “justonefortheroad.com” in the first box with EXACT and then the http://www.justonefortheroad.com in the second box and highlight the 301 permanent box

    I go to submit and it throws me back to the start with no redirect added ?

    Can you help?

    thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Cris
    Rank Math business

    Hello,

    Thank you for bringing this to our attention and apologies for the inconvenience caused.

    I tried to check the issue but I can’t seem to replicate it on my end.

    Can you please enable Advanced Mode in the Rank Math dashboard:

    Please clear SEO Analysis data in Rank Math > Status & Tools > Database Tools > Clear SEO Analysis.

    Once done, clear the website cache and browser cache and re-run the SEO Analysis.

    I hope that helps and please do not hesitate to contact us back anytime if you require further assistance.

    Happy to help!

    Cheers,

    Hi Cris

    I have done that and still the same result in SEO analysis and still the inability to add this redirection ?

    Hello,

    Thanks for getting back.

    Sorry for the confusion. The redirection module will not work to add these kinds of redirects for your homepage. You will have to do it by editing your .htaccess file.

    To redirect www version of your site to non www version, you will need to add the code given below in your .htaccess file from WP Dashboard > Rank Math > General Settings > Edit .htaccess

    RewriteEngine On
    RewriteCond %{HTTP_HOST} www.yourwebsitehere.com
    RewriteRule (.*) http://justonefortheroad.com/$1 [R=301,L]

    After adding the code, please make sure that the redirection is working by visiting the www version of your site. If it works then please navigate to WP Dashboard > Rank Math > Status & Tools > Database Tools and Flush the SEO Analysis Data & Remove the Rank Math Transients. Run the SEO Analysis again and the issue should be resolved.

    Hope this helps. Let us know if you need any further assistance.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘Redirection Issue’ is closed to new replies.