Author Topic: www or not www  (Read 9225 times)

0 Members and 1 Guest are viewing this topic.

Offline Zyga

  • Jr. Member
  • **
  • Posts: 87
    • View Profile
www or not www
« on: January 08, 2007, 05:31:42 PM »
After some modifications and update from 1.7.1 to 1.7.4....

When user put url with www. to the browser, and try to login whole gallery is reloaded but without www in url 
User must login second time (without www it works perfect).

Could someone give me a little tip or a solution?   :roll:

Offline honda2000

  • 4images Guru
  • *******
  • Posts: 3.263
    • View Profile
    • Wir machen Internet!
Re: www or not www
« Reply #1 on: January 08, 2007, 05:38:10 PM »
what`s your URL??

is the template (style) the original??

Offline trez

  • Hero Member
  • *****
  • Posts: 613
    • View Profile
    • blog / photography
Re: www or not www
« Reply #2 on: January 09, 2007, 12:18:19 AM »
F.e., you user logged in into www.example.com, but click's on http://example.com/member?blabla and must login again?
Normal issue, try it on other sites, is the same.

Offline CeJay

  • Sr. Member
  • ****
  • Posts: 425
    • View Profile
Re: www or not www
« Reply #3 on: January 09, 2007, 02:29:35 AM »
F.e., you user logged in into www.example.com, but click's on http://example.com/member?blabla and must login again?
Normal issue, try it on other sites, is the same.


I don't have that issue on my sites.

However I think it is a browser setting and nothing to do with 4images

Offline Zyga

  • Jr. Member
  • **
  • Posts: 87
    • View Profile
Re: www or not www
« Reply #4 on: January 17, 2007, 03:30:00 PM »
what`s your URL??

is the template (style) the original??

site is say10.pl
template is not original but it was build on original and it works before update to 1.7.4 (with winmerge)


F.e., you user logged in into www.example.com, but click's on http://example.com/member?blabla and must login again?
Normal issue, try it on other sites, is the same.


It's not normal.


I don't have that issue on my sites.

However I think it is a browser setting and nothing to do with 4images

Problem is on firefox and on IE
checked on 3 different machines

Offline trez

  • Hero Member
  • *****
  • Posts: 613
    • View Profile
    • blog / photography
Re: www or not www
« Reply #5 on: January 18, 2007, 12:38:11 PM »
I asked my programmer - it's a cookie problem

Offline Zyga

  • Jr. Member
  • **
  • Posts: 87
    • View Profile
Re: www or not www
« Reply #6 on: January 18, 2007, 03:57:54 PM »
I asked my programmer - it's a cookie problem

Not exactly cookie but with site reload i thing.

When I try login with www in url it creates cookie, but reload pages without www (user must login second time or just remove www from url)
When I try login without www everything is ok

Offline CeJay

  • Sr. Member
  • ****
  • Posts: 425
    • View Profile
Re: www or not www
« Reply #7 on: January 18, 2007, 08:09:24 PM »
make a redirect if anyone load the page with the www that it loads with out it.

Offline Zyga

  • Jr. Member
  • **
  • Posts: 87
    • View Profile
Re: www or not www
« Reply #8 on: March 25, 2007, 10:43:39 AM »
make a redirect if anyone load the page with the www that it loads with out it.

Code: [Select]
RewriteCond %{HTTP_HOST} ^www\.domainname\.pl*
RewriteRule (.*) http://domainname.pl%{REQUEST_URI} [R=301,L]

works :)