VirtueMart 2 + 3 > Security (https) / Performance / SEO, SEF, URLs
?clearCart=0 on the end of URL, how to remove?
Maurizio67:
--- Quote from: jenkinhill on October 05, 2022, 11:22:40 am ---GJC wrote http://forum.virtuemart.net/index.php?topic=148714.msg530703#msg530703
--- End quote ---
Hello jenkinhill, I see your reply to my question but I don't get the meaning.
Your quote brings to a topic that invites to be patient about the routing and be careful to mention the exact VM version when posting question.
Since I did the last one, I guess you mean the first one (I have to be patient).
Ok, but... how will I know when is this fixed?
Thanks in advance
Maurizio
sirius:
Hi
in the meantime, if you want the rewrite for htaccess
--- Code: ---RewriteCond %{QUERY_STRING} "clearCart=" [NC]
RewriteRule (.*) /$1? [R=301,L]
--- End code ---
but this will certainly invalidate the empty basket function if you are in a category.
jenkinhill:
I intend to wait at least another year for J4 to be fixed as J3 works perfectly well for me and will most likely do so for years to come.
Best approach to find out when/if your VM on J4 router issue is fixed is to test new development versions as they are released, eg VM from http://dev.virtuemart.net/projects/virtuemart/files and Joomla from https://downloads.joomla.org/latest
You can also check the revision comments on http://dev.virtuemart.net/projects/virtuemart/repository - although the comments don't list all changes.
Maurizio67:
Thank you jenkinhill and thank you sirius
scriner:
--- Quote from: sirius on November 04, 2022, 11:04:11 am ---Hi
in the meantime, if you want the rewrite for htaccess
--- Code: ---RewriteCond %{QUERY_STRING} "clearCart=" [NC]
RewriteRule (.*) /$1? [R=301,L]
--- End code ---
but this will certainly invalidate the empty basket function if you are in a category.
--- End quote ---
After some time I returned to this issue and see that nothing changed.
Joomla 4.2.5 / VirtueMart 4.0.8 10748
when I add this to htaccess it redirects any page to index.php
rewrite mode is on, no other changes in htaccess. I am checking it on really clear website, J+VM instaled from blank.
may be you know another way to fix it?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version