Viewing Single Post
Put in your .htaccess this:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^yourdomain.com [NC]
RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [L,R=301]
1. Change yourdomain with your domain.
2. This is for non-www to www
3. The .htaccess must be in your site root directory.
4. .htaccess is a file not a command :D
5. If is not already present in your site root directory, you can create it manually via FTP and edit it (put the code from above)
Thank you so much! I have the htaccess made from the system for the short euros option hehe
Sorry for strange words, my tablet change words as it like sighs
Last update on February 11, 2016 by Piero.
Be the first person to like this.