• Resolved rsspanic

    (@rsspanic)


    Hi, the plugin has worked perfectly for us now. Today I tried to redirect this stub:

    /down-under

    to some URL, and it simply won’t – it takes you instead to some random post on our site, and if I make that post “draft” (to see what happens) it just goes to the home page. I tried:

    1) downunder instead of down-under, this worked. (Yet in other redirects, it does allow hyphens)

    2) deleting the redirect and recreating

    3) shutting down the cache plugin (w3Cache) and testing the redirect

    4) Logging into MysQL to inspect the table “wp_options” and the record with the string “301_redirects” in “option_name”. There is a string there of all of our redirects. There is no existing record with “down-under” other than the one I created now, which doesn’t work (I though perhaps the table entry got corrupted or something and had some ghost entry from the past, but no)

    I am suspicious that maybe wordpress blocks “down-under” or more specifically any redirects that have “-under” in their alias, for some security reason (e.g. -under2 works), but then why does it redirect to some random post and not give an error?

    Any help appreciated

    Thanks

    https://www.ads-software.com/plugins/simple-301-redirects/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter rsspanic

    (@rsspanic)

    PS the plugin is “Simple 301 Redirects” 1.07

    Plugin Contributor Scott Nelle

    (@scottnelle)

    rsspanic It sounds like you’ve done a very thorough job of testing this so far. On my own site, I was able to create a redirect for /down-under without problems, so I’m pretty confused about what might be going on here. A few things worth checking:

    1) does a redirect for /down-under exist somewhere else in your site, possibly in your .htaccess file?
    2) Have a look at the results of entering https://your-site.com/down-under into https://web-sniffer.net/ and see if that gives you any clues.
    3) What is the URL you’re being redirected to? does it contain the word down or the word under in it? This could be the result of the WordPress canonical redirect feature gone wrong. That will try to guess the URL the user meant when they enter a nonexistent URL. Normally the plugin would check for redirects before this feature gets a chance to do its thing, but maybe the priorities got changed by another plugin or some code in your theme.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Redirect of URL stub "down-under" won't work’ is closed to new replies.