Old URL to new URL : redirect component not enouph

Discuss Search Engine Optimization in relation to Joomla! 3.x. This forum will also have discussions on SEF/SEO Joomla! 3.x extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Post Reply
SemaphoreOxalis
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Sun Jun 16, 2013 9:37 pm

Old URL to new URL : redirect component not enouph

Post by SemaphoreOxalis » Thu Feb 14, 2019 10:05 am

Hi,
We have a new website (old one was already made with joomla)
Old URL like category/10-article.html still work and show the NEW article with id=10 ! We have try to counter with the redirect component but it's not working and I think it's because redirect component work for URL generating 404.
I do'nt understand How the new website decode the old url and understand the old URL say "com_content&id=10" and use the new article with id=10 O_o

If someone could explain ;-)

Firewall
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Wed Feb 13, 2019 11:52 am

Re: Old URL to new URL : redirect component not enouph

Post by Firewall » Thu Feb 14, 2019 1:18 pm

Joomla 3.8 Experimental URL Routing
Redirect old URLS with id to new ones

RewriteCond %{REQUEST_URI} (.*)\/(\d{1,}-|)(.*)\/(\d{1,}-|)(.*)
RewriteRule ^(.*)(\/)(.*) %1/%3/%5 [L,QSA,R=301]



Click on Joomla 3.8 Experimental URL Routing title link for more info.


Post Reply

Return to “Search Engine Optimization (Joomla! SEO) in Joomla! 3.x”