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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 05-27-2010, 12:18 PM   #1
Shoplifter
Richest man in Babylon
 
Shoplifter's Avatar
 
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
Shoplifter is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-27-2010, 01:02 PM   #2
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,248
theirs a search and replace wordpress plugin
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-27-2010, 01:03 PM   #3
Marquis85
Confirmed User
 
Marquis85's Avatar
 
Industry Role:
Join Date: Apr 2009
Posts: 622
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
Marquis85 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-27-2010, 01:10 PM   #4
Emil
Confirmed User
 
Emil's Avatar
 
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.)
Emil is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-27-2010, 01:26 PM   #5
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
Quote:
Originally Posted by Emil View Post
update `wp_posts` set `post_content` = replace(`post_content`, ?replace_that?, ?with_this?);
This will do.
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-27-2010, 01:32 PM   #6
FlexxAeon
Confirmed User
 
FlexxAeon's Avatar
 
Industry Role:
Join Date: May 2003
Posts: 3,765
Quote:
Originally Posted by Emil View Post
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
FlexxAeon is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-27-2010, 01:33 PM   #7
Fat Panda
Porn is Dead. Move along.
 
Fat Panda's Avatar
 
Industry Role:
Join Date: Aug 2006
Posts: 13,295
i would use search and replace
Fat Panda is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-27-2010, 01:39 PM   #8
d-null
. . .
 
d-null's Avatar
 
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
d-null is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-27-2010, 01:47 PM   #9
zargan
Confirmed User
 
Join Date: Jan 2007
Posts: 445
Quote:
Originally Posted by Shoplifter View Post
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
zargan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-27-2010, 02:08 PM   #10
Shoplifter
Richest man in Babylon
 
Shoplifter's Avatar
 
Industry Role:
Join Date: Jan 2002
Location: Posts: 10,002
Posts: 5,679
Quote:
Originally Posted by d-null View Post
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.
Shoplifter is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-27-2010, 02:31 PM   #11
fris
Too lazy to set a custom title
 
fris's Avatar
 
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
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-27-2010, 03:08 PM   #12
Houdini
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/
Houdini is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-28-2010, 01:37 AM   #13
LoveSandra
So Fucking Banned
 
Join Date: Aug 2008
Location: Just Blow Me
Posts: 10,551
Bump for you
LoveSandra is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-28-2010, 05:15 AM   #14
Hentaikid
Confirmed User
 
Hentaikid's Avatar
 
Join Date: Nov 2002
Posts: 1,249
What emil said, only you do it in phpmyadmin working on the database not in wordpress itself
Hentaikid is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.