Wordpress how to redirect specific URL from multiple posts to a different URL?

Scorpion Ghost

Elite Member
Executive VIP
Jr. VIP
Joined
Mar 22, 2013
Messages
9,146
Reaction score
10,489
So I use Bitly to shorten some links in my wordpress posts, with the idea that at a later date I can change the redirect easily. Apparently this is not available in Bitly anymore, unless you pay. Yeah, right.

What plugin or even code can I use to take, say, bit.ly/whatever, which is scattered between many of the posts on my website, and redirect it to somesite.com/something?

Thanks
 
Okay, i used the Better Search Replace plugin to find all the instances of the old URL and replace with the new URL. Seems to have worked.

https://wordpress.org/plugins/better-search-replace/

Edit: oh, fuck you bitly!

Edit 2: this is why you host all your own shit, so you don't run into situations like this
 
So I use Bitly to shorten some links in my wordpress posts, with the idea that at a later date I can change the redirect easily. Apparently this is not available in Bitly anymore, unless you pay. Yeah, right.

What plugin or even code can I use to take, say, bit.ly/whatever, which is scattered between many of the posts on my website, and redirect it to somesite.com/something?

Thanks
WP redirect plugins allow you to redirect tens and hundreds of URLs on your website, this plugin lets you redirect a complete website to another domain name. It can be done with both permanent and temporary redirections.
 
Back
Top