Redirect URLS

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

    I apologize for the issue you are facing with the incorrect redirection of your internal links in Rank Math. It seems like the URLs are redirecting incorrectly when using “www” in the link titles.

    To resolve this issue, you can follow these steps:

    1. Check WordPress Address Settings: Ensure that your WordPress Address (URL) and Site Address (URL) settings are correctly configured without any additional “www” in the URLs. You can find these settings in your WordPress dashboard under Settings > General.

    2. Edit .htaccess File: If the issue persists, you can add redirection rules to your website’s .htaccess file using Rank Math. Navigate to WordPress Dashboard > Rank Math SEO > General Settings > Edit .htaccess as shown in the screenshot below:

    Navigate to edit .htaccess

    1. Add Redirection Rule: In the .htaccess file, add a redirection rule to redirect the “www” version of your website to the non-“www” version. You can use the following code snippet after #END WordPress:
    RewriteEngine On
    RewriteCond %{HTTP_HOST} www.example.com
    RewriteRule (.*) https://example.com/$1 [R=301,L]

    Make sure to replace example.com with your actual domain name.

    If you continue to experience issues or need further assistance, please let us know. Thank you for bringing this to our attention.

    Best regards,

    Sources:
    Solving Redirection Issues Using Rank Math SEO Plugin » Rank Math
    How to Set Up Redirections » Rank Math
    Why Are Posts Redirecting to www or Non-www Incorrectly?
    WordPress Permalink Structure & Changing Individual URLs » Rank Math
    How to Remove a Specific Word From Your Permalinks (URLs) » Rank Math

    Hello,

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

    We suggest you check the page again in the backend and make sure you’ve added the correct internal link URL there.

    If the issue persists then we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.

    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    Looking forward to helping you.

    Thank you.

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

The ticket ‘Redirect URLS’ is closed to new replies.