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: 5 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.
Hello,
Unfortunately GitHub Pages does not support HTTP (e.g. 301) redirections today.