Support » Plugin: Simple Website Redirect » 301 on root not working on firefox/safari and mobile

  • Resolved jesuisnicolasdavid

    (@jesuisnicolasdavid)


    Hi,
    Trying to redirect an entire website from sarl-bmc.com to bmc-construction.co with exception on wp-admin and wp-login. It is working but with different behaviors between browsers for the root only.
    Can you help me understand what’s going on ?
    Many thanks

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

Viewing 1 replies (of 1 total)
  • Plugin Author Micah Wood

    (@wpscholar)

    @jesuisnicolasdavid Most likely, you tested a redirect and had to make a correction to the redirect. Unfortunately, browsers cache 301 (permanent) redirects and will continue to perform the same redirect despite any subsequent changes in the plugin. For more details, see https://wpscholar.com/blog/browser-caching-301-redirects/

    The best way to handle this is to set up a 302 (temporary) redirect while testing so your browser doesn’t cache these. This should give you a consistent redirect behavior and allow any changes you make to be testable. At the moment, you will need to clear your browser cache to get it to forget your previous 301 redirects.

Viewing 1 replies (of 1 total)
  • The topic ‘301 on root not working on firefox/safari and mobile’ is closed to new replies.