AbanteCart Community
eCommerce construction => Templates => Topic started by: G. O. on January 28, 2025, 03:51:18 AM
-
Hello,
After upgrading to V.1.4.1 the Categories and sub-categories on mobile appearing fine and everything is well but on PC the contains of these categories and sub-categories not appearing and giving a message that The page you requested cannot be found.
AbanteCart v.: Novator on V.1.4.1
php> v. 8.3
error log: empty
php.ini Permission (0644)
index.php Permission (0555)
config.php Permission (0555)
.htaccess Permission (0644)
I did reset the codes of php.ini, config.php and .htaccess to default codes but my issue still same
i did turned off SEO URL from System → Settings → System and also issue still same.
how to solve this issue?
-
Hello.
Please share the link to your site. Try resetting or disabling the .htaccess file
-
Hello.
Please share the link to your site. Try resetting or disabling the .htaccess file
https://wwwdotglobaloverlinedotcom
-
i did disabled the file and as follow the contain of it:
# 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 work - check and set apache2 webserver directive AllowOverride All for your virtual hosts
# For any support issues please visit: https://forum.abantecart.com
Options +FollowSymlinks
# Prevent Directory listing
Options -Indexes
# Prevent Direct Access to files
<FilesMatch "\.tpl">
Order deny,allow
Deny from all
</FilesMatch>
RewriteEngine on
# 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
RewriteCond %{HTTP_COOKIE} HTTP_IS_RETINA [NC]
RewriteCond %{REQUEST_FILENAME} !@2x
RewriteRule ^(.*)\.(gif|jpg|jpeg|png|webp|avif)$ $1@2x.$2
# if @2x isn't available fulfill the original request
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)@2x\.(gif|jpg|jpeg|png|webp|avif)$ $1.$2
# SEO URL Settings
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\?*$ index.php?_route_=$1 [L,QSA]
# SITE PERFORMANCE TUNING #
# Browser Caching, Compression and Headers cache control
# This is to manage browser cache and improve site loading
# NOTE: If you do active development disable this as you will need to clear your browser cache manually
# 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>
<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>
# 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 image/webp "access 1 year"
ExpiresByType image/avif "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|webp|avif)$">
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>
any thing wrong here ?
-
Hello.
Please double-check that SEO URLs are disabled in the admin settings and clear the AbanteCart cache. The category links in the menu are SEO-based and seem to be malfunctioning.
-
Hello.
Please double-check that SEO URLs are disabled in the admin settings and clear the AbanteCart cache. The category links in the menu are SEO-based and seem to be malfunctioning.
already did all these steps and even created a phpinfo.php file and uploaded it to my website root and searched for mod_rewrite and not been founded. contacted my hosting and they said it is active and emailed them with the link to phpinfo.php on https://www.globaloverline.com/phpinfo.php and waiting their answer.
what to do else ?
-
Hello.
I just visited your site, and the category links are now working. https://www.globaloverline.com/index.php?rt=product/category&path=24
-
Hello.
I just visited your site, and the category links are now working. https://www.globaloverline.com/index.php?rt=product/category&path=24
if you are visiting the links from site map then you will get the page through this link: https://www.globaloverline.com/index.php?rt=product/category&path=24
but if you try to visit the category though this link: https://www.globaloverline.com/eShops then you will get 404 error.
tha is what am talking about in my issue
-
To access a category using the /eShops handle, follow these steps:
1. Add "eShops" to the category SEO key (use "eshops" if your server does not support capital letters).
2. Configure the .htaccess file in the root of your AbanteCart store with the next content (https://raw.githubusercontent.com/abantecart/abantecart-src/refs/heads/master/public_html/.htaccess.txt).
3. Enable SEO URL (https://abantecart.atlassian.net/wiki/spaces/AD/pages/7962664/SEO+URL+s)s in the AbanteCart admin.
If SEO URLs are still not working, contact your hosting support for assistance with mod_rewrite or .htaccess rules.
-
To access a category using the /eShops handle, follow these steps:
1. Add "eShops" to the category SEO key (use "eshops" if your server does not support capital letters).
2. Configure the .htaccess file in the root of your AbanteCart store with the next content (https://raw.githubusercontent.com/abantecart/abantecart-src/refs/heads/master/public_html/.htaccess.txt).
3. Enable SEO URL (https://abantecart.atlassian.net/wiki/spaces/AD/pages/7962664/SEO+URL+s)s in the AbanteCart admin.
If SEO URLs are still not working, contact your hosting support for assistance with mod_rewrite or .htaccess rules.
Thank you Sir, I did rechanged the links contains from capital letters to small and that solved but still we have one issue when you trying to reach to some sub-categories such like eShops which you see in my screenshot. kindly give it a try from your PC and let me how to fix that issue to reach that sub-category from PC by scrolling down by MOUSE indicator .
-
[issue to reach that sub-category from PC by scrolling down by MOUSE indicator .
Hello.
It looks like a bug. Please take a screenshot of the admin menu configuration and a short video of storefront and report it to the AbanteCart Bug tracker (https://github.com/abantecart/abantecart-src/issues)
-
I just tested on my end and can confirm the issue when trying to scroll to some sub-categories like eShops from a PC. It seems like the submenu doesn’t fully load or respond properly to the mouse scroll.
-
I just tested on my end and can confirm the issue when trying to scroll to some sub-categories like eShops from a PC. It seems like the submenu doesn’t fully load or respond properly to the mouse scroll.
Hello.
Can you please check if you’re running the latest AbanteCart version (v1.4.2)? If you are already on v1.4.2, could you share a link to the affected site (you can a d d spaces if URLs aren’t allowed) and a screenshot showing the submenu issue?