Renaming links

Renada

Active member
Hi,

I'm moving my forum to a folder of a different name, something more appropriate to the content. Everything works except for a few links that still insist on displaying the old folder name thus resulting in broken links.

Could anyone tell me a query I could run or what else I need to do to update all these links? I've rebuilt all the cache etc. and that didn't fix it.

Regards,
Renada :)
 
Are you referring to post content?

If so, you can run a query on the database like so:

UPDATE xf_post SET message = REPLACE(message, 'old_path', 'new_path')

Just replace old_path and new_path as necessary.

Take a backup first though, just in case.
 
Are you referring to post content?

If so, you can run a query on the database like so:

UPDATE xf_post SET message = REPLACE(message, 'old_path', 'new_path')

Just replace old_path and new_path as necessary.

Take a backup first though, just in case.

Ta muchly Brogan, you're a star :)
 
Top Bottom