I want “a link” in my content “automaticly” replace with “new link”
Heres the explanation, in my all post content I want a link of www.lol.com/?http:/rapidshare.com
automaticly replace with new link http://rapidshare.com
Whats the code to add in my functions.php ?? or any plugin that automaticly replace that old link with new one?
This is the SQL:
Either inject it directly into the database (via PHPmyAdmin and the like) or use WordPress to do so.
Here’s the WordPress way:
// EDIT
For completeness (as @birgire suggested): if you don’t know the table prefix, you can let WordPress look that up: