-
-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warn on permanent redirects (301) #48
Comments
Just found the Typhoeus boolean option Can we extend the options to internal links? |
Make sure this is user-configurable so I can update my links which give 301's and 302's :) |
@parkr There are no real 301s and 302s for internal links, while we have static files sitting in the filesystem. There is no server here. I assume, that a link to |
301 and a 302 are HTTP response codes so without an HTTP connection, they're meaningless. So we'd have to spin up a local server. |
Your heuristic of "a link to |
@parkr This feature should work on Jekyll. This commit jekyll/jekyll@d7b5c40 is something you had done after you ran Proofer over the Jekyll docs. |
I did that because someone (maybe you?) said you were seeing the Moved Permanently and that they were bad for SEO. |
@parkr Yes, it was me who proposed the change. With the new feature Proofer would do the same. Sorry for bad description. |
The description for Apache’s |
Another citation from Yahoo’s Best Practices for Speeding Up Your Web Site:
|
Done in #49. |
Over the time external links get moved permanently, because nice guys don’t break the web. In most cases that means “the old url is deprecated, use the new url”. Can we have an option to output a warning on those links?There is another case: automatic server-side redirection, when people forget to add a trailing slash in their internal links. An example is Bootstrap’s main menu: they just list the lazy
/components
instead of the right/components/
. This causes a performance waste.The text was updated successfully, but these errors were encountered: