When I goto
http://therlest.com/forum/ it displays all images and icons and works perfectly fine. When I goto
http://www.therlest.com/forum/, it only shows some icons and replaces the ones it cannot find with squares. Please help!
When adding www. not everything shows up and it's like a different site. I need to finish this asap thank you!
Sometimes this happens using the following:
www.yourdomain.com
yourdomain.com (non-www)
It's because the browser thinks there is a cross domain issue.
To fix it, create (or add to an already existing .htaccess file) an .htaccess file with the following and save:
<FilesMatch "\.(ttf|otf|eot|woff)$">
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
</FilesMatch>
Place .htaccess file in forum root.
It still doesnt seem to work :|
Redirect the www url permanently to non-www url with root .htaccess entry:
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
That also protects against Google duplicate content.
(2015-11-29, 06:05 PM)SvePu Wrote: [ -> ]Redirect the www url permanently to non-www url with root .htaccess entry:
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
That also protects against Google duplicate content.
This, use one or the other. There's really no need for both.