non-www redirect problem
-
I have a weird redirect issue.
I have my blog set to redirect any https://www.domain.com requests to domain.com. Simple right? Okay, I also have a page created with a slug of “pets” so the correct URI is https://domain.com/pets
Now, if you visit the site using https://www.domain.com/pets you get redirected to https://domain.com/ and it drops the “pets” slug. Weird, but it gets even weirder.
I also have a 301 redirect in my htaccess:
Redirect 301 /dining /restaurants
SO, if you visit https://www.domain.com/dining you actually get redirected CORRECTLY to https://domain.com/restaurants
So I don’t get why the first redirect isn’t working. I don’t have it explicitly declared in the htaccess file because the old URI and the new URI are the same, sans www.
Thoughts, suggestions, advice?
- The topic ‘non-www redirect problem’ is closed to new replies.