rdirection in virtuemart
-
strouve181
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 18
-
Thank you received: 0
-
-
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
11 years 4 months ago #1293
by admin
Hi,
you can build a single rule to redirect all pages. But I have a question before. If I call the new URL it seems to point to a category and not to an item. Can you send me two or three working couples? Then I can help you to build the rule...
Please Log in or Create an account to join the conversation.
-
strouve181
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 18
-
Thank you received: 0
-
-
11 years 4 months ago #1294
by strouve181
Yes, i understand, it's because actualy the new web site is not availed. you can not test on the actualy website. the new one is on my own server. i wait fo publish it to have the complete solution for work fine.
I have the redirection for only the product, for my category, the new web site use cherry picker module filter on customfield and there are not the same category. so i think to use all old url category to the main page of virtuemart. i hope is good for google index.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
11 years 4 months ago #1297
by admin
I understand...
Try this:
From URL: \?page=shop\.product_details&flypage=vmj_naru\.tpl&product_id=
To URL: http://{siteurl}/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id={preg_match 1}/product_id=([0-9]*))/{/preg_match}
Please Log in or Create an account to join the conversation.
-
strouve181
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 18
-
Thank you received: 0
-
-
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
11 years 4 months ago #1303
by admin
Are you using the Community version? The preg_match macro is only available for Enterprise. If you are using the Community I have to find another way to extract the numeric part from the source URL...
Please Log in or Create an account to join the conversation.
Time to create page: 0.155 seconds