Change domain

Support for PhpBB3. Post here to get help with any phpBB3 related issue here
There is no support here! Only Read Access!
Forum rules
In order the get any support, you will have to do following:
1. Use a describing title!
2. Describe your problem and what happened when the problem occured
3. Tell us what version of phpBB3 you are currently using.
Else your topic may be ignored or locked!
Locked
User avatar
Fire-Fox
BBCoder IV
BBCoder IV
Posts: 275
Joined: 22 Mar 2010, 13:24
Location: Denmark

Change domain

Post by Fire-Fox »

Hey!

If i need to change domain sometime soon is there a mod that can convert the topic url's with the board url to the new url ?

Lets say: i change domain "plzsupport.me" and the board topics contain urls like phpbb3addons.com do i need to edit them manuel or is there a fancy way to do this?
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

Re: Change domain

Post by cisco007 »

i don't think there is a mod for that, i think you would have to manually change those yourself! Unless Stoker or someone else know else knows anything different!
User avatar
Inner Circle
BBCoder III
BBCoder III
Posts: 107
Joined: 20 Mar 2010, 20:25
Location: Germany
Contact:

Re: Change domain

Post by Inner Circle »

What about this?

Code: Select all

UPDATE phpbb_posts
SET post_text = REPLACE(post_text, 'old url', 'new url')
WHERE post_text LIKE '%old url%'
make a backup first and then check you database prefix
User avatar
Fire-Fox
BBCoder IV
BBCoder IV
Posts: 275
Joined: 22 Mar 2010, 13:24
Location: Denmark

Re: Change domain

Post by Fire-Fox »

Thanks!

I'll try it when time is :)
if it works i'll buy you a beer :)
Locked