2 replies [Last post]
chum's picture
Offline
Joined: 02/27/2009
Juice: 151
Was this information Helpful?

An admin is at http://www.domain.com/node/9/edit?destination=admin%2Fcontent%2Fnode and creates/edits a content page.

Once the page is created/updated, the admin is brought to http://domain.com/admin/content/node

Note that upon submitting, the URL no longer contains www.

Why does this happen on my site? Is there somewhere in the admin section that allows me to specify that all pages should load with www in the URL?

Thanks,
Chum

torgosPizza's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.
Joined: 08/14/2007
Juice: 4110
Re: Why does www get removed from the URL?

It's a setting in your .htaccess file, which is located in the webroot. There is a section dedicated to forwarding all requests to the "www" or "non-www" URL. You can uncomment (and change the URL) for whichever method you'd like, and then save the .htaccess file for the changes to take effect.

--
Help directly fund development: Donate via PayPal!

chum's picture
Offline
Joined: 02/27/2009
Juice: 151
Re: Why does www get removed from the URL?

Thanks. I ended up doing this as what I thought was a workaround, not expecting it to be the 'real' solution.

Chum