![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Richest man in Babylon
Industry Role:
Join Date: Jan 2002
Location: Posts: 10,002
Posts: 5,679
|
Wordpress help - Mass changing links in posts?
Any easy way to change sponsor links throughout a few hundred Wordpress posts?
Thanks thanks thanks |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Feb 2007
Location: Sweden
Posts: 5,623
|
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.) |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Now choke yourself!
Industry Role:
Join Date: Apr 2006
Posts: 12,085
|
This will do.
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Confirmed User
Industry Role:
Join Date: May 2003
Posts: 3,765
|
Quote:
been having to do this a lot lately unfortunately ![]()
__________________
flexx [dot] aeon [at] gmail |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Porn is Dead. Move along.
Industry Role:
Join Date: Aug 2006
Posts: 13,295
|
i would use search and replace
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
. . .
Industry Role:
Join Date: Apr 2007
Location: NY
Posts: 13,724
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Join Date: Jan 2007
Posts: 445
|
maybe re.place wordpress plugin will help you ...
__________________
![]() ----------------------------------------------- Sponsors Review - Sponsors Guide - www.sponsorsreview.com Pimpsblogger - Free wordpress blog hosting - www.pimpsblogger.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
Richest man in Babylon
Industry Role:
Join Date: Jan 2002
Location: Posts: 10,002
Posts: 5,679
|
Quote:
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. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,248
|
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. ![]() WP Stuff |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
Confirmed User
Join Date: Dec 2001
Location: SoCal
Posts: 1,651
|
Had the same problem on a 1200+ posts blog and used this plugin. Worked like a charm.
http://thedeadone.net/download/searc...dpress-plugin/ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
So Fucking Banned
Join Date: Aug 2008
Location: Just Blow Me
Posts: 10,551
|
Bump for you
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
Confirmed User
Join Date: Nov 2002
Posts: 1,249
|
What emil said, only you do it in phpmyadmin working on the database not in wordpress itself
|
![]() |
![]() ![]() ![]() ![]() ![]() |