News:

Support the VirtueMart project and become a member

Main Menu

How to redirect product page after url modification

Started by frogybella, October 15, 2015, 16:45:22 PM

Previous topic - Next topic

frogybella

Hi everybody,

We are going to migrate our website from joomla 2.5.28 to joomla 3.4.4  and virtuemart 2.6.18 virtuemart 3.0.9 and we would like to change the product categories so the products linked.
In that case all the url product may change.
Today we are pretty well positioned in google search and we would like to keep as much as possible our place.
Is someone knows an extension or a way to redirect from the old url to the new one?

Thanks for your help.
Best regards

Frogybella
Frogybella

My website : www.fdbi.com

frogybella

Hi everybody,

Nobody has ever faced this link redirection problem with virtuemart ?
I'm surprised because after a while we often want to reorganize the categories to better fit the customer needs.

I really need your help. :'(

Thanks in advance.

frogybella

Frogybella

My website : www.fdbi.com

PRO

if its just category thats changing.
I would use htaccess


frogybella

Yes it's a categories change.
I hopped there was a component to do that as redirect for joomla pages do.
I 'll try with htaccess.

Thanks for your answer.

Regards
Frogybella

My website : www.fdbi.com

GJC Web Design

Quoteredirect for joomla pages do

it works on any ext. within Joomla doesn't it?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

frogybella

Yes.
For virtuemart I managed to redirect a category to its new one. But what I want is redirect the product in this category with the new url.
Before  : www.mysite.com/cable/toto.html
Now :  www.mysite.com/accessorie/cable/toto.html
I'm looking for a way to write a rule either  in redirect component or in an other component.
If you have a solution it would be great.

Frogybella

My website : www.fdbi.com

GJC Web Design

as Pro said htaccess would be my choice if the number of changed cats isn't nuts

just google and experiment htaccess rewrite
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

PRO

frogybella,

the BEST way to do this is htaccess.


OR:
USE csv improved, or a spreadsheet. to upload the new urls to the Joomla redirect component
BUT!!! Keep in mind if you have products in multiple categories, you will have to add all old urls



HOW many categories changed?

You can also do this with php

strip & replace + app->redirect


I will tell you., a conversion with urls changing really needs some planning.TEST,TEST,TEST
You need to find out exactly what 404s, and what does not.
WHEN: vm 404 error handling is on , and the wrong category is in a url, you can have problems.