Welcome Guest, Not a member yet? Register   Sign In
Can't stop the redirect...
#1

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.
Reply


Messages In This Thread
Can't stop the redirect... - by skunkbad - 12-04-2019, 11:05 AM
RE: Can't stop the redirect... - by jreklund - 12-04-2019, 01:46 PM
RE: Can't stop the redirect... - by skunkbad - 12-04-2019, 02:31 PM



Theme © iAndrew 2016 - Forum software by © MyBB