Author |
Message |
zacklk
Regular


Joined: Mar 06, 2010
Posts: 79
|
Posted:
Wed Apr 07, 2010 11:52 pm |
|
i have a problem. lets say i have login to mysite. and i have login with the url www.mysite.com. then if i go to mysite.com (without www) im not loged in. and i can even login there as another user. plus search engine are indexing the site without prefix www. how can fix this problem. please help. thanks in advance. |
Last edited by zacklk on Thu Apr 08, 2010 4:37 am; edited 1 time in total |
|
|
 |
hicuxunicorniobestbuildpc
The Mouse Is Extension Of Arm

Joined: Aug 13, 2009
Posts: 1123
|
Posted:
Thu Apr 08, 2010 4:12 am |
|
You can do it yourself in CPanel or ask your hosting |
|
|
|
 |
spasticdonkey
RavenNuke(tm) Development Team

Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA
|
Posted:
Thu Apr 08, 2010 7:25 am |
|
Set
Force Nuke URL: yes
in NukeSentinel ACP
it will force the
Site URL:
you have set in ACP -> Preferences |
|
|
|
 |
zacklk

|
Posted:
Fri Apr 09, 2010 1:27 am |
|
Ok great. it work tnx a lot. |
|
|
|
 |
Susann
Moderator

Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support
|
Posted:
Fri Apr 09, 2010 10:27 am |
|
@zacklk would you please edit your title because "Have a problem.."
doesn´t reallyhelp if someone uses the search function to find a solution.
Thanks !
Btw: In Google webmastertools you can specify your main url. The version with www or without. |
|
|
|
 |
montego
Site Admin

Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Sun Apr 11, 2010 9:26 am |
|
I have also had periodic issues with using the Force Nuke URL feature... maybe those have been fixed over the years, but I prefer the advice of Susann more with regards to Google's webmaster tools. |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
 |
jlajax
Ardent RavenCMS Supporter

Joined: Oct 12, 2006
Posts: 244
Location: Jacksonville, Florida
|
Posted:
Thu Apr 17, 2014 10:30 am |
|
If you're hosting on a UNIX server.... I use .htaccess to force www.
Code:
# force www
RewriteEngine On
RewriteCond %{HTTP_HOST} ^somedomain.com/$
RewriteRule ^(.*)$ http://www.somedomain.com/$1 [R=301,L]
|
It works for me. I don't host on Windows servers so i can't say if it works on a windows server. |
|
|
|
 |
neralex
Site Admin

Joined: Aug 22, 2007
Posts: 1775
|
Posted:
Fri Apr 18, 2014 8:43 am |
|
jlajax, not needed because Nuke Sentinel is doing this without any changes in the htaccess file. Check the post of spasticdonkey in this thread! |
_________________ Only registered users can see links on this board! Get registered or login! |
|
|
 |
jlajax

|
Posted:
Fri Apr 18, 2014 9:51 am |
|
neralex wrote: | jlajax, not needed because Nuke Sentinel is doing this without any changes in the htaccess file. Check the post of spasticdonkey in this thread! |
Is that a switch in sentinal? I had not noticed that. I use RN as a backend for the clients who desire RN's awesome information management capabilities. I place key-worded php landing pages above RN that reel em in to the CMS. It is a method that has proven to be very productive for my end users. |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Sun Apr 20, 2014 10:52 am |
|
jlajax wrote: | If you're hosting on a UNIX server.... I use .htaccess to force www.
Code:
# force www
RewriteEngine On
RewriteCond %{HTTP_HOST} ^somedomain.com/$
RewriteRule ^(.*)$ http://www.somedomain.com/$1 [R=301,L]
|
It works for me. I don't host on Windows servers so i can't say if it works on a windows server. |
Ed,
Just as an fyi, it doesn't need to be *NIX (although that is the best!) but it does need to be using Apache web server or a derivative that uses .htaccess or allows a similar configuration. This method does NOT require the overhead of Sentinel although with today's hardware the overhead isn't an issue .
Btw, this is a 4 year old post . I corrected the title since we gave the original poster 4 years to correct it ! |
|
|
|
 |
jlajax

|
Posted:
Sun Apr 20, 2014 12:20 pm |
|
Hey G,
I saw that after I responded. It was something I thought I knew the answer to. I don't have to explain to any of you fine folks how much studying time is involved in remaining current and I know I lack in seceral areas. I also thought if anyone ever does a search it would make one more resource. One of the things I love about these forums & the Wiki is I have come here countless times and found answers simply buy searching the site and the Wiki.
 |
|
|
|
 |
|