.htaccess

#902533
  • Resolved er ma
    Rank Math free

    I edited .htaccess line 180

    RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

    I changed it to

    RewriteCond %{HTTP_HOST} ^www.amazonmedicalstore.com [NC]
    RewriteRule ^(.*)$ http://amazonmedicalstore.com/$1 [L,R=301]

    But I changed it back to

    RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

    But the website is still inaccessible

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,

    We apologize for the issue you are facing with your website being inaccessible. It seems that the changes made to the .htaccess file may have caused some unintended consequences.

    When editing the .htaccess file, it’s crucial to ensure that the rules are correctly formatted and placed. Since you reverted the change back to the original line, it should ideally restore the previous functionality. However, if the website is still not accessible, there might be other issues at play.

    Here are a few steps you can take to troubleshoot:

    1. Clear Your Browser Cache: Sometimes, cached data can cause issues when accessing your site.
    2. Check for Syntax Errors: Ensure there are no syntax errors in your .htaccess file. Even a small mistake can lead to access issues.
    3. Restore Backup: If Rank Math created a backup of your .htaccess file before your changes, consider restoring it to see if that resolves the issue.
    4. Disable Plugins: Temporarily disable any plugins that might interfere with your site’s functionality.
    5. Check Server Configuration: If you have access to server logs, check for any errors that might indicate what is causing the issue.

    If these steps do not resolve the problem, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further. Thank you for raising this concern!

    Hello,

    Thank you for contacting Rank Math

    You seemed to have marked this ticket as resolved.

    We’re just following up with you to see if you have any other questions or concerns that we can assist you with. Or, if your issue has been resolved, please let us know so we can mark this ticket as closed.

    Thank you for choosing Rank Math.

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

You must be logged in to reply to this ticket.