• Resolved willmaginn

    (@willmaginn)


    Hey,

    We have a geocentric React site, with the code being hosted in the US, and a WordPress instance also in the US (the redirection plugin is used there). The target URL by design will return a http code of 404 if your request comes from the US.

    I am not sure if this is the case, but it looks like the redirects won’t work if the external URL gives back a 404? There doesn’t appear to be a way to allow the external url to handle the 404?

    I tried to get around this by using a query string to the target URL which will load the page even if you are not in the correct geocentric location, but still a 404.

    Do you have a suggestion for how we could handle this?

    • This topic was modified 3 years, 8 months ago by willmaginn.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter willmaginn

    (@willmaginn)

    Ah I think I might have missed something fundamental.

    It looks like if a page doesn’t exist with WP for a redirect then you need to also change the match to include WordPress page type for which 404 is supported.

    And now I have the desired functionality, sorry not realising this before posting.

    Plugin Author John Godley

    (@johnny5)

    I’m not really sure I understand. A page doesnt need to exist for a redirect, and a redirect doesn’t care if the target exist.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Geocentric websites redirects’ is closed to new replies.