Author Topic: Redirect of /index.php breaks VM store  (Read 2538 times)

danrip

  • Beginner
  • *
  • Posts: 1
Redirect of /index.php breaks VM store
« on: September 24, 2012, 02:25:16 am »
Howdy,
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 ^(.*)$ http://www.domainname.com.au/$1 [L,R=301]
#
#RewriteCond %{THE_REQUEST} ^.*/index.php
#RewriteRule ^index\.php$ http://www.domainname.com.au/ [R=301,L]
#
Redirect 301 /home http://www.domainname.com.au/
########## 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?

Thanks!