Continuation of sitemap errors problem for healthexpertsalliance.com

#210291
  • Resolved Mark Johne
    Rank Math free

    Hello guys,

    My previous ticket was closed. The URL is below (You may not need to read it. Read this ticket first – it will be quicker for you.)

    We only just recently heard back from the client about this issue. I now have logins for both their hosting and their Divi accounts.

    I spoke with Bluehost first. Turns out their server is not Nginx but rather Apache. They have told me that they can implement the sitemap redirect (sending the www. versions to the non-www. versions) but I need to get the code for them to manually add to the .htaccess file.

    Do you guys know the code that needs to be added to this file so I can share it with Bluehost and have them implement it?

    Thanks!

    Previous ticket:
    https://support.rankmath.com/ticket/some-posts-not-getting-indexed-weird-results-in-the-serp/page/3/?view=all

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for the delay.

    You can use this code in your .htaccess file to redirect your website from HTTP to HTTPS and www to non-www version of your site:

    RewriteEngine on
    RewriteCond %{HTTPS} !=on [NC]
    RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
    RewriteCond %{HTTP_HOST} ^www.legalconsultantschd.com [NC]
    RewriteRule ^(.*)$ https://legalconsultantschd.com/$1 [L,R=301]

    I hope that helps.

    Thank you, and looking forward to your update.

    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 1 replies (of 1 total)

The ticket ‘Continuation of sitemap errors problem for healthexpertsalliance.com’ is closed to new replies.