Redirect from www to without www

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
kamaleon
Registered User
Posts: 378
Joined: Tue Sep 09, 2014 9:47 am

Redirect from www to without www

Post by kamaleon » Thu Sep 13, 2018 10:13 am

Hello,

How can I redirect all my URLs from www to without www?

Thank you

User avatar
JimA
Community Team Leader
Community Team Leader
Posts: 7418
Joined: Thu Jul 31, 2008 5:54 am
Location: The Netherlands
Name: Jim Mossing Holsteyn
Contact:

Re: Redirect from www to without www

Post by JimA » Thu Sep 13, 2018 10:19 am

Hi! I'm no expert on this stuff, but you can probably add this to your .htaccess file.

See a guide here: https://yoast.com/how-to-remove-www-from-your-url/
Image Jim Mossing Holsteyn - Community Team Leader
Knowledge Base | Documentation | Board rules

If you're having any questions about the rules/customs of this website, feel free to drop me a PM.

kamaleon
Registered User
Posts: 378
Joined: Tue Sep 09, 2014 9:47 am

Re: Redirect from www to without www

Post by kamaleon » Thu Sep 13, 2018 10:24 am

Awesome, will try it, I thought there was an option somewhere in the admin like in Wordpress.

User avatar
JimA
Community Team Leader
Community Team Leader
Posts: 7418
Joined: Thu Jul 31, 2008 5:54 am
Location: The Netherlands
Name: Jim Mossing Holsteyn
Contact:

Re: Redirect from www to without www

Post by JimA » Thu Sep 13, 2018 10:41 am

Nope, I'm quite sure this is not something we have in the ACP. Let us know how it turns out. :)
Image Jim Mossing Holsteyn - Community Team Leader
Knowledge Base | Documentation | Board rules

If you're having any questions about the rules/customs of this website, feel free to drop me a PM.

kamaleon
Registered User
Posts: 378
Joined: Tue Sep 09, 2014 9:47 am

Re: Redirect from www to without www

Post by kamaleon » Thu Sep 13, 2018 11:00 am

It works well, I just hope it won't break any cookies in phpBB or something similar... The cache or something...

User avatar
JimA
Community Team Leader
Community Team Leader
Posts: 7418
Joined: Thu Jul 31, 2008 5:54 am
Location: The Netherlands
Name: Jim Mossing Holsteyn
Contact:

Re: Redirect from www to without www

Post by JimA » Thu Sep 13, 2018 11:52 am

You should be fine as long as your cookie domain starts with a preceding dot (e.g. ".phpbb.com"). In that case it'll accept both.
Image Jim Mossing Holsteyn - Community Team Leader
Knowledge Base | Documentation | Board rules

If you're having any questions about the rules/customs of this website, feel free to drop me a PM.

Post Reply

Return to “[3.2.x] Support Forum”

Who is online

Users browsing this forum: bipolarmorgan, canonknipser, invenio, kamaleon, Mannix_, rommeltje, rxu, Skouat and 51 guests