Could someone help me with this. I have a site that is using Perl for a shopping cart and I'd like to get the products and categories indexed within the search engines. I personally can't programme in Perl, so I need to know what to tell our developers. What would I need to do to e.g. re-write the URLs, etc. to make the site more search engine friendly.
Example URLs:
www.mydomain.com/perl/product/product.pl?_STATUS=GET_CATEGORY_PAGE&PRODUCT_CATEGORY_ID=14
www.mydomain.com/perl/product/product.pl?_STATUS=GET_PRODUCT_PAGE&PRODUCT_ID=3385
Thank you in advance.
RewriteEngine On
RewriteRule ^category_(.*)/ /perl/product/product.pl_STATUS=GET_CATEGORY_PAGE&PRODUCT_CATEGORY_ID=$1
RewriteRule ^products/(.*).html /perl/product/product.pl?_STATUS=GET_PRODUCT_PAGE&PRODUCT_ID=$1
Now you could link to a category using [mydomain.com...] and to a product using [mydomain.com...]
I'm too lazy to test this myself, but maybe it will work.