home page URL- structure & Redirection

#801449
  • Resolved Anonymous
    Rank Math free

    Dear Folks,
    sharing a case study so that get best solution for the same.
    My website’s home page e.g: https://abc.com/ is redirected (http 301) to https://abc.com/tn/ and in website, other urls structure is https://abc.com/tn/xyz or https://abc.com/tn/course/xyz.php
    When I checked log files and other details, home page last crawled by ~1 year ago. Also we use home page url in between the website. Now we want to remove (http 301) with (http 200) on website’s home page.

    What’s the best solution for this situation.
    Should I redirect /tn/ url to home page Now?
    Should I mark canonical to home page and alternate to /tn/ page.
    Should I use with Hreflang , (in future, we will go with other demographics as well.)
    Should all other urls need to be convert?
    Any other options ( plz specify)

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

    Thank you for sharing your case study regarding the redirection of your website’s home page. To address your concerns and find the best solution for your situation, here are some recommendations:

    1. Changing Redirection from 301 to 200:

      • If you want to remove the 301 redirection from your home page to http://example.com and switch it to a 200 status code, you can update the redirection rules in your .htaccess file. You can modify the existing redirection rule to achieve this. Here is an example of how you can adjust the redirection rule:
        RewriteEngine On
        RewriteRule ^$ /tn/ [L]
      • After updating the redirection rule, ensure to test it thoroughly to confirm that the home page is loading correctly with a 200 status code.
    2. Canonicalization and Alternate URLs:

      • You can set the canonical tag on the /tn/ page to point to the home page URL. This will help search engines understand the preferred version of the page.
      • Additionally, you can use alternate tags to specify the relationship between the /tn/ page and the home page. This can help search engines understand the connection between these pages.
    3. Hreflang Implementation:

      • If you plan to target different demographics in the future, implementing hreflang tags can help indicate to search engines which language or region-specific version of a page should be served to users in different locations.
    4. Conversion of Other URLs:

      • Depending on your website structure and SEO strategy, you may need to evaluate if other URLs need to be converted or updated based on the changes you are making to the home page redirection.
    5. Other Options:

      • Consider monitoring the impact of these changes on your website’s SEO performance and user experience.
      • Regularly check Google Search Console for any crawl errors or issues related to these changes.
      • If you have specific requirements or constraints, feel free to share more details so we can provide tailored recommendations.

    If you encounter any challenges during the implementation of these suggestions or need further assistance, please don’t hesitate to reach out. We are here to help!

    Best regards.

    Sources:
    Why Are Posts Redirecting to www or Non-www Incorrectly?
    301 vs 302 Redirect: Which One Should You Use? » Rank Math
    How to Redirect to URLs With Trailing Slash » Rank Math

    Hello,

    Thank you for contacting us and bringing your concern to our attention.

    Can you please confirm if the current redirection is set to the Rank Math plugin? If so, you can disable this from the Rank Math > Redirection and then clear your website cache.

    However, if the redirection is not set on the Rank Math, you can check your .htaccess file and if you find the redirection, please remove this.

    Hope that helps and please don’t hesitate to let us know if you have any other questions.
     
    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 ‘home page URL- structure & Redirection’ is closed to new replies.