The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

non-www redirect problem (1 post)

  1. croakingtoad
    Posted 6 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic