Tutorials: Configuring Your Evo Site


Description:

Easy guide on how to configure your site properly and to help avoid having issues in the long run.

- Video Tutorial


Version: 1.0
Added on: 11 January 2016
Author: coRpSE
Difficulty Level: Easy
Views: 328
Detailed Profile
Rate Resource

Configuring Your Evo Site



This code here is for your .htaccess file if you have more than one domain address, like me, we have headshotdomain.com and headshotdomain.net.



RewriteCond %{HTTP_HOST} ^YourSite.com$ [OR]

> RewriteCond %{HTTP_HOST} ^www.YourSite.com$ [OR]

RewriteCond %{HTTP_HOST} ^YourSite.net$

RewriteRule ^(.*)$ http://www.YourSite.net/$1 [R=301,L]


Just be sure that you change the "YourSite" to your actual URL.



 



Now, if you only have one domain, you just want this.



RewriteCond %{HTTP_HOST} ^YourSite.net$

RewriteRule ^(.*)$ http://www.YourSite.net/$1 [R=301,L]


Once you have that, save your .htaccess and put it on your site and then test your site.



 



Be sure to follow me on twitter: https://twitter.com/DreAdeDcoRpSE



If you have any questions, feel free to ask.

Tutorials ©