WordPress address URL keeps dropping the www

My WordPress Address (URL) in general settings keeps losing the www from the URL – I type in http://www.domain.com and it saves and works fine.

Next time I go in the address has changed to http://domain.com. So again I change it, I get logged out and I log back in and it looks fine until next time and it has changed again.

This is the only setting which changes (site address keeps the www) and I have checked my htaccess and cannot see anything untoward and there are no parked domains etc – any idea what could be causing this?

Most of the time it doesn’t cause any issues but sometimes when I visit the site it defaults to the non www version which could be detrimental to SEO as well as it affects my SSL for some secure pages as I only have the SSL for www.domain.com so I would like to fix it if I can.

2 Answers
2

Ensure that you haven’t defined it in your wp-config.php

http://codex.wordpress.org/Changing_The_Site_URL#Edit_wp-config.php

Leave a Comment