So after much drama my site is backup
However a bunch of the links are brooke and the main domain (without www ie domain.com) goes to a root folder view
I would now like to force www on any url attempts that look like domain.com or domain.com/topic etc
I've changed by .htaccess file to do this but it doesn't seem to be working.Is it only the .htacces file that manages this? Do I have to do anything under /etc/apache2/sites-available?
However a bunch of the links are brooke and the main domain (without www ie domain.com) goes to a root folder view
I would now like to force www on any url attempts that look like domain.com or domain.com/topic etc
I've changed by .htaccess file to do this but it doesn't seem to be working.
Code:
# Redirect non-www to www:RewriteCond %{HTTP_HOST} ^.forum.com$ [NC]RewriteRule (.*) https://www.forum.com/$1 [L,R=301]
Statistics: Posted by LedricMedric — Fri Oct 11, 2024 10:53 am