Shopping Cart Operations > General Support

SEO URLs does not work

(1/1)

jimcooncat:
I have recently migrated to a new host, installing a fresh AbanteCart 1.3.0.1 and upgrading to PHP 8.0. I had a few issues which I have corrected, but one I can't shake is an intermittent warning that "SEO URLs does not work", and find that sometimes the URL will be expressed in the SEO format, and sometimes similar to "... index.php?rt=product/product&product_id=387".

I don't see anything in error.txt that suggests a relation to this problem. Where can I look for clues, please?

I run Apache2 version 2.4.48 and mod_rewrite appears to work correctly. I have .htaccess in place and works correctly for rewriting http to https URLs. My Apache configuration file for the site has:

     <Directory /var/www/screaminmimisperfectpickins.com/public_html/>
        Options +FollowSymlinks
        AllowOverride All
        Require all granted
     </Directory>

Basara:

--- Quote from: jimcooncat on June 20, 2021, 06:27:41 AM ---that sometimes the URL will be expressed in the SEO format, and sometimes similar to "... index.php?rt=product/product&product_id=387".

--- End quote ---

Hello. If your product has an empty SEO Key that URLs will be like index.php?
https://abantecart.atlassian.net/wiki/spaces/AD/pages/24313962/Manage+SEO+URLs#ManageSEOURLs-Toadd%2Feditseokeywordforproducts

abolabo:

--- Quote from: Basara on June 21, 2021, 01:06:58 AM ---
--- Quote from: jimcooncat on June 20, 2021, 06:27:41 AM ---that sometimes the URL will be expressed in the SEO format, and sometimes similar to "... index.php?rt=product/product&product_id=387".

--- End quote ---

Hello. If your product has an empty SEO Key that URLs will be like index.php?
https://abantecart.atlassian.net/wiki/spaces/AD/pages/24313962/Manage+SEO+URLs#ManageSEOURLs-Toadd%2Feditseokeywordforproducts

--- End quote ---

hi.
To solve issue be sure that your rule for redirecting from http to https is not a last.

Rules for URL seo rewrites works to adding __route__ parameter into the $_GET predefined array.
You can open controller storefront/controller/common/seo_url.php and check if this parameter there via
--- Code: ---var_dump($_GET); exit;
--- End code ---

Navigation

[0] Message Index

Go to full version
Powered by SMFPacks Social Login Mod