Wordpress help - Mass changing links in posts?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Shoplifter
    Richest man in Babylon
    • Jan 2002
    • 5846

    #1

    Wordpress help - Mass changing links in posts?

    Any easy way to change sponsor links throughout a few hundred Wordpress posts?

    Thanks thanks thanks
  • fris
    Too lazy to set a custom title
    • Aug 2002
    • 55679

    #2
    theirs a search and replace wordpress plugin
    Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

    Comment

    • Marquis85
      Confirmed User
      • Apr 2009
      • 622

      #3
      I'm looking for one as well but for the time being, the plugin called SEO Smart Links might be what you're looking for.
      Last 3 months SCORECash ratio: 1:237

      Comment

      • Emil
        Confirmed User
        • Feb 2007
        • 5658

        #4
        update `wp_posts` set `post_content` = replace(`post_content`, ‘replace_that’, ‘with_this’);
        Free 🅑🅘🅣🅒🅞🅘🅝🅢 Every Hour (Yes, really. Free ₿itCoins.)
        (Signup with ONLY your Email and Password. You can also refer people and get even more.)

        Comment

        • GrouchyAdmin
          Now choke yourself!
          • Apr 2006
          • 12085

          #5
          Originally posted by Emil
          update `wp_posts` set `post_content` = replace(`post_content`, ?replace_that?, ?with_this?);
          This will do.

          Comment

          • FlexxAeon
            Confirmed User
            • May 2003
            • 3765

            #6
            Originally posted by Emil
            update `wp_posts` set `post_content` = replace(`post_content`, ?replace_that?, ?with_this?);
            there ya go

            been having to do this a lot lately unfortunately
            flexx [dot] aeon [at] gmail

            Comment

            • Fat Panda
              Porn is Dead. Move along.
              • Aug 2006
              • 13296

              #7
              i would use search and replace

              Comment

              • d-null
                . . .
                • Apr 2007
                • 13724

                #8
                the op might be talking about mass changing varying links throughout a blog, in which case the problem becomes much more difficult

                say you have 1000 different links to different landing pages within a sponsor that turned bad, you need a sophisticated regexp or something to find those link strings and pull them out and replace them with something else

                __________________

                Looking for a custom TUBE SCRIPT that supports massive traffic, load balancing, billing support, and h264 encoding? Hit up Konrad!
                Looking for designs for your websites or custom tubesite design? Hit up Zuzana Designs
                Check out the #1 WordPress SEO Plugin: CyberSEO Suite

                Comment

                • zargan
                  Confirmed User
                  • Jan 2007
                  • 445

                  #9
                  Originally posted by Shoplifter
                  Any easy way to change sponsor links throughout a few hundred Wordpress posts?

                  Thanks thanks thanks
                  maybe re.place wordpress plugin will help you ...

                  -----------------------------------------------
                  Sponsors Review - Sponsors Guide - www.sponsorsreview.com
                  Pimpsblogger - Free wordpress blog hosting - www.pimpsblogger.com

                  Comment

                  • Shoplifter
                    Richest man in Babylon
                    • Jan 2002
                    • 5846

                    #10
                    Originally posted by d-null
                    the op might be talking about mass changing varying links throughout a blog, in which case the problem becomes much more difficult

                    say you have 1000 different links to different landing pages within a sponsor that turned bad, you need a sophisticated regexp or something to find those link strings and pull them out and replace them with something else

                    Right. This is about changing sponsor links in many hand written posts.

                    I think there might be quite a demand for this these days lol..l.

                    Comment

                    • fris
                      Too lazy to set a custom title
                      • Aug 2002
                      • 55679

                      #11
                      stop hand coding each link, its best, so you can just change them via the link ad manager. without dealing with the hassle
                      Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

                      Comment

                      • Houdini
                        Confirmed User
                        • Dec 2001
                        • 1651

                        #12
                        Had the same problem on a 1200+ posts blog and used this plugin. Worked like a charm.

                        http://thedeadone.net/download/searc...dpress-plugin/

                        Comment

                        • LoveSandra
                          So Fucking Banned
                          • Aug 2008
                          • 10551

                          #13
                          Bump for you

                          Comment

                          • Hentaikid
                            Confirmed User
                            • Nov 2002
                            • 1250

                            #14
                            What emil said, only you do it in phpmyadmin working on the database not in wordpress itself

                            Comment

                            Working...