Post by paloc » Tue Jun 06, 2017 1:15 am

Hello!
Ok, perhaps this is a strange question.
Under public_html, I have a folder agstore where my Opencart store lives.

The URL is https://www.store.anaheimgear.com

Do I need to make a special adjustment in .htaccess for this?

My .htaccess looks like this:
#Options +FollowSymlinks -Indexes -MultiViews

# Force SSL
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.store.anaheimgear.com/$1 [R,L]
RewriteCond %{HTTP_HOST} ^store.anaheimgear.com [NC]
RewriteRule ^(.*)$ https://www.store.anaheimgear.com/$1 [R,L]


# Prevent Direct Access to files
<FilesMatch "(?i)((\.tpl|\.ini|\.log|\.sql|(?<!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]

Blah blah blah

Thanks! (I have issues using SEO URLs, but this is my starting point for figuring it out.)

Newbie

Posts

Joined
Wed Mar 18, 2015 8:32 am
Who is online

Users browsing this forum: No registered users and 13 guests