• Hi John,

    This seems to be some kind of bug. I have the latest WordPress installation and the Redirection plugin is also updated. All redirections are working except ‘Redirect To Random Post’. It is very strange and I can’t seem to figure out the problem. I have a bit technical knowledge. Kindly add /surprise or /abc to the url shared. Instead of redirecting to a random post, it returns the 404 page.

    Already tried these things, but nothing helped:

    – updating to latest version
    – disabling and enabling plugin
    – adding new random post redirections
    – tried all – 301, 302, 307, 308
    – all other redirection types work
    – clearing cache (no caching thru server side, also no cache plugin on site)
    – checked on https://www.redirect-checker.org

    >>> https://www.syob.co/surprise
    
    > --------------------------------------------
    > 404 Not Found
    > --------------------------------------------
    
    Status:	404 Not Found
    Code:	404
    Server:	nginx
    Date:	Sat, 19 Aug 2017 15:49:07 GMT
    Content-Type:	text/html; charset=UTF-8
    Connection:	close
    Pragma:	no-cache
    Expires:	Wed, 11 Jan 1984 05:00:00 GMT
    Cache-Control:	no-cache, must-revalidate, max-age=0
    Link:	<https://www.syob.co/wp-json/>; rel="https://api.w.org/"
    Set-Cookie:	PHPSESSID=d1575d585a2e0262b536838f3e37b336; path=/; domain=.syob.co
    Host-Header:	192fc2e7e50945beb8231a492d6a8024
    

    Additionally, it used to work before the last few updates (not on the same URL though, but the setup was same – as in the theme and plugins). So I don’t think there’s any conflict with a theme or plugin. Also, the old version (v2.5) works smoothly on my other WordPress site. So the problem began after last few updates only.

    Kindly help out please, or I might have to return to an old version. ??

    Many thanks.

    • This topic was modified 7 years, 3 months ago by WPgeeks.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Redirect To Random Post Not Working’ is closed to new replies.