News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Problems with Trailing Slashes in my shopping cart

Started by checkerwally, November 17, 2019, 18:37:09 PM

Previous topic - Next topic

checkerwally

Hello everybody,

i have the following instance at work

Joomla! 3.9.13 Stable
PHP-Version: 7.3.6-nmm1
VirtueMart 3.6.8 10197

During SEO activities, i noticed when i set the following entry in the file .htaccess

Activate Trailing Slashes
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*[^/])$ /$1/ [R=301,NC,L]

that i can no longer make changes to the products in the Virtuemart shopping cart afterwards.
If i deactivate the settings, i can then work normally in the shopping cart again.

Is it a wrong entry? I have only found the problem in my shopping cart.

Idea was from
https://www.wicked-software.de/drei-htaccess-regeln-zur-einzigartigen-url

Best Regards
cw

Jörgen

You are trying some thing that s over your head and not something to actually do with VM.

this might give You a clue:

QuoteJe nach Einsatz kann es sein, dass die Trailing Slash Regel noch angepasst werden muss. Für Joomla! CMS Freunde, hier werden Beispielsweise Anfragen per Post an Slash/ URLs gesendet. Eine Weiterleitung verwirft aber die gesendeten POST-Daten und leitet per GET weiter. Deshalb sollte die nachfolgende Regel oberhalb der Traling Slash Regel platziert werden, um POST-Anfragen durch zu lassen.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.