Canonical URL via modrewrite

Is something wrong? Do you have any suggestions? Let us know.
User avatar
ross
Dies with sente
Posts: 92
Joined: Wed Apr 21, 2010 4:40 pm
Rank: DGS 9k
GD Posts: 1315
Location: シアトル
Has thanked: 24 times
Been thanked: 36 times

Re: Canonical URL via modrewrite

Post by ross »

Jordus wrote:Added the mod rewrite and changed cookie info. works for me. Anybody else?

Hint: be sure to clear cookies and restart browser first.

Doesn't work for me. I can still access both lifein19x19.com and www.lifein19x19.com and be logged in on one but not the other. In fact, I can't even log into www.lifein19x19.com any more—I can only log into lifein19x19.com. If I try to log into the www version, it just redirects me back to the login page.
User avatar
Jordus
Site Admin
Posts: 1125
Joined: Fri Dec 04, 2009 6:06 pm
Rank: KGS 9k
GD Posts: 0
Universal go server handle: Jordus
Location: Allegan, MI, USA
Has thanked: 16 times
Been thanked: 116 times
Contact:

Re: Canonical URL via modrewrite

Post by Jordus »

ross wrote:
Jordus wrote:Added the mod rewrite and changed cookie info. works for me. Anybody else?

Hint: be sure to clear cookies and restart browser first.

Doesn't work for me. I can still access both lifein19x19.com and http://www.lifein19x19.com and be logged in on one but not the other. In fact, I can't even log into http://www.lifein19x19.com any more—I can only log into lifein19x19.com. If I try to log into the www version, it just redirects me back to the login page.



Cookies issue. should be fixed. clear cache restart browser.
I'm thinking...
xed_over
Oza
Posts: 2264
Joined: Mon Apr 19, 2010 11:51 am
Has thanked: 1179 times
Been thanked: 553 times

Re: Canonical URL via modrewrite

Post by xed_over »

ross wrote:In fact, I can't even log into http://www.lifein19x19.com any more—I can only log into lifein19x19.com. If I try to log into the www version, it just redirects me back to the login page.

I can't login either ... it redirects back to login screen -- but if I click the board index page before it redirects, then I can get in.

edit: problem with nested quotes
User avatar
Jordus
Site Admin
Posts: 1125
Joined: Fri Dec 04, 2009 6:06 pm
Rank: KGS 9k
GD Posts: 0
Universal go server handle: Jordus
Location: Allegan, MI, USA
Has thanked: 16 times
Been thanked: 116 times
Contact:

Re: Canonical URL via modrewrite

Post by Jordus »

mod rewrite didnt work.

cookie settings change did,

however cookie settings change caused the login problem for some users.

back to the drawing board.
I'm thinking...
User avatar
Jordus
Site Admin
Posts: 1125
Joined: Fri Dec 04, 2009 6:06 pm
Rank: KGS 9k
GD Posts: 0
Universal go server handle: Jordus
Location: Allegan, MI, USA
Has thanked: 16 times
Been thanked: 116 times
Contact:

Re: Canonical URL via modrewrite

Post by Jordus »

gave it another try. there doesnt seem to be a login issue so far....
I'm thinking...
User avatar
schultz
Lives in gote
Posts: 505
Joined: Tue Apr 20, 2010 5:31 pm
GD Posts: 0
Location: Montana
Has thanked: 80 times
Been thanked: 62 times

Re: Canonical URL via modrewrite

Post by schultz »

So that's why I wasn't logged in...

And seems to work for me, for both links (www and sans-www).
KGS: schultz [?].
User avatar
ross
Dies with sente
Posts: 92
Joined: Wed Apr 21, 2010 4:40 pm
Rank: DGS 9k
GD Posts: 1315
Location: シアトル
Has thanked: 24 times
Been thanked: 36 times

Re: Canonical URL via modrewrite

Post by ross »

You're using GoDaddy for web hosting, right? The instructions I gave in the first post should work, according to their documentation:
http://help.godaddy.com/article/899

(You'll want to put the .htaccess file in the same place as your index.php for your welcome page.)
Post Reply