Changing domain name, what to do with all the links inside the forum?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Schnee
    Senior Member
    • Oct 2007
    • 186
    • 3.8.x

    Changing domain name, what to do with all the links inside the forum?

    Hi there,

    We are considering changing our domain name, but throughout the forum, we have thousands of links to the old domain when users post links to point to where they wanted someone else to read.

    Is there a way to globally change all instances of domainabc.com to domainxyz.com in the entire forum? Probably a sql query and probably dangerous, but ...

    how do people do this?

    Thanks!
  • dodgeboard.com
    Senior Member
    • Nov 2005
    • 941
    • 4.0.x

    #2
    You can do it with a 301 redirect.

    See this: http://www.vbseo.com/f2/changing-dom...taccess-27465/

    Comment

    • Lats
      Senior Member
      • Mar 2002
      • 3671

      #3
      Backup first...
      Code:
      UPDATE 
          post
      SET 
          pagetext = replace(pagetext,'domainabc.com', 'domainxyz.com') 
      WHERE 
          pagetext LIKE '%domainabc.com%'
      Lats...

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      😀
      😂
      🥰
      😘
      🤢
      😎
      😞
      😡
      👍
      👎