cmeinck
Well-known member
I've migrated from http://www.everythingicafe.com/forum/ to http://forums.everythingicafe.com. My board URL has been updated and the 301 redirect is working well. To continue with the 'clean up' after the move, I thought it would be best if internal links were updated to reflect the new URL structure. So for example, if a user had created a link to: http://www.everythingicafe.com/forum/threads/which-iphone-6-would-you-choose.105238/ , I'd like to use mySQL to update the URLs to http://forums.everythingicafe.com/threads/which-iphone-6-would-you-choose.105238/
I believe this mySQL query would work and would not adversely affect anything. That being said, I wanted to ask the experts here before running such a big query.
Thanks!
I believe this mySQL query would work and would not adversely affect anything. That being said, I wanted to ask the experts here before running such a big query.
Code:
UPDATE xf_post SET message = REPLACE(message, 'www.everythingicafe.com/forum','forums.everythingicafe.com');
Thanks!