Jump to content

Need some expert advice


Recommended Posts

Hi all,

Need some expert advice please.

I have an online store running on a ASP shopping cart. I'm thinking of migrating to PHP/ to Prestashop.

With the present site, some of the URLs have been indexed very well by google. For example:

http://www.MySite.com/scripts/prodList.asp?idCategory=22

When i migrate, these URLs will be lost - Is there a way to overcome this.

At present i'm hosting on window - I'm aware i will need to move to Apache


Many thanks

Link to comment
Share on other sites

Just for your reference.



I think following rule should work, I didn't test it. You can try.
RewriteRule ^scripts/prodList.asp\?idCategory\=([0-9]+)$ /category.php?id_category=$1 [QSA,L,E]




This one, PrestaShop will automatically generate a rule for you. I will be like as
RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /category.php?id_category=$1 [QSA,L,E]

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...