Menu

Topic-icon Redirecting without www

  • Łukasz
  • Łukasz's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
6 months 5 days ago #6662 by Łukasz
Redirecting without www was created by Łukasz
Can you also add the option of choosing a redirect without www.

Please Log in or Create an account to join the conversation.

More
6 months 5 days ago #6663 by Jose
Replied by Jose on topic Redirecting without www
Hi Łukasz,

Can you post an example, please?

Regards,
Jose

Please Log in or Create an account to join the conversation.

  • Łukasz
  • Łukasz's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
6 months 5 days ago #6664 by Łukasz
Replied by Łukasz on topic Redirecting without www
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.(.*)$ [NC]
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]

Please Log in or Create an account to join the conversation.

More
6 months 5 days ago #6669 by Jose
Replied by Jose on topic Redirecting without www
Ok, got it. Will try to add it in the next version.

Regards,
Jose

Please Log in or Create an account to join the conversation.

Time to create page: 0.064 seconds
Powered by Kunena Forum

Login or Sign In