Help! - Wordpress... when I put www. in, all pages redirect to main page??????

7 replies
  • WEB DESIGN
  • |
This is so strange! I have a wrodpress site, and lets take one page for example. when I type in the url for it without the www. it goes to the page just fine, BUT when I use the www. it just redirects back to the main homepage...

Can anyone please help?
#main #page #pages #put #redirect #wordpress #www
  • Profile picture of the author longblog
    Check your htaccess file. Wordpress may have put some sort of redirect for www in there. You will need to connect to your host directory with an ftp program to see the htaccess file.
    {{ DiscussionBoard.errors[8153140].message }}
  • Profile picture of the author Istvan Horvath
    Code:
    example.com
    and
    Code:
    www.example.com
    are NOT the same - those are 2 different addresses!

    You should always stick to only ONE and use it everywhere. Do not mess with those settings if you don't understand them
    Signature

    {{ DiscussionBoard.errors[8153161].message }}
  • Profile picture of the author Istvan Horvath
    The usual troubleshooting steps:
    - deactivate all plugins
    - revert back to the default (2011 or 2012) theme
    - check

    See what is in Settings > General in the 2 URL fields: update them according to your needs!
    Signature

    {{ DiscussionBoard.errors[8153498].message }}
  • Profile picture of the author vrtechnologies
    That was a htaccess file issue.
    {{ DiscussionBoard.errors[8153735].message }}
  • Profile picture of the author ColorVila
    Check your WordPress settings. Login to the control panel, navigate to Settings->General, check your site's url or wordpress' url. Add www. then save the change.
    {{ DiscussionBoard.errors[8154983].message }}

Trending Topics