You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/11/04 03:35:07 UTC

[GitHub] [apisix-website] juzhiyuan opened a new issue #705: Prevent from 301 redirect when visit Apache APISIX's website

juzhiyuan opened a new issue #705:
URL: https://github.com/apache/apisix-website/issues/705


   **Actual Behaviour**
   
   Hi, when we visit one URL which does not end with `/`, our website will redirect us to a new URL that ends with `/`, after searching, I find that it's because the ASF's Apache Server returns a 301 status code.
   
   Why does this matter to us? Bcoz a 301 redirect will reduce SEO rank according to https://help.ahrefs.com/en/articles/2405181-3xx-redirect-in-sitemap-error-in-site-audit .
   
   I have submitted a ticket here https://issues.apache.org/jira/browse/INFRA-22482 , wait for Infra's reply.
   
   BTW, not only Apache APISIX's website is affected by this policy, Apache SkyWalking's website will return 301 too. cc @wu-sheng 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-website] juzhiyuan closed issue #705: Prevent from 301 redirect when visit Apache APISIX's website

Posted by GitBox <gi...@apache.org>.
juzhiyuan closed issue #705:
URL: https://github.com/apache/apisix-website/issues/705


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-website] juzhiyuan commented on issue #705: Prevent from 301 redirect when visit Apache APISIX's website

Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on issue #705:
URL: https://github.com/apache/apisix-website/issues/705#issuecomment-960429128


   If Infra cannot update its policy, we have to update our sitemap file[1], we need to update every link with a `/` ending.
   
   [1] https://apisix.apache.org/sitemap


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-website] juzhiyuan commented on issue #705: Prevent from 301 redirect when visit Apache APISIX's website

Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on issue #705:
URL: https://github.com/apache/apisix-website/issues/705#issuecomment-960478436


   The ticket above just gets updated, and if we want to prevent the extra 301, we need infra's help to modify .htaccess, I will update the generated sitemap.xml with an ending `/`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org