Can't stop the redirect... |
Client asks me to log into their MOZ account and fix some issues that are being reported. One of the issues is named "Redirect Chain" and shows a URL like this:
https://example.com/a/b/"https://example.com/c/ When I follow that link, request headers show a 301 redirect to https://example.com/c/ So I tried to use mod rewrite and a 301 redirect of my own in .htaccess, but there is no way to stop the redirect. So then I tested it on an unrelated site. For instance: https://unrelated-domain.com/a/b/"https://unrelated-domain.com/c/ and sure enough, it redirects to https://unrelated-domain.com/c/ This is on an apache server if it matters. How does one deal with this? The issue was introduced when the client added a link to /c/ on their site but accidentally prepended theĀ URL with a double quote.
That link should be 410 gone
|
Welcome Guest, Not a member yet? Register Sign In |