View Full Version : domain works ONLY WITHOUT the "www." ???
ToddDuquette
01-18-2012, 02:00 AM
So, when I am logged in to my site (executionpk.com), whenever I reload the page to goto "www.executionpk.com" it logs me out, but I can still goto "executionpk.com" and it will keep me logged in? any clue why this is?
thecore762
01-18-2012, 02:23 AM
Go in AdminCP and change the following:
Site Name / URL / Contact Details
Make sure all the links have www.
Also you will have to edit this in htaccess.
Put this in.
RewriteEngine on
RewriteCond %{HTTP_HOST} ^executionpk.com$ [NC]
RewriteRule ^(.*)$ http://www.executionpk.com/$1 [R=301,L]
LifesGreatestGift
01-18-2012, 02:23 AM
Because www. is technically a subdomain
if you use apache, then view the following tutorial for redirecting non-www to www
or if you are used to non-www there is code for redirecting www to non-www
http://www.thesitewizard.com/apache/redirect-domain-www-subdomain.shtml
--------------- Added 1326857083 at 1326857083 ---------------
beat me to it ;)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.