• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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:


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:


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.

What do you want to happen when the user clicks that malformed url?

That link should be 410 gone

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.