Moved from k2 to easyblog
-
inovata
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 1
-
Thank you received: 0
-
-
11 years 5 months ago #1639
by inovata
I want to redirect a lot of links like:
mysite/1528-article
to
mysite/blog/232-article
Article ID is different now.
I use joomla 2.5
How can I redirect?
Thank you.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
11 years 5 months ago - 11 years 5 months ago #1640
by admin
The from URL could be:
From URL: ^/[0-9]+-[^/]*$
And the destination could be built using placeholders, to extract the old id (e.g. 1528), and to lookup the article table for new id (e.g. 232), assuming the the slug part is the same.
Not so easy, but is possible...
Last edit: 11 years 5 months ago by admin.
Please Log in or Create an account to join the conversation.
Time to create page: 0.112 seconds