Images / CSS fail to load when using www version of site.
Author: admin admin Reference Number: AA-00418 Views: 12442 Created: 2015-10-14 10:11 Last Updated: 2015-10-14 10:13 0 Rating/ Voters

This can be caused by the web browser 'single origin policy' please try adding the following .htaccess rules  at the top of a file called .htaccess in the htdocs folder for the domain

#Force non-www:

RewriteEngine On
RewriteCond %{HTTP_HOST} www.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]

Quick Jump Menu