News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Change SEO suffix redirecting old pages

Started by broc93, December 22, 2014, 19:54:24 PM

Previous topic - Next topic

broc93

Hello!
I want to change the SEO suffix of every virtuemart product page from the default one "-detail" to another. The fact is that I don't want people who go to the old pages to get a 404 error. How can I redirect the old pages to the new ones?
Thank you in advance!
Herbalife products
http://dietabenesserehl.it

jenkinhill

Configuration/SEO

[attachment cleanup by admin]
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

broc93

Yeah, but this way I would get a 404 error when visiting the pages with the old suffix. I want to make a redirect from the old to the new ones because the site has been live for almost two years now and I don't want my customers to see 404 errors. Thank you in advance!
Herbalife products
http://dietabenesserehl.it

GJC Web Design

if u can't match the old urls by config/choice of aliases etc then you will have to set up redirections -
htaccess or there are extensions available
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

AH

I use this for my redirects

And I have hundreds!

Allows pattern matching for "bulk" redirect

http://www.selfget.com/products/redj.html
Regards
A

Joomla 3.10.11
php 8.0

broc93

Quote from: Hutson on January 07, 2015, 10:00:40 AM
I use this for my redirects

And I have hundreds!

Allows pattern matching for "bulk" redirect

http://www.selfget.com/products/redj.html

I've tried to make this redirects but don't know how do do that. Could you please help? :(
Herbalife products
http://dietabenesserehl.it

GJC Web Design

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

broc93

Yeah, I did read that but still not able to do this redirection. How could I do it via htaccess?
Herbalife products
http://dietabenesserehl.it

AH

if you cannot work out redj then regex pattern matching in .htaccess is going to be fun!

http://httpd.apache.org/docs/2.4/mod/mod_rewrite.html

Regards
A

Joomla 3.10.11
php 8.0

GJC Web Design

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