VirtueMart Forum

VirtueMart 1.1.x [ Old version - no longer supported ] => Security (https) / Performance / SEO/ SEF issues VM 1.1 => Topic started by: danrip on September 24, 2012, 02:25:16 am

Title: Redirect of /index.php breaks VM store
Post by: danrip on September 24, 2012, 02:25:16 am
Quite new to Joomla, so massive appreciation to any tips on this one...

1. Client's VM store reporting over 10,000 duplicate URL's in SEOmoz crawl, so I edit .htaccess and redirect non-www, "/home" and "/index.php" addresses. New crawl halves the duplicate URL's.
2. Couple of days later, noticed in Analytics that sales came to an abrupt halt on the day the edits were made.
3. Attempt test purchase - at login / registration page, site loops back to an empty login / registration page when details are entered & submitted.
4. Test removal of redirects - /index.php found to be the cause and purchases completed successfully.

This is the current (with store working) redirect that I'm using:

########## Begin - Custom Redirect Section
RewriteCond %{HTTP_HOST} ^domainname\.com\.au [NC]
RewriteRule ^(.*)$$1 [L,R=301]
#RewriteCond %{THE_REQUEST} ^.*/index.php
#RewriteRule ^index\.php$ [R=301,L]
Redirect 301 /home
########## End - Custom Redirect Section

(As an aside - the site has the AceSEF component installed, however for reasons unknown to me it's not enabled. )

Now I want to reduce those duplicate URLs, but obviously I also also need the store to work and make the client money. Can anyone offer any tips or solutions?