I have a weird redirect issue.
I have my blog set to redirect any http://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 http://domain.com/pets
Now, if you visit the site using http://www.domain.com/pets you get redirected to http://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 http://www.domain.com/dining you actually get redirected CORRECTLY to http://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?