• Resolved cybnex

    (@cybnex)


    I got some faulty incoming links with a trailing %22 after the URL and the plugin doesn’t recognize it nor correct it. I had to look at the server logs to see the %22 in the URL.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter cybnex

    (@cybnex)

    Heh, the trailing %20 disappeared from the title. Bobby tables situation

    • This reply was modified 2 years, 2 months ago by cybnex.
    Plugin Author Aaron

    (@aaron13100)

    Hey.

    Can you tell me what the expected behavior is and what’s actually happening? (ideally with examples)

    Thread Starter cybnex

    (@cybnex)

    At first I thought someone had made a faulty hyperlink that contained an extra space but thats %20 and not %22 which is “.

    You only need to add an extra space after the URL for the %20 to appear.

    Now I noticed that the yandex bot is accessing urls with added %19, %20 and %22 after the URLs so I’m not sure what the reason is.

    Well, it was a bit confusing that your plugin reported that a URL didn’t work even though it looked correct (%22 doesn’t show) and didn’t find the correct URL even though they were almost identical. It was only when I looked at the access.log that I saw there was %22 at the end of the URL…

    Plugin Author Aaron

    (@aaron13100)

    So if I understand the situation correctly, something is accessing a URL like https://yoursite.com/valid-url%22 and you expect it to forward to https://yoursite.com/valid-url

    Is that correct?

    If so please paste the pertinent parts of the log file to https://pastebin.com/, click “create new paste” at the bottom, and then paste the URL that’s created (something like https://pastebin.com/ABCdefg-etc) here.

    thanks

    Plugin Author Aaron

    (@aaron13100)

    If you could just paste the entire last page of the log file to pastebin actually, that would be great.

    Thread Starter cybnex

    (@cybnex)

    Yes.

    I don’t have the 404 solution debug log on.

    The problem can probably verified on another site with the plugin installed. Not sure how often these kinds of URLS pop up though…

    I wonder if some plugin, sitemap, indexnow, something like that is giving out faulty urls….

    184.174.72.128 184.174.72.128 – – [26/Sep/2022:17:11:56 +0300] “GET /ww3/russia-war-collective-west/%22 HTTP/1.1” 301 6085 “-” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:88.0) Gecko/20100101 Firefox/88.0”

    5.45.207.101 5.45.207.101 – – [26/Sep/2022:17:40:03 +0300] “GET /ww3/russia-war-collective-west/%20 HTTP/1.1” 301 6085 “-” “Mozilla/5.0 (compatible; YandexBot/3.0; +https://yandex.com/bots)”

    95.108.213.46 95.108.213.46 – – [26/Sep/2022:17:40:15 +0300] “GET /index%20 HTTP/1.1” 301 5263 “-” “Mozilla/5.0 (compatible; YandexBot/3.0; +https://yandex.com/bots)”

    87.250.224.41 87.250.224.41 – – [26/Sep/2022:17:41:09 +0300] “GET /index%19 HTTP/1.1” 301 5899 “-” “Mozilla/5.0 (compatible; YandexBot/3.0; +https://yandex.com/bots)”

    Plugin Author Aaron

    (@aaron13100)

    I can’t help without the debug log. You can turn in on in the settings under “Advanced Settings Etc” and then click Save at the bottom. If you could paste the log file after testing with debug logging on to pastebin.com then I can help. Otherwise there’s nothing I can do. Don’t paste the logs here as it’s too long.

    thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘not handling links with trailing’ is closed to new replies.