Post by rmerydith12 » Wed Jul 19, 2017 11:40 pm

Edited to remove base file info
Last edited by rmerydith12 on Tue Aug 08, 2017 12:06 am, edited 1 time in total.

Newbie

Posts

Joined
Wed Jul 19, 2017 11:38 pm

Post by IP_CAM » Fri Jul 21, 2017 7:51 am

You cannot change this, FontAwesome Pic's only work, if the linking
matches the config.php - declared HTTP - Link.
You can only make sure, that ANY Sitecall will be rerouted correctly.
To achieve such, in your .htaccess file, add after this:

# If your opencart installation does not run on the main web folder,
# make sure you folder it does run in ie. / becomes /shop/
RewriteBase /shop/

(at least, if your OC Directory is called shop/ !!)

this code, rerouting any other than www .yourshop call to www .yourshop.

Code: Select all

# Force (HTTP host) non www to www - unquote the 2 lines
# valid for your setup - if you use HTTP Linking - set ACTIVE NOW !
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

# Force (HTTPS host) non www to www - unquote the 2 lines
# valid for your setup if you use HTTPS Linking - set INACTIVE NOW !
#RewriteCond %{HTTPS_HOST} !^www\.
#RewriteRule ^(.*)$ https://www.%{HTTPS_HOST}/$1 [R=301,L]]
just before this Line:
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L
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.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 212 guests