× Here you can get community support related to ReDJ.

Changing ID's - Forum Redirect

  • Chris CW
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 5 months ago #3973 by Chris CW
Changing ID's - Forum Redirect was created by Chris CW
Hi

I'm hoping to get some help, as I can't get my head round this redirect from the current documentation (I'm not used to macros, placeholders etc!)

I have URLs like this:

/forum/viewforum.php?f=9
/forum//viewtopic.php?f=9&t=10069

That I would like redirecting to this:

/forum/9
/forum/9/10069

There's about 8,000 of these though, so doing it manually for each is a big task! Fingers crossed I can get something more dynamic :)

For those that are curious, this is a move from phpBB to Kenuna

Thank you!

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

More
9 years 5 months ago #3974 by admin
Replied by admin on topic Changing ID's - Forum Redirect
Hi,
try this rule:
From URL: ^/forum/viewforum\.php\?
To URL: {scheme}://{siteurl}/forum/{requestvar f}/{requestvar t}
Request only: true (checked)

This rule for the first kind of URLs (only f var, without t) will redirect to:

/forum/9/

That should work the same. If not, we need to split this rule in two parts, just let me know.

Kind regards,
Luigi

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

  • Chris CW
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 5 months ago #3975 by Chris CW
Replied by Chris CW on topic Changing ID's - Forum Redirect
Hi Luigi!

That you for the help, its much appreciated!
Unfortunately neither of those work, I know REDJ is working as it completes simple redirects. Am I missing something to complete these more complex ones?

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

More
9 years 5 months ago #3976 by admin
Replied by admin on topic Changing ID's - Forum Redirect
Hi,
could you, pls, send me a private message at info(at)selfget.com with a dump or a screenshot of your rules and the main address of your site?

Thanks,
Luigi

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

Time to create page: 0.154 seconds