Use 301 redirect to preserve SEO (Google ranking) in Github Pages #22407
-
We have a few urls that rank high on Google (ranking which took 10+ years to get), for example: However, when we would make this change, we would loose all Google ranking, unless we redirect. Now there are 2 ways to redirect:
Does GitHub Pages support a 301 redirect? |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments
-
Hello, Unfortunately GitHub Pages does not support HTTP (e.g. 301) redirections today. |
Beta Was this translation helpful? Give feedback.
-
GitHub, can you please add support for URL rewrites in a safe way? GitHub pages for single page apps (SPAs) without pre-generated HTML pages is really bad: the only way to do it is to redirect to a |
Beta Was this translation helpful? Give feedback.
-
Hi @ge0ffrey did you ever manage to solve this? I'm having the same problem sadly.. |
Beta Was this translation helpful? Give feedback.
-
Would replacing the file with a symlink to the new location and a |
Beta Was this translation helpful? Give feedback.
-
Guys is there any update on this. Any other method to achieve this.? |
Beta Was this translation helpful? Give feedback.
-
This really sucks |
Beta Was this translation helpful? Give feedback.
-
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
Hello,
Unfortunately GitHub Pages does not support HTTP (e.g. 301) redirections today.