AbanteCart Community
Shopping Cart Operations => Support => General Support => Topic started by: scorpbond on September 03, 2017, 04:37:53 AM
-
Hi,
I have main store name https://www.blackpantherinternational.com/ Now I created New Store in same Admin of (blackpantherinternational.com) Also configured the New store (thequeen.in) in its Admin section. I also added the Ad On domain(thequeen) to the same root directory of (blackpantherinternational.com) still unable to open the new store frontend. whenever try to open thequeen.in Its redirecting to blackpantherinternational.com I have not added subdomain as I want to use different domain for new store (thequeen.in) But the queen is as subdomain to my primary domain name scorpbond.com
cPanel Ad On domain settings. http://prntscr.com/gggohs
cPanel sub domain settings. http://prntscr.com/gggpn5
Help me to locate the New store front end.
-
Hello.
Go to AbanteCart admin settings, select New store, click Edit button and make sure status is ON
-
Hello.
Go to AbanteCart admin settings, select New store, click Edit button and make sure status is ON
Hi,
I tried enabling the Secure Store URL (https://www.thequeen.in/) then it starts loading but only with https:// with when we try using www.thequeen.in OR http://www.thequeen.in its opening the main store (https://www.blackpantherinternational.com/)
The Queen Admin: http://prntscr.com/gh7bve
Store status is ON : http://prntscr.com/gh7cw6
Try opening the provided url to cross check.
-
Do you have any redirect set in your htaccess file?
-
Do you have any redirect set in your htaccess file?
Hi,
Below is my .htaccess file code. I don't think so i redirected it manually. Also please check in cPannel settings if any. Also when I click on any product is also opening under main store which is (https://www.blackpantherinternational.com/) not in New store (www.thequeen.in/). Do we need to add some extra code in .htaccess for New Store (www.thequeen.in/) ?
cPanel Ad On domain settings. http://prntscr.com/gggohs
cPanel sub domain settings. http://prntscr.com/gggpn5
My error log is also showing Some Warning:
2017-09-05 9:21:29 - App Warning: AbanteCart core v.1.2.10 Warning: Accessing store with non-configured or unknown domain ( 192.163.193.248/ ).
Check setting of your store domain URL in System Settings . Loading default store configuration for now. in /home/public_html/blackpantherinternational.com/core/lib/config.php on line 184
----------------------------Please tell me if .htaccess code is perfect for site optimization or req. any change ------------------------
# 1. To use URL Aliases you need to be running apache with mod_rewrite enabled.
# 2. In your abantecart main directory rename file htaccess.txt to .htaccess
# 3. Edit file .htaccess. If abantecart is installed in yourdomain/ subfolder change configuration line RewriteBase / to RewriteBase /subfolder/.
# Example: yourdomain.com/store use RewriteBase /store/
# Important to have / at the end of the line.
# 4. if htaccess and mode_rewrite still does not works - check and set apache2 webserver directive AllowOverride All for your virtual hosts
# For any support issues please visit: http://forum.abantecart.com
Options +FollowSymlinks
# Prevent Directoy listing
Options -Indexes
# Prevent Direct Access to files
<FilesMatch "\.tpl">
Order deny,allow
Deny from all
</FilesMatch>
# Rewrite section for retina high-res images with @2x in the end of filename base on cookie HTTP_IS_RETINA
# To emulate Retina mode on your NON-Retina display, add HTTP_IS_RETINA cookie in your browser
RewriteEngine on
RewriteCond %{HTTP_COOKIE} HTTP_IS_RETINA [NC]
RewriteCond %{REQUEST_FILENAME} !@2x
RewriteRule ^(.*)\.(gif|jpg|png)$ $1@2x.$2
# if @2x isn't available fulfill the original request
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)@2x\.(gif|jpg|png)$ $1.$2
# SEO URL Settings
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\?*$ index.php?_route_=$1 [L,QSA]
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.blackpantherinternational.com/$1 [R,L]
<IfModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</IfModule>
# Enable Compression
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
AddOutputFilterByType DEFLATE application/x-font
AddOutputFilterByType DEFLATE application/x-font-opentype
AddOutputFilterByType DEFLATE application/x-font-otf
AddOutputFilterByType DEFLATE application/x-font-truetype
AddOutputFilterByType DEFLATE application/x-font-ttf
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE font/opentype
AddOutputFilterByType DEFLATE font/otf
AddOutputFilterByType DEFLATE font/ttf
AddOutputFilterByType DEFLATE image/svg+xml
AddOutputFilterByType DEFLATE image/x-icon
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE text/plain
</IfModule>
# Leverage Browser Caching
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType text/html "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 1 month"
</IfModule>
<IfModule mod_headers.c>
Header set Connection keep-alive
<filesmatch "\.(ico|flv|jpg|jpeg|png|gif|css|swf)$">
Header set Cache-Control "max-age=2678400, public"
</filesmatch>
<filesmatch "\.(html|htm)$">
Header set Cache-Control "max-age=7200, private, must-revalidate"
</filesmatch>
<filesmatch "\.(pdf)$">
Header set Cache-Control "max-age=86400, public"
</filesmatch>
<filesmatch "\.(js)$">
Header set Cache-Control "max-age=2678400, private"
</filesmatch>
</IfModule>
# BEGIN cPanel-generated php ini directives, do not edit
# Manual editing of this file may result in unexpected behavior.
# To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
# For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
<IfModule php7_module>
php_value output_buffering 4096
php_value default_charset "UTF-8;"
php_value memory_limit 128M
php_value max_execution_time 18000
php_value upload_max_filesize 2M
php_value mysql.connect_timeout 20
php_flag session.use_cookies On
php_flag session.use_trans_sid Off
php_value session.gc_maxlifetime 12000000
php_flag display_errors On
php_value max_input_time 60
php_value max_input_vars 1000
</IfModule>
# END cPanel-generated php ini directives, do not edit
-
Hello.
Yes you have redirect in your .htaccess file
-
Hello.
Yes you have redirect in your .htaccess file
Is this here: RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.blackpantherinternational.com/$1 [R,L]
But SSL redirect is required for secure gateway. The certificate is issued to blackpantherinternational.com. So according to you what changes is required to resolve the issue facing? Suggest me the changes