Hi,
I have a large site with thousands of URLs in googles index.
I need to dynamically redirect some Kunena forum posts from a URL like this example:
website.com/forum/parenting-advice/513999-Re-How-do-I-choose-a-school.html
to
website.com/forum/parenting-advice/513445-How-do-I-choose-a-school.html
which means i need to strip out the "Re-"
and (this is the harder part) I need to replace 513999 (child post id) by 513445 (parent post/thread id)
which needs a database call to find the parent post id from a child post id.
I think i can write the php code for this - my question is which file in sh404SEF and in which line number in the file would this code need to go
If you had (from previous client support) an example of the code that would be amazing - but if not I will work it out
BTW in my setup i am using joomla handler for Kunena posts not default handler which is how i believe it should be set up
Many thanks in advance
Ian
I have a large site with thousands of URLs in googles index.
I need to dynamically redirect some Kunena forum posts from a URL like this example:
website.com/forum/parenting-advice/513999-Re-How-do-I-choose-a-school.html
to
website.com/forum/parenting-advice/513445-How-do-I-choose-a-school.html
which means i need to strip out the "Re-"
and (this is the harder part) I need to replace 513999 (child post id) by 513445 (parent post/thread id)
which needs a database call to find the parent post id from a child post id.
I think i can write the php code for this - my question is which file in sh404SEF and in which line number in the file would this code need to go
If you had (from previous client support) an example of the code that would be amazing - but if not I will work it out
BTW in my setup i am using joomla handler for Kunena posts not default handler which is how i believe it should be set up
Many thanks in advance
Ian