Hello ,
I am migrating my website from localhost to server but their are some problem.The css not apply on live server.
i didnt get what to do if anyone know please tell me.i attached screenshot of that see..
I am migrating my website from localhost to server but their are some problem.The css not apply on live server.
i didnt get what to do if anyone know please tell me.i attached screenshot of that see..
Attachments
cartt.png (358.04 KiB) Viewed 1675 times
Just check whether the css refers to a localhost location by mistake ?pritamkumbhar wrote: ↑Fri May 19, 2017 1:39 pmHello ,
I am migrating my website from localhost to server but their are some problem.The css not apply on live server.
i didnt get what to do if anyone know please tell me.i attached screenshot of that see..
Chris, Opencart Developers and Programmers,
Opencart Developers Opencart Programmers
https://www.chrisranjana.com
I believe it is more to do with SSL
The document is linking to http in the head for the base href and stylesheets which are getting blocked by the browser when trying to server the site over SSL
The document is linking to http in the head for the base href and stylesheets which are getting blocked by the browser when trying to server the site over SSL
Please link to the website ...
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
it means, that your config.php files contain incorrect Links,
and they should better look like:
------
ROOT:
-----
-----
ADMIN:
-----
to make it work.
---
IN ADDITION, you should use a Routine in your .htaccess File, to make sure,
all URL Calls like http://yoursite or https://yoursite are redirected correctly to
https://www.yoursite, like the Routines shown below, in order to also make various Things,
like Fontawesome ICONS and Glyphicons, work with OC Bootstrap Themes!
It would be placed just BELOW the existing REWRITE COMMAND LINE:
RewriteEngine On:
RIGHT HERE, and THIS:
AND FOLLOWED BY the already existing:
Untested, just guessing. Good Luck
Ernie
I attached a zip File, containing some goodies, for multiple OC Versions,
to make OC HTTPS, where it cannot be made, by default !
it may be of help!
and they should better look like:
------
ROOT:
-----
Code: Select all
<?php
// HTTP
define('HTTP_SERVER', 'https://www.cartridgewala.com/');
// HTTPS
define('HTTPS_SERVER', 'https://www.cartridgewala.com/');
ADMIN:
-----
Code: Select all
<?php
// HTTP
define('HTTP_SERVER', 'https://www.cartridgewala.com/admin/');
define('HTTP_CATALOG', 'https://www.cartridgewala.com/');
define('HTTP_IMAGE', 'https://www.cartridgewala.com/image/');
// HTTPS
define('HTTPS_SERVER', 'https://www.cartridgewala.com/admin/');
define('HTTPS_CATALOG', 'https://www.cartridgewala.com/');
define('HTTPS_IMAGE', 'https://www.cartridgewala.com/image/');
---
IN ADDITION, you should use a Routine in your .htaccess File, to make sure,
all URL Calls like http://yoursite or https://yoursite are redirected correctly to
https://www.yoursite, like the Routines shown below, in order to also make various Things,
like Fontawesome ICONS and Glyphicons, work with OC Bootstrap Themes!
It would be placed just BELOW the existing REWRITE COMMAND LINE:
RewriteEngine On:
Code: Select all
# SEO URL Settings
RewriteEngine On
Code: Select all
#Force (http host) non www to www (optional)
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]
#Force (https host) non www to www (optional)
RewriteCond %{HTTPS} on
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]
Code: Select all
RewriteBase /
Ernie
I attached a zip File, containing some goodies, for multiple OC Versions,
to make OC HTTPS, where it cannot be made, by default !
it may be of help!
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
hello friend,
Now css working
but the product images not display...please check and tell me what wrong in my path...
Now css working
but the product images not display...please check and tell me what wrong in my path...
Hello,
Please try this trick:
Login to backend and go to setting section.
off seo url and save the setting.
Then again on the seo url.
Please try this trick:
Login to backend and go to setting section.
off seo url and save the setting.
Then again on the seo url.
Best Regards
Harry Kumar
hkdev1987@gmail.com
skype : hk.dev
well, some images are visible in your Shop, and some not, but I don't know why,
there must be some other MISSES somewhere, I assume. And I cannot find
your ADMIN Section anymore, so, you must have changed other things as well:
https://www.cartridgewala.com/admin
Good Luck!
Ernie
---
there must be some other MISSES somewhere, I assume. And I cannot find
your ADMIN Section anymore, so, you must have changed other things as well:
https://www.cartridgewala.com/admin
Good Luck!
Ernie
---
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Who is online
Users browsing this forum: No registered users and 177 guests