Forums

www is getting removed in my wordpress website (3 posts)

  1. himagarwal
    Member
    Posted 2 years ago #

    I have wordpress running in my local webhost, however the url does not shows up www. When I type http://www.domain.com www disappears. Is there a way I can do show up www. I know there is some way through htaccess file but can't find htaccess file in wordpress.

  2. Rev. Voodoo
    Volunteer Moderator
    Posted 2 years ago #

    you can make an .htaccess file (WP sets one up for you once you set pretty permalinks up)

    http://www.jhuskisson.com/code-tidbits/force-www-in-your-url-using-htaccess

  3. himagarwal
    Member
    Posted 2 years ago #

    Thanks RVoodoo but now http://www.domain.com is redirecting to domain.com and domain.com is redirecting to http://www.domain.com. As a result none of the pages are opening and firefox shows "The page isn't redirecting properly"

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.