2 different home pages... S.O.S need to fix quick!

Add a page (All Plug-Ins/HTML Code) in your project, set the folder as “/” so it goes to the same location as your homepage (index) file. I usually name this page htaccess.html

Add the following code (change YourSite to your actual domain). I say this only because I spent an hour trying to figure out why I couldn’t get something on my htaccess page to work, chatting back and forth with tech support :rofl: only to realize my mistake. I immediately took two days off :wink:

#Force non-www:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.YourSite.com [NC]
RewriteRule ^(.*)$ http://YourSite.com/$1 [L,R=301]

Log into your C-Panel and locate the htacess.html page and rename it to .htaccess and you should be all set. Or if you currently have a .htaccess page, add the lines of code.

You may have to change your settings in your C-Panel to view hidden (dot) files if you ever need to replace it.