Domain not working without www


Domain not working without www, WordPress website or domain not working without www, its show Syntax Error, You need to small changes in .htaccess file.

Want to copy below code Click_Here

Simply Copy below code and paste its to your .htaccess file to solve Domain not working without www error.
RewriteEngine On
RewriteCond %{HTTP_HOST} ^your-domain\.com
RewriteRule (.*) https://www.your-domain.com/$1 [R=301,L]

Want to copy above code Click_Here

Replace your-domain.com with your website url. Now it’s working fine.

3 Responses


Leave a Reply