: Why don't you just use .htaccess? Create a text file and copy and paste the following inside: # Force 'non-www' to 'www' RewriteEngine On RewriteCond %{HTTP_HOST} ^YOURDOMAIN.com [NC] RewriteRule
Why don't you just use .htaccess?
Create a text file and copy and paste the following inside:
# Force 'non-www' to 'www'
RewriteEngine On
RewriteCond %{HTTP_HOST} ^YOURDOMAIN.com [NC]
RewriteRule ^(.*)$ www.YOURDOMAIN.com/ [L,R=301]
rename it to ".htaccess"
upload it to your public_html folder where index.php is located
More posts by @Yeniel560
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.