cancel
Showing results for 
Search instead for 
Did you mean: 

magento CSS files not loading with https url

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

Re: magento CSS files not loading with https url

executed the query

Module rewrite already enabled

 

<IfModule mod_ssl.c>
	<VirtualHost _default_:443>
    	ServerName deals4u.co.il
    	ServerAlias www.deals4u.co.il
		DocumentRoot /var/www/html
        <Directory />
                Options FollowSymLinks
                AllowOverride All
        </Directory>

Re: magento CSS files not loading with https url

help anyone?? i am hopeless spend over 4 hours trying to solve this issue without any success.

Re: magento CSS files not loading with https url

Put below code in your pub/static/.htaccess file

 

 

<IfModule mod_rewrite.c> RewriteEngine On

RewriteBase /pub/static
# Remove signature of the static files that is used to overcome the browser cache
RewriteRule ^version.+?/(.+)$ $1 [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l

RewriteRule .* ../static.php?resource=$0 [L]

</IfModule>

 

if issue solved,Click Kudos & Accept as Solution

Re: magento CSS files not loading with https url

did not help...

Re: magento CSS files not loading with https url

hello,

 

did you allow the css file?

 

contact me please ravuriharikrishna94@gmail.com

Re: magento CSS files not loading with https url

If you are in base url, set in core_config_data table web/unsecure/base_url and web/secure/base_ur value /

 

Works for me.