× Here you can get community support related to ReDJ.

redirection rule?

More
6 years 3 months ago #6795 by ziso
redirection rule? was created by ziso
Dear support i want to create a rule for redirecting old forum posts to new forum is it possible?

old url /index.php?option=com_ccboard&view=recentlist&limitstart=30
new url /index.php?option=com_easydiscuss&view=index&Itemid=329&limitstart=30

and


old url/index.php?option=com_ccboard&view=postlist&forum=2&topic=45949
new url /index.php?option=com_easydiscuss&view=post&id=45949&Itemid=329

i have 1000's of them is it possible to find a way to fix this?

can someone give me solution to this?

thanks

Please Log in or Create an account to join the conversation.

More
6 years 3 months ago #6797 by admin
Replied by admin on topic redirection rule?
Hi Ziso,
try those rules:
From URL: ^/index\.php\?option=com_ccboard&view=recentlist
To URL: {scheme}://{siteurl}/index.php?option=com_easydiscuss&view=index&Itemid=329&limitstart={queryvar limitstart}
Request only: true (checked)

From URL: ^/index\.php\?option=com_ccboard&view=postlist&forum=2&topic=
To URL: {scheme}://{siteurl}/index.php?option=com_easydiscuss&view=post&id={queryvar topic}&Itemid=329
Request only: true (checked)

Kind regards,
Luigi
The following user(s) said Thank You: ziso

Please Log in or Create an account to join the conversation.

More
6 years 3 months ago - 6 years 3 months ago #6800 by ziso
Replied by ziso on topic redirection rule?
you gave me this rule that works
/index.php?option=com_ccboard&view=postlist&forum=2&topic=45949 to replace with this..
^/index\.php\?option=com_ccboard&view=postlist&forum=2&topic=
My old forum had double redirects
1)/index.php?option=com_ccboard&view=postlist&forum=2&topic=45949
and
2)/index.php?option=com_ccboard&view=postlist&forum=45949&topic=45949&Itemid=140


for the 1) you gave me
From URL: ^/index\.php\?option=com_ccboard&view=postlist&forum=2&topic=
To URL: {scheme}://{siteurl}/index.php?option=com_easydiscuss&view=post&id={queryvar topic}&Itemid=329
Request only: true (checked) and it works fine! :)

i want the 2) /index.php?option=com_ccboard&view=postlist&forum=45949&topic=45949&Itemid=140

to redirect too
To URL: {scheme}://{siteurl}/index.php?option=com_easydiscuss&view=post&id={queryvar topic}&Itemid=329
Request only: true (checked) thanks
Last edit: 6 years 3 months ago by ziso.

Please Log in or Create an account to join the conversation.

More
6 years 3 months ago #6801 by admin
Replied by admin on topic redirection rule?
If I got your request right you have URLs with forum=2 and URLs with forum=45949, and for both the destination is the same.

If this is the case, change the From URL part of the current rule as follow:
From URL: ^/index\.php\?option=com_ccboard&view=postlist&forum=[0-9]+&topic=
The following user(s) said Thank You: ziso

Please Log in or Create an account to join the conversation.

Time to create page: 0.125 seconds