Redirect www.otw20.com to otw20.com

Post Reply
User avatar
Morality124
Global Moderator
Posts: 354
Joined: Fri Dec 18, 2020 9:29 pm

Redirect www.otw20.com to otw20.com

Post by Morality124 »

Right now www.otw20.com is treated separate from otw20.com, to the point that there are separate cookies and site settings for both. The www subdomain should redirect to otw20.com instead.
"Put your message in a modem and throw it in the cyber sea."
User avatar
antae
Bride Kidnapping Expert
Posts: 304
Joined: Sat Dec 19, 2020 8:49 am

Re: Redirect www.otw20.com to otw20.com

Post by antae »

IMO it makes sense with cookies, and possibly for ease certificate management, but that's all. The game with SEO improvements is not worth a candle. Google will never let a tangible amount of targeted traffic to be landed on the site for free. All Google wants is a real money. And all the Google's paid ads do is to drive a lot of unneeded traffic to exhaust the budget asap.
Anyway, for historic purposes, https://otw20.com/viewtopic.php?f=52&t=64
The fastest speed of a caravan is the speed of the slowest camel.
User avatar
Morality124
Global Moderator
Posts: 354
Joined: Fri Dec 18, 2020 9:29 pm

Re: Redirect www.otw20.com to otw20.com

Post by Morality124 »

Heh, wasn't even thinking about the SEO side of things... more just confusion after browsing to it and finding I was no longer logged in.
"Put your message in a modem and throw it in the cyber sea."
User avatar
cokey
Extreme Unicyclist
Posts: 1527
Joined: Thu Dec 17, 2020 11:24 pm
Location: UK

Re: Redirect www.otw20.com to otw20.com

Post by cokey »

done

Code: Select all

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.otw20\.com [NC]
RewriteRule ^(.*)$ http://otw20.com/$1 [L,R=301]
</IfModule>
User avatar
Morality124
Global Moderator
Posts: 354
Joined: Fri Dec 18, 2020 9:29 pm

Re: Redirect www.otw20.com to otw20.com

Post by Morality124 »

cokey wrote: Tue Mar 02, 2021 8:21 am done

Code: Select all

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.otw20\.com [NC]
RewriteRule ^(.*)$ http://otw20.com/$1 [L,R=301]
</IfModule>
Do you have to restart? I'm still able to browse to the www subdomain.
"Put your message in a modem and throw it in the cyber sea."
User avatar
cokey
Extreme Unicyclist
Posts: 1527
Joined: Thu Dec 17, 2020 11:24 pm
Location: UK

Re: Redirect www.otw20.com to otw20.com

Post by cokey »

Oh ffs. Just seen this. I'll do it when I get back. I already had to change it once to https://
User avatar
Morality124
Global Moderator
Posts: 354
Joined: Fri Dec 18, 2020 9:29 pm

Re: Redirect www.otw20.com to otw20.com

Post by Morality124 »

cokey wrote: Tue Mar 02, 2021 3:59 pm Oh ffs. Just seen this. I'll do it when I get back. I already had to change it once to https://
Still broken.
"Put your message in a modem and throw it in the cyber sea."
User avatar
Henry Crunn
Site Admin
Posts: 395
Joined: Fri Dec 18, 2020 2:04 pm
Location: 56N 3W

Re: Redirect www.otw20.com to otw20.com

Post by Henry Crunn »

That's OK, you can keep the pieces.
--
You can't get the wood.
You can't get the 'shiver me timbers' wood' you know.
Post Reply