look http://www.blimurah.com/desktops/pc
http://s10.postimg.org/5djueg6s9/withou ... _works.png
but when im installed ssl on my hosting it cant load compelete. Its like .css wont load in ssl mode
https://www.gamio.web.id/desktops/pc
http://s22.postimg.org/gomoisxlt/seo_ssl_not_work.png
but thats became strange when in category i click Show All Desktop in Desktop menu
https://www.gamio.web.id/desktops
http://s27.postimg.org/eldvcuhqb/132.png
Sry for my bad language
This is CSS from https://www.gamio.web.id/desktops
https://www.gamio.web.id/catalog/view/j ... ap.min.css
This is CSS from https://www.gamio.web.id/desktops/mac
https://www.gamio.web.id/desktops/catal ... ap.min.css
I don't' know why the site trying to load CSS and JS from https://www.gamio.web.id/desktops/ and not https://www.gamio.web.id/
https://www.gamio.web.id/index.php?rout ... path=20_26
this version is standard with standard ext
._.
May i look ur link store?daniGo wrote:On my store i set seo to all urls and all working fine CSS and JS. I don't know why this happen on your store. Try look in .htaccess settings or maybe server settings.
._.
This my htaccess code
Code: Select all
# 1.To use URL Alias you need to be running apache with mod_rewrite enabled.
# 2. In your opencart directory rename htaccess.txt to .htaccess.
# For any support issues please visit: http://www.opencart.com
Options +FollowSymlinks
# Prevent Directoy listing
Options -Indexes
# Prevent Direct Access to files
<FilesMatch "(?i)((\.tpl|\.ini|\.log|(?<!robots)\.txt))">
Order deny,allow
Deny from all
</FilesMatch>
# SEO URL Settings
RewriteEngine On
# If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/
RewriteBase /
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
RewriteRule ^system/download/(.*) index.php?route=error/not_found [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
### Additional Settings that may need to be enabled for some servers
### Uncomment the commands by removing the # sign in front of it.
### If you get an "Internal Server Error 500" after enabling any of the following settings, restore the # as this means your host doesn't allow that.
# 1. If your cart only allows you to add one item at a time, it is possible register_globals is on. This may work to disable it:
# php_flag register_globals off
# 2. If your cart has magic quotes enabled, This may work to disable it:
# php_flag magic_quotes_gpc Off
# 3. Set max upload file size. Most hosts will limit this and not allow it to be overridden but you can try
# php_value upload_max_filesize 999M
# 4. set max post size. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
# php_value post_max_size 999M
# 5. set max time script can take. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
# php_value max_execution_time 200
# 6. set max time for input to be recieved. Uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
# php_value max_input_time 200
# 7. disable open_basedir limitations
# php_admin_value open_basedir none
NEVER take serious; anyone who gives negative impact statements with no ABSOLUTE proof!
OpenCart Helpful Information * Upgrade 1.5 to 2.1 * Upgrade 2.1 to 2.2
"Why do people NEVER have enough time to do it right but ALWAYS enough time to do it over?"
DO NOT EVER GIVE SOMEONE YOU DON"T KNOW ADMIN ACCESS TO ANYTHING!
I am NOT affiliated with OpenCart
Open catalog/controller/startup/startup.php
and after
$this->config->set('config_url', HTTP_SERVER);
add
$this->config->set('config_ssl', HTTPS_SERVER);
Confirm. The last solution works on OpenCart 2.2 with ssl and seo url enabled.
$this->config->set('config_ssl', HTTPS_SERVER); at the sturtup.php file but nothing changed.
My website is canvas-shop.gr. Fore example:
http://canvas-shop.gr/subjects/modern-art/ works
https://canvas-shop.gr/subjects/modern-art/ does not work
https://canvas-shop.gr/subjects works
https://canvas-shop.gr/subjects/ does not work
It is driving me crazy. Because i was thinking to run https on every page.
Running SSL on EVERY Page is the way to go. Google is thinking of penalizing sites that are not totally HTTPS. It is also bad for customer confidence not to be totally HTTPS. SSL is meant to work on your whole site not part of it. You need code changes to administer SSL. You need to change your .htaccess and OpenCart software.
NEVER take serious; anyone who gives negative impact statements with no ABSOLUTE proof!
OpenCart Helpful Information * Upgrade 1.5 to 2.1 * Upgrade 2.1 to 2.2
"Why do people NEVER have enough time to do it right but ALWAYS enough time to do it over?"
DO NOT EVER GIVE SOMEONE YOU DON"T KNOW ADMIN ACCESS TO ANYTHING!
I am NOT affiliated with OpenCart
Give this a try in your .htaccess file and then update both config files for SSL.stagosal wrote:Hello i have installed an SSL certificate on opencart 2.2.0. I finaly have manage do get everything working. Even if i enabled ssl from the admin settings the checkout page was not on https. THe only problem i encounter is that at other pages when https:// is enabled the subdirectoris on SEO urls does not display images or css. I have tried everything. i added
$this->config->set('config_ssl', HTTPS_SERVER); at the sturtup.php file but nothing changed.
My website is canvas-shop.gr. Fore example:
http://canvas-shop.gr/subjects/modern-art/ works
https://canvas-shop.gr/subjects/modern-art/ does not work
https://canvas-shop.gr/subjects works
https://canvas-shop.gr/subjects/ does not work
It is driving me crazy. Because i was thinking to run https on every page.
http://stackoverflow.com/questions/2141 ... h-from-url
Opencart Hosting Plans, Domain Registration, Microsoft and Google Email and More
Visit our website for great deals and most importantly, fast and friendly support - www.evolvewebhost.com
A directory link works ex. https://canvas-shop.gr/subjects
But all directories from that point do not load the css and images. https://canvas-shop.gr/subjects/modern-art
Try it out.
No css is not loaded with 404 error:
As you can see it adds "/subjects/modern-art/" before "/catalog/view/........"https://canvas-shop.gr/subjects/modern- ... ?j2v=2.7.1 Failed to load resource: the server responded with a status of 404 ()
The correct filepath of the css should be "https://canvas-shop.gr/catalog/view/the ... ?j2v=2.7.1"
Attachments
error.jpg (102.09 KiB) Viewed 8013 times
https://www.opencart.com/index.php?rout ... n_id=26740
and here:
http://www.fastcomet.com/tutorials/opencart2/enable-ssl
so, you possibly find a valid answer on this...
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.
Your solution, this row of code gave an end to two days of absolute frustration for me.
Thank you!!!
Users browsing this forum: No registered users and 64 guests