• Hi,

    Preface. All the issues Im having are URLs that are the main domain URLs. All subdomain URLs work perfectly.

    I was looking for documentation on this but I couldnt find any. I seem to have some kind of redirect issue with https & going from a naked URL to a www. subdomain URL.

    Going from naked URL to a www. subdomain the redirect happens correctly, however instead of a 301 – redirect, the status code sent back is 200. Im not sure how or why. The easiset why I found to showcase the issue is through an iFrame. the same url in two separate iFrames one naked and one without.

    Check out the example, maybe its an issue with my config, Im not sure.

    Thanks

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author matthias.wagner

    (@matthiaswagner)

    hy!

    i don’t think that i completely understood what you are aiming to. but i guess it would be good to configure your apache server so that redirects from www to non-www (or vice versa, as you like) are done serverside already.

    please note that our plugin does not instantiate any redirections.

    here you have a good resource for that topic: https://ubiq.co/tech-blog/redirect-www-non-www-apache-htaccess/

    you can start with heading #4 where it says “Add the following lines in your htaccess file.”

    matt

    Thread Starter binaryfabric

    (@binaryfabric)

    My initial issue was thinking that the plugin was doing the redirect, I guess that it wrong I just saw this in the code since http/https and www/non-www are now handled in one line. I thought maybe there was some redirection happening.

    Maybe using the htaccess to redirect would be the quickest way to solve this. I just thought Id find the underlying issue.

    Ill try it out.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Issue with redirects, iFrames, etc.’ is closed to new replies.