Web Design and Development
One common problem with moving WordPress to a new domain or directory is that updating the settings does not update the permalinks or urls embedded in the content. This means that images and other uploaded content will not show up!
This plugin fixes that problem. It updates all urls and content links in your website to reflect the move to the new domain or directory.
Download the Update URLs plugin
Current stable version: 3.0
Compatible up to WordPress version 3.2.1

You can use WordPress' automatic install or follow the manual instructions below.
Was our plugin useful? Please make a donation to fund this and the development of other plugins.
For help with this plugin or suggestions, leave a comment below. For more general information on moving WordPress, check out our comprehensive guide.
3.0 – Confirmed compatibility with latest WordPress release, redesigned interface, added ability to update links in custom fields, improved security, added error messages, updated license, added details results, fixed typos, and added international language support.
2.0.1 – Confirmed compatibility with WordPress 3.1.x releases. Updated FAQs and Contributors.
2.0 – Simplified admin screen and added the ability to update links in excerpt fields. Updated code for full compatibility with WordPress 3.0 releases.
1.0.3 – Confirmed compatibility with recent WordPress releases.
1.0.2 – Fixed PHP short tag problem, so as to be compatible with all configurations.
1.0.1 – Eliminated conflicts with other plugins due to naming conventions.
Tags: links, urls, WordPressMoving To A New URL | SuperBlog Directory Blog
New name, same blog | The Domestic Buzz
How to Change the Name of Your Wordpress Blog in 10 Steps | From Blogger to Entrepreneur
How to migrate a Wordpress blog to a new domain | The Thinker
Move WordPress To another domain | TheNetShop
How I implemented MaxCDN to my blog without W3-Total-Cache!
Trackback URL for this entry:
http://www.velvetblues.com/web-development-blog/wordpress-plugin-update-urls/trackback/
Contact us today for a quote. Click here to submit details regarding your project.
If you are making a general inquiry, send an email to info@velvetblues.com
Thanks for the plugin.
Does it update a single URL i enter or it simply changes the whole permalink structure. For example if i change from www.domainname.com/index.php/archives/post-name/ to www.domainname.com/post-name/ can the plugin change all url from the old structure to the new one or i have to change url by url separately?
Thanks.
Thanks for visiting.
No, this plugin is for moving WordPress to a new domain or directory. So when you enter your ‘old’ and ‘new’ domains/urls, it will update the permalinks as well as any links in post/page content.
But that’s a great idea for an additional feature. It would be frustrating to update the permalink structure and then manually have to find all links using the old structure. I’ll have to add that to the next version.
Yes, that would be a good feature. Thanks for the plugin again. Great job!
use this plugin BEFORE or AFTER I moved the wordpress files??
You could use this plugin before or after, but I’d suggest after. Are you moving to a new domain or a new directory?
I have the problem of image theft and have used .htaccess to fix the problem. I have since found something that will work better for me but what I need to do is to change the DIR for the uploaded image files and also update the location in the posts for all posts/uploaded-images.
Will this pulgin do this for me?
No, this is plugin is just for moving WordPress. But that is another great feature that I’ll put on my list of things to add in the next version.
If moving to a new domain, what steps do you recommend?
@Luis, Your quickest method would be to use a WordPress export/import file.
Here are the steps:
1. On the old domain, go to ‘Manage -> Export’ and create a WordPress export file. It will contain all posts, pages, comments, categories, etc…
2. On the new domain, create a working WordPress installation.
3. On the new domain, go to ‘Manage -> Import’ and upload the export file you created in step 1.
4. Using FTP, (or whatever other method you prefer) download the old domain’s wp-content folder (namely for your theme, plugins, and uploads), and upload this to the new domain.
5. Install this Update URLs plugin and use it to update all links. This will fix all of the image links so that they don’t point to the old domain, as well as any other links that still have the old domain in them.
Let me know if you have any questions.
It appears to be a good plugin – I’ll see when I make the move!
Hi, does this plugin solve the SEO problem? 301 permanent redirection. The point is to find the simple way to preserve “old” search information and number of incoming readers…
No it doesn’t. It just makes it easier to move a blog by updating permalinks and content links.
For 301 redirection, you’ll have to modify your .htaccess file…
Does it also changes links on the coments email fields? If you comment on your own blog, you write your email and it can be @yourolddomain.com, does it changes it to @yournewdomain.com?
You say it updates permalinks, so I understand this overrides and modifies your wordpress permalinks settings, am I right? Or are you referring to any link inside the content of a post?
And, this is very similar to the search and replace plugin, is it not? Just easier for us.
No, it doesn’t change comments. It just updates the links in posts (if you select this option) and the permalinks.
When you move a WordPress blog, the permalinks aren’t updated. And the biggest thing that is affected by this is linked media. Your images and other uploads will not work. This plugin fixes that problem by making sure to replace all occurrences of the old location.
Yes, it does perform some of the same functions to the search and replace, except it is more specialized, and well suited for moving a website.
The permalinks doesn’t get updated even if you manually update the permalink settings in the wordpress dashboard?
If I change the permalinks on my actual blog, say to show short dates, then they get updated (and I was under the impression that they do so dynamically), so why is that in a new domain, if you manually set the permalinks to your liking, they don’t update?
Thanks in advance.
Haplo, these are two different things. This plugin is for moving a WordPress website….
If you are just updating your permalink structure, then you have no need for this plugin.
If, however, you move to a new domain, you will notice that your images (and other uploads) still point to the old domain. (Or if you create a custom function and use $post->guid, you will find that this value also uses the old domain.) This is because the actual WordPress database is not updated. It stays the same, regardless of the settings you choose in General->Settings. This plugin fixes that problem.
It has nothing to do with the actual permalink structure. It just updates the database to reflect the move.
I can’t seem to get through, lemme try again
…
I realize that this is for moving your blog to another domain, right now I’m doing that and I’m researching everywhere for things I’ll most likely come up. I’d rather have a solution beforehand.
Now, I understand this as a permalink:
http://www.velvetblues.com/web-development-blog/wordpress-plugin-update-urls/
That’s the link to this very post, wordpress calls it “permalink” and you can change its format under your dashboard. So far so good.
If you add an image to this post, and a link in the content to another part of your blog, those will NOT change automatically when you move your domain, how could they?
BUT the “permalink”, the link to this post, will change once you tell wordpress the new structure of the links, AND the blog url and blog home (or so I think).
Now, if you’re talking about those same permalinks as I am, then I really don’t understand why they won’t change, after all they’re generated dynamically by wp, and If you can change them now, why not later?
And, if you’re talking about those, then your plugin will come very much in handy, and the search and replace one, because that one also changes some tables that yours don’t, or so I seem to read about.
When you move to a new domain, your database IS NOT updated. However, when you update your settings, WordPress ‘parses’ the urls prior to outputting them, so it looks as though they are updated.
Problem 1. Images and Uploads. These are still linked to the old domain.
Problem 2. Plugins or Custom Functions that pull the url from the database. These will retrieve the old url, regardless of your settings because the database hasn’t been updated.
Problem 3. Links to other posts. These are also not updated.
The plugin fixes all of the above.
If you ever take a look at your WordPress database, you’ll see the problem. Navigate to the table wp_posts and look at the column ‘guid’.
For another perspective, see this blog:
http://www.mydigitallife.info/2007/10/01/how-to-move-wordpress-blog-to-new-domain-or-location/
Oh I see! That’s the “real” link to the posts and all, WP only masks them!
Well, thank you very much, will try your plugin later (I hope)
And yes, I have already looked at that link, but I don’t want to mess directly with sql commands unless I have no other choice, thanks!
Yep!
Hi Velvet Blues,
Can you please have a look at my blog? i have installed your plugin (THUMBS UP, i must say) and change the urls. However, it appear my pictures link come up with 2 domain name, that’s why it is still not showing. can you tell me what’s wrong?
Thanks!
Hi Boo,
I’ve taken a look… Have you transfered your ‘uploads’ folder to this new domain? I wasn’t able to find any of the images that are being referenced.
Hi Velvet Blues,
Yes, I actually use the “import” and “export” function by WP. I managed to import everything including the “uploads”. But I can’t view any of the pics because it was, like you mentioned here, still using the old domain name.
you can see the red dot on my blog, those are supposed to by my picture link. if you move your cursor on it, u can see the link location. i notice, they have double domain name on it hence the pictures is not showing.
is it because i created this blog in my root directory in my hosting? i am trying to create another test blog under subdirectory: www.boocasanova.com/blog and try changing the urls there.
but if possible, i would like to stay on the root directory: www.boocasanova.com.
thanks!
Hi Boo,
Yes, I took a look at your code. There are NO double urls. But urls are being referenced without the http, like this:
src=”www.boocasanova.com/wp-content/uploads/2008/10/addie-dopey-272×338.jpg”
That’s the first image. (If you are wondering why they show the double url when you try to view it, its because browsers ‘get confused’ without the http and assume its a relative link. But the url structure in your source code should work if images were present.)
…So if you put that url in your browser, it doesn’t actually retrieve an image. So, this is why I asked if your images were transferred.
http://www.boocasanova.com/wp-content/uploads/2008/10/addie-dopey-272×338.jpg
Please manually verify that your images are there. If not, you will have to upload them. In many cases, WordPress’ import/export function doesn’t actually import ‘uploads’.
hi again,
i just notice, even tho the “upload” folders were imported correctly but somehow the pictures file were not! am uploading the pics now.
and thanks for explaining the double url problem.
i think my problem is solved!
thanks!
Hopefully. Let me know if you run into any more problems.
THANK YOU SO MUCH! and especially your email coz that kinda save the day! i’m not sure why but perhaps because my WP is in the root directory, even tho using your plugin to change the urls but i still need to do another step in adding the “http://” as told by you in the email.
but if you see my test blog at www.boocasanova.com/blog, it doesn’t have this problem. so maybe this is a new issue you can look into.
once again thank you. i’ve been scratching my head for days wonder why the image is not showing.
Yes, it was strange. I’ve actually never seen that problem and I’d have to know all the steps you used as well as the format of your urls in your previous blog. (Feel free to send me the old url if it is accessible.)
But I’ve used this on many blogs without any problem… However, I’ll definitely add this as another ‘fix’ for the next version. (ie. automatically check image link format)
Anyway, I’m glad you’re up and running! Moving a website can be very frustrating.
i’ve mail you a lengthy explanation.
It is not stable anymore. I can’t get it to work
((
Plugin could not be activated because it triggered a fatal error.
Parse error: syntax error, unexpected $end in wp-content\plugins\velvet-blues-update-urls\velvet-blues-update-urls.php on line 92
Hi champ,
The plugin is fine. I think it might be an interaction with other plugins… I will be re-releasing another version shortly which should fix any possible naming interactions.
Btw, which other plugins are you using?
Thanks…
Well, I just released a patched version which should not have any naming conflict.
I have no wordpress experience.. I’m a programmer who works in M$ technologies.. my company has a wordpress blog called say foobar.com – they want to change the name to blog.companyname.com. I’m very confused as to if I have to create a new directory structure – copy files and then run the plugin / db updates or if I can just run the plugin and have the current db struct stay intact. Any help will be much appreciated.
To add.. I ran the 3 update statements mentioned in the following article.. http://www.mydigitallife.info/2007/10/01/how-to-move-wordpress-blog-to-new-domain-or-location/ – the updates work fine but then the site become unusable.. I get Great Success! Then a default apache page – so I bail and just set the wp_options siteurl back to original and it works again.. what am I missing?!
Assuming both are on the same server, you need to copy your site to the new directory. This means you will have two WP installs. Then, in the old install, update the settings. You should then be able to log into the new install, rendering the old one unusable.
I don’t get.. I have a domain with a fully functional wp site. http://thinkinginbox.com all I want to do ia change the domain to blog.blueskyfactory.com. If I change the IP address of blog. to thinkinginbox – i get an error.. ok so I change the siteurl in siteoptions then they both die? Can’t I just make the site work with a different domain without having to reinstall the entire site? currently our thinkinginbox domain is installed in the root web directory if that helps at all.. Sorry I really don’t know much about WP – typically I set up a site – ftp it.. setup DNS and it just works.. not sure where the mental block is here with my little brain . please help..
I’m a little confused… I don’t want 2 different installs of the same server.. I just want to make our current site that is installed on our root web directory… http://thinkinginbox.com to work with the domain http://blog.blueskyfactory.com… I changed my DNS – but when I try to use the domain I get an apache ‘Great Success – Apache is working on CPanel. And if I update the wp_options siteurl to the new domain – then both domains die..
How can I make our current install just work with a different domain? Is this possible or do I need to do a install on a different server?
never mind…. I figured it out.. was apache config issue..thanks
OK, I got this when I went to activate. Any ideas?
Parse error: syntax error, unexpected $end in C:\wamp\www\wp-content\plugins\velvet-blues-update-urls\velvet-blues-update-urls.php on line 92
Hmmm. We ran into this issue once with the initial release. There were some plugin interactions… If you are using the latest version (1.0.1) downloaded from the WordPress Repository, then it would have to be something else…
The other person who had this problem has a similar directory structure as yours… ie. a local/testing server… I have tested this on the XAMPP server but will investigate further.
Looking forward to a solution! I did get the latest release if that helps @ all. Maybe I’ll try turning off some plugins just to see Thanks!
Update. I tried turning off my plugins one by one and Update URLs threw the same error as posted above. hmmm.
Well, it must be something particular to local servers… I am still investigating this issue. Thanks again for your feedback.
I think i got it. I was looking around and found this…
http://www.mydigitallife.info/2006/04/23/php-parse-error-syntax-error-unexpected-end/
Changed in php.ini
short_open_tag = Off (2 instances) to =On, restarted WAMP services and the plugin activated!
If this works, this plugin will save me tons of time! Thanks!
Thanks so much! Let me know how it goes. I did use short tags in one location and am now updating the plugin.
I will. Thanks!
Is it possible to use this plugin to change
http://xyz.com/blah-blah-blah
to
http://abc.com/blah-blah-blah
automatically? I have tons of images which are still related to the old domain. Do I need to change the URL one by one or can it be done all automatically?
Cause I tried the plugin and it does not seem to work for me.
Yes, the plugin does just this. And it does all at once.
For it to work, you will need to enter the old and new urls in the respective fields and then submit.
Please send me the url of a page where it ‘didn’t seem to work’ and I’ll let you know what happened. One common problem is the use of ‘www’. Sometimes images are referenced in the database without the ‘www’. So you might try to update it like that. ie. http://newdomain.com and http://olddomain.com instead of www.newdomain.com and www.olddomain.com
Hi,
Thanks for your reply:
This URL is the one by Google and it does not work:
http://uhec.net/b/wp-content/uploads/2007/11/dumontboyschout1.jpg
In fact, the image is here:
http://lelectronlibre.net/b/wp-content/uploads/2007/11/dumontboyschout1.jpg
But it does not work…
Could you give me the url for the page on which this image is located?
Hi,
I was able to update the files and it shows correctly on my web site, but on google it’s still the old site and I’d like to update them…
I’m confused… If you are talking about Google’s image search, this plugin can’t help with that. Google’s indexes are completely unaffected by anything that we could do…
Perhaps I don’t understand the question?
Hmm… I have no doubt that in one year or more Google will have indexed my images correctly to the new URL. The problem right now is that those images are still linked to the old site, so I was looking for a way to change the link to the old site to the new site, e.g.: www.oldsite.com/image/image1.jpg to www.newsite.com/image/image1.jpg
Well, this plugin is for moving a site to a new location. It appears that you have moved from ‘uhec.net’ to ‘lectronlibre.net’. So when you run the plugin, all urls for your own uploaded images will be updated accordingly.
But this plugin does not affect any external websites.
It is possible, however, to create a redirect via an .htaccess file so that Google doesn’t redirect to a non-existent file, but this plugin doesn’t do that…
Thank you very much for your reply. It seems it does not help me, but still I think it is an interesting plugin. Thanks.
Great plugin, moving was quick and easy! Thank you!!
Thank you!
I love it
Cannot load velvet-blues-update-urls/velvet-blues-update-urls.php.
Know anything about this?
Hi heck, the plugin should work fine…
Tell me, what version of the plugin are you using and what version WordPress do you have?
At my new domain, I have the WP core installed in a subdirectory, /wordpress. Should my entered “New URL” be the blog URL (www.site.com) or the install directory (www.site.com/wordpress)? Will this affect links and image locations differently? Thank you very much.
Hi MT, This plugin is only for people who are physically moving their blogs from directory to directory. (ie. moving files or transferring to a new install) If that is indeed the case, then yes, you would then use this plugin using the links you’ve written above. And the plugin will update all links embedded in your content, as well as the image locations.
Hopefully that answered your question?
And it doesn’t update the settings or perform the move. It just does the ‘tidying-up’ that WordPress doesn’t do.
Hi. Were you responding to me? If so, I’m asking if I should input the blog URL or the WP install URL in the New URL input field. My install directory, where the WP files reside (subdirectory), is different from my blog directory (root of the domain).
Hmmm. I don’t think that this plugin is for you. Or maybe I don’t have enough information…
This plugin is for blogs that have been moved, not for any other kind of situation.
If your blog has been moved AND you have installed it such that the blog directory is different from the install directory, then you’d use the blog directory url.
You are my new best friend. Thanks for the script.
Haha. I’m glad our plugin helped you.
Sorry, but you’re not understanding. I know the plugin is for blogs that have moved. Got it. I have moved my blog. Long since done that. On my NEW server I have the WP scripts in rootfolder/subfolder. The blog address, as set in WP options, points to rootfolder (www.root.com — not www.root.com/subfolder). I’m merely asking which address (folder location) to put into the new URL input field. That’s all. There is no more information. You may keep this unpublished if you wish, as it’s rather exhausted at this point to continue anyway. I’ll take my chances, but know that this is FAR from a case of ME not understanding what the plugin is for. Someone else, though, will surely ask the same question.
Thanks MT for the ‘for Dummies’ version. Now I understand your predicament. I will need to update the plugin with a few more options to better handle this case.
Hi I’m trying to get my head around all this moving of wordpress.
If I want to move my blog from blog.mysite.com to mysite.com/blog will this plugin work? Do I need to redirect my url’s so google links still finds the posts.
Basically I to run a test site first at www.mysite.com build some content and set a theme up, them move my current blog post into this domain from blog.mysite.com.
whats the best way to go around this ?
Excellent plug in… saved tons of work, thank you! If I have some spare cash after Xmas I’ll be sure to send you a donation
Karen x
@Dean, Yes, you should redirect the urls for Google. (There is a plugin which also helps w/ redirects, but I can’t remember where I found it.)
@Soulgirl, I’m glad you found our plugin helpful.
Hi!!!
I add this lines to the code to update links in the meta data of the posts
$contquery = “UPDATE $wpdb->postmeta SET meta_value = replace(meta_value, ‘”.$oldurl.”‘,’”.$newurl.”‘)”;
$result = $wpdb->query( $contquery );
It’s very usefull
Thanks for sharing. That is useful.
I write through the translator. Why at me ??????????? an error….
Fatal error: Cannot redeclare velvetbluesuu_add_options_page () (previously declared in/home/www/z97904/www/suzuki-japan.ru/wp-content/plugins/velvet-blues-update-urls.php:29) in/home/www/z97904/www/suzuki-japan.ru/wp-content/plugins/velvet-blues-update-urls/velvet-blues-update-urls.php on line 30
@Ananas, this error is very strange because it shouldn’t happen unless more than one version of the plugin is installed… I will need to do some research to give you a better answer. Sorry for the inconvenience.
I was very excited to use this plugin. Unfortunately, it is saying “Cannot load velvet-blues-update-urls/velvet-blues-update-urls.php.”
Any idea why this might be happening? Is it compatible with WP 2.7?
Thanks in advance.
Jay
Great plugin! Made a really painful transfer from WordPress.com to a hosted blog that much easier. Although I have one issue and wonder if I botched something. After running the plugin all images seemed to correctly point to new hosted blog (awesome!, thank you) yet I am not seeing that the image is merely a scaled image of the original and not a cropped version as it was on wordpress.com. They are extremely large images (why?) but the image properties on the new hosted blog read as 3264px × 2448px (scaled to 300px × 225px) where on wordpress.com the image properties display 300px × 222px. Did I miss something?
Thanks for a great plugin!!
All I want to do is get the word “wordpress” out of our URL. Doesn’t matter to me what the directory name is. Will this tool help me accomplish this?
Thanks.
You are totally awesome, that plugin saved me doing nay SQL updates
Hello, i have installed wordpress ta domain.org, but i need to have domain.com as main domain (domain.org i wolud lik to be parked) of that installation. If ponit name servers (domain.com) to hosting where is wordpress installed would by blog work??
Moved blog from www.mydomain.com/blog to
www.myNewDomain.com
Had to revert back to WP default theme but will work on that later. Meantime links to categories and posts do not work. Tried plugin and got this error message
Cannot load velvet-blues-update-urls/velvet-blues-update-urls.php.
In looking at my phpMyAdmin in database under wp_posts, guid, it shows the correct (new) url already yet it still doesn’t work. Thought the plugin was what I needed but in reading your comments above in previous posts you suggested to look in this area to see how the actual url was listed, but mine is already correct yet still not looking. Any idea what is happening?
~ thanks for helping
Wow, this is a fantastic plugin.
I’ve just used it on a site we moved to a new domain which had +1000 posts with images so it was too much work to change the image urls to the new site.
The site is using the TimThumb script for thumbnails which doesn’t work unless the images are hosted on the same domain.
So this plugin was the solution! I copied the images across and changed all the urls and bingo!
There is a LOT of people having this problem with the TimThumb script and images from old domains, so this is a great solution and I’m posting it on a few forums where people have asked for help.
Cheers!
Hey! This looks just about perfect, because it’s either a plugin or I sit here and manually change this stuff… fffft. The peculiar issue I have, though, is that I’m transferring from one database to another (going from dev to live, with clean install) but it’s all on the same domain. Long story. Upshot is that the before & after fields would be effectively the same: would the plugin ‘read’ these anyway and perform the function regardless, or would it error out at me for putting in the same domain twice? Thanks for your help — and all your hard work on this!
reporting in: tried it anyway, and sadly, doesn’t work… ah, well. I suppose I must continue the search for something that will differentiate the database (compared to domain) in this kind of upgrade/shift, or I’ll be here for awhile fixing the permalinks, or maybe I’ll just learn to code around them! Thanks anyway.
Thanks! You just saved me a shiatload of time manually updating all my links!
Its great plugin. You save a lot of our time
Great plugin, thanks a lot! This has been a complete pain in the backside when more from a staging server to the live domain.
As mentioned somewhere above, if we could also filter the ‘meta_value’ column in wp_postmeta, that would be spot on. Good job all the same.
Im running WP 2.7.. I followed your method 2 directions with the update url plugin etc.. IT all worked as planned until I tried to remove the old directory… Then I get a blank screen when I navigate to the new directory or try to login etc…help!
Thank you so much! This plugin worked like a charm. I had spent hours trying to figure out how to change all of the urls for our image file thumbnails, but once I found your plugin, I was saved. Thank you again!
Love this Add in! Thanks.
Just about to move my blog to a new domain. Appreciate instructions! Looks like your plug in will be helpful as well. It says here compatible till 2.7. Will it work with 2.8.2?
Thanks!
Yes, it does work with 2.8.2.
This plugin rocks! Very simple solution to a temporary but rather large problem. So wonderful. Thanks!
Wow this is a handy plugin! I just moved a site from my local server to the live server and I had a ton of links to fix.
Then I remembered your plugin that you were telling me about at WordCamp Chicago. Thanks for this great contribution to the WordPress community!
@JLeuze: Glad my plugin could help! It’s definitely more handy than manually running a few database queries.
@Velvet Blues: Yeah, I try to avoid poking around in my databases manually if I can. I’ll definitely be keeping your plugin in my toolbox.
I dont install many plugins to keep wordpress lite…but this is one that I do use often. You should branch out into some other plugins..seems you have knack for them.
Scott L.
Dude, you rock! Thanks for the great plugin. And for me, it was especially handy because I use the “PDO (SQLite) For WordPress” plugin to enable SQLite as the database engine (specifically to make mini sites easier to move around from one sub-domain to another).
The updating URL stuff was painful and other plugins that do this attempt to access mySQL directly. I was glad to see you followed the API calls instead of direct database access!
Thanks for sharing!
HI thanks for your plugin.
Now I want to moving blog-A to blog-B.
just change the domain and no else. and both my blogs is in the same host.
can I do it this way?
I don’t change the mysql-DB, I copy all the files of A to domain-B, and login A, and use this plugin and change domain A to B ? can this way success ?
I have do this ,but domain B con’t show the site well .the atricles url is although the old A.
how can I do ?
thanks very much .
Hi there!
Thanks a million for this handy plug-in.
After my blog movement I was going to fix old images sources manually (by replacing them in DB dump), but your small tool did the work perfectly in 2 seconds!
SUPERB!
Hi,
We have recently migrated from an old site to this new domain, we have changed everything and setup a 301 redirection from Old domain >> to new one. We used search and update plugin to do the changes, I still have some questions:
1. Do i still need to use this plugin to cleanup the remains over?
2. Shall we remove wordpress from old domain?
Your answer will be appreciated.
Thanks and regards
Emily Burn
Worked like a charm, on WordPress 2.8.6. Thanks a million!
thank you for this plugin. it was a lifesaver.
You guys just saved me from a world of pain. Thanks a billion for this little one-click wonder.
Seriously, you rock!
Installed the plugin after using SSH access to move the wordpress website. I changed the URL in general settings and the main URL (wendyclousepaintings.co.uk)and it works but the links on the website still point to the old site. I used the plugin but it did not work.
Can you help?
Thanks for the powerful plugin,it helps me a lot!
I am getting
You do not have sufficient permissions to access this page.
when I try to update urls running the plugin, I have tried deactivating other plugins and tried another admin account, but still cant get it to run.
I tried using this on a blog with WordPress 2.8.6 and it returned a permissions error:
>>You do not have sufficient permissions to access this page.
Is there a particular file that needs higher permission level access…?
It is really good plugin for URL. it is really good tool becouse fixes all problems we had with url’s. thank you for suggesting us.
Just wanted to say thanks for writing this plugin– it worked great for me on WordPress 2.8.6. Really saved me a lot of time. WordPress should have this built in!
Thanks again,
-NorthK
Hi — this did not work for me at all. I was hosted on WordPress.com but wanted more control. So now I migrated all my content and then used your plug in but I was informed that I don’t have the propper authority to migrate those links. Doesn’t make sense to me… I just want to change them on my new site, not the WP.com version, which I plan to shut down as soon as I get thru these migration issues…
argh.
Hello,
Thanks for work, but I had the same problem as above poster – Error; “You do not have sufficient permissions to access this page.”
I’m logged in as admin.
VB update URL v1.0.3
WP v2.9.2
I really hope I can get it working cos I have hundreds, maybe over a thousand links to change!
Thanks.
Sorry for the double, but just to clear something up – I’m only moving from one subdirectory to another on my own (shared) server, not from WP site.
Thanks.
hi,
I’m getting the same error:
You do not have sufficient permissions to access this page.
even though I am running the plugin from an admin account.
Any idea what could be causing this?
Thanks,
Cristi
Nice plugin, thanks!
I’m using thumbnails in my posts and for achieving that I need to create a custom field where I enter the “http://old_server/path/file.jpg” URL.
Is it possible for this plugin to change that URL as well? If not, do you know any easy way to change all custom fields for the NEW_SERVER?
Cheers!!!
Works GREAT!…Saved me hours of work. Thanks
Boris
Hi, we’re having some serious trouble with your plugin. Right after installing it our site stopped working – really. It just gave a 404 error. I’ve been trying everything, deleting the plugin via FTP, putting it back, editing the different .htaccess files I have, nothing seems to work. Is there any chance you could help us?
I have the idea that POSSIBLY the issue has something to do with the fact that I already have .htaccess files making redirects in my site.
I really have no idea how all this works so I’m a bit at a loss.
Thanks a lot for your consideration,
Andrew
Just wanted to say a big thank you for this plugin. I have just used it while migrating a client’s site to a new domain and it worked easily and perfectly (WordPress 2.9.2). This has been a much easier process than I expected.
I already moved my post/comments to my new domain. should I delete the post/comments/files/ in the old domain?
i dont want google see duplicate content in my site
thanks
Using the Update URL to make changes to my new blog before dns propagated. The plugin worked fine for the first part (switching to the Temp address). However, when trying to update the links again now that dns is resolving, I get a “Permissions” error…
–You do not have sufficient permissions to access this page.
I have used this in the past and it worked great, but now I have upgraded to Worpress 3.0 and wish I hadn’t. I tried to use the plugin and it did not work at all. Are there any plans to make it compatible with 3.0.
Dear Friends,
Thank you for the very helpful plugin.
I just wanted to let you know, maybe for future versions, that the plugin does not update links that are inside excerpts.
All Things Good
Ronen
@iamronen: Thanks for your comment. The plugin will be updated shortly and that option will be added.
@David: This plugin should be compatible. I have used it on version 3.0. Either way, the plugin will be officially updated and a new version released. So it will be fully tested with 3.0.
Hi – I use WordPress 3.1 and this plugin doesn’t work at all; I’m using version 2 and tried twice, but all URLs are unchanged. Any suggestions? Thanks.
@Gillian: If there are no error messages, then the plugin should be working… What urls have you used? Perhaps you are not entering the right ones? (ie. http://domain.com is different from http://www.domain.com). Please let me know if you do get it working.
Hmmm – I’ve tried it again, and there are no error messages. It just says, “URLs have been updated.” The old URL is http://www.gkerr.com/logical/ and the new URL is http://www.logicaloutcomes.net/. If you look at the URLs for the menu items, you can see that none of them use logicaloutcomes.net.
@Gillian: Looking at your site, it appears that the plugin has worked! Your content urls and permalinks have indeed been updated. (Thumb through your content… Look at the location of the image on http://www.gkerr.com/logical/summary-points/ And other content links have been updated as well…) The only reason your navigation links haven’t changed is because you haven’t changed the url settings. Once you do that, the rest of your site’s urls which are tied to that ‘variable’ will update.
A little more info: Your site is using WP’s wp_list_pages function for the navigation. That function constructs the urls based on the url settings.
Thanks for your response! I will look at the url settings.
I had changed the urls within the pages already, using the “Search and Replace” plugin, but Search and Replace didn’t change the navigation urls.
Boy do I feel silly. Yes, of course you were right; I’ve changed URL int the settings and it’s all correct now. Thanks again.
Awesome! Thanks for the followup.
i am importing the SUBDOMAIN installation to new root domain.
when i import exported file to new domain, it ask about to import the attachments etc. i checked the box to import.
now, the images are imported in to my new content folder, gallery images are working fine. but the larg images added to post manually is also showing but linking back to orignal lacation and also imported to new location.
the plugin can fix this or not?
@aftab alam: Yes, that is exactly what this plugin does.
thanks for your QUICK reply.
before using your plugin on my new site, should i download the backup file via export to prevent any accident?
can you pleas check the site under my name to verify what i am saying?
one thing more, my old site also have some inner pingbacks. i think plugin will also change them?
This is a good idea. Sorry I didn’t find this plugin earlier, would have saved me a lot of work.
Hi there, I came across your plugin while looking into how to move my wordpress site from a folder the the root directory. I followed the instructions for the move and then installed the plugin and ran the update.
I put in www.myactualdomin/co.uk/site as the old url and www.myactualdomain.co.uk as the new url and the plugin said all urls had been changed and I could delete the plugin.
I did not delete the old folder, but I changed the name of the folder from ‘site’ to ‘site_old’ and then when I checked the page in my browser all the images had gone.
If I rename the old install folder back to ‘site’ all the images reappear, have I done something wrong?
Sorry for using shortened urls in this post but I don’t want my actual domain to show up in forum posts.
Any help would be welcome.
Thanks
Just wondering if anyone read the question above? I still need some help on the matter if anyone has any ideas. for some reason all the images I uploaded for posts are still pointing to the old directory and not the new one.
Thanks
Hi there. I have pored over most of these posts and I’m afraid my knowledge isn’t great enough to understand what I might need to do. Moved directory from /liminalscreeds.stoplighthaki.net to /liminalscreeds.net.
Images broken of course. run script – says successful, no change to images. still show as http://liminalscreeds.stoplighthaiku.net/etc. I’m thinking I am using the wrong url somehow?
Thank you so much for this plugin and any direction you can provide!!
I am trying to using your plugin to change my sites URL from IP address (an LAN IP address) to a domain name some.mydomain.com. it did not work at all. the site is still direct to the IP address. Does the Plugin work for change from IP address? I have multisite enabled. 3.0.1
Thanks.
@gazhaz: That is an odd problem. The plugin should change the location for your images. I suspect that something else might be going on, but I can only verify the problem if I could take a look at your site… When you changed the folder, in addition to renaming the physical location, did you also change the location of your site in WordPress admin settings?
@xty: Yes, verify that you are putting in the right url and make sure that you moved all images into the new location. If you were moving from example.subdomain.com to example.com, it would be helpful just to use those two domains, both without the http:// prefix.
@charleneg: The plugin does work for IP addresses. I’ve used it myself to move from IP addresses to a real domain. As for the multisite option, I have to do more testing to verify full compatibility.
Hi Velvet, thanks for your response, it is not a major problem, I have simply deleted the entire directory of the old installation other than the images folder, the urls still point to that folder for all posts that were posted before I moved the site.
I did change the settings in wp admin to create the new site location and the update urls plugin did change most of the urls just not the image ones for the original posts. Any posts I make now put the images into the images folder of the new location.
If you wanted to look at my site, email me and I will email my login details.
Thanks for your help
gazhaz
Thanks for this post – it was great and had my blog back and running in a few minutes!!
Brilliant plugin.
Feature request:
BuddyPress makes use of the website field in the standard WP Profile to store the permalink to a member’s profile page. When moving a Buddypress installation to a local development mirror the member links that appear throughout the Activity stream break. It would be awesome if your plugin could search and replace on that field too!
I read all the comments, do I win anything? ;-D
Looking forward to employing your plugin. Very impressive your taking the time to answer so many questions; even the dumb ones.
Velvet,
Thank you for the plugin.
I have read all the comments here and think something is closing to clicking in my brain, but I’m not quite there.
I had a number of installs at a hosting service (not mentioning names here) that didn’t have adequate security configurations and as a result mass injection code hacks occurred. It’s a long odyssey, but the bottom line is that I decided I had no choice but to move to a new hosting service.
My backups (my fault!) were too old and I am not experienced with moving a WordPress site.
The images are all messed up on all of these installs and we’ve been manually restoring as we have time.
The urls are the same, but @Haplo’s comment in 2008 makes me think that this plugin may still provide help:
Oh I see! That’s the “real” link to the posts and all, WP only masks them!
Most of these sites were addon domains to a primary, so while they would show mydomain.com, the true url on the backside would look like mydomain.primarydomain.com
Because these sites were addons, technically the URL HAS changed, right, and therefore the plugin can help restore these images? (WordPress IS masking as Haplo said?)
When I was looking at one of the “broken” images tonight, I clicked on it to look at the url in the WP media library. The message in the bottom of my browser bar, which reports status of the browser’s action said:
“Waiting for primarydomain.com…” and would switch by to the addon domain’s name for a second.
(I know I’m belaboring the point a bit, but I’m thinking of people like myself who read these comments and are trying to “glom on” to whether or not their specific circumstance is relevant.)
Thanks again for your plugin and I thank you in advance for considering my question.
Thank you so much for this great plugin..
Now my site is up and running fine..
no more URL issues..
Thanks again.
God Bless You!
Hi, good plugin, save me a lot of time. Thanks
Thanks for the fantastic plugin. I’m moving my subdomain blog http://node.technohub.in to a new domain in couple of days and this is the plugin am looking for. This plugin makes my work easier and no chance of loosing google indexing
Thanks Alot…
After a nightmarish URL change on my wordpress (removed my subdomain and just went back to the root address), I was left with about 800+ photos and links that I needed to replace. After googling search and replace, I came across your plug-in. It 100% perfectly corrected my image and link issues! I only wish I had found it hours sooner! You deserve a medal for this plug-in…words can’t describe my joy over your plug-in! Thank you! Thank you! Thank you!
@Jennifer: I am glad that the plugin helped you. I was prompted to write it myself after a nightmarish situation.
I don’t usually leave a comment but can I just say THANKS! you have just saved me hours changing URLS around. Good work mate and thanks again.
I must say your plugin is a lifesaver. I have a suggestion – can you have an “expert mode” where you can specify which database tables that should be parsed? Some plugins like wp-tables-reloaded use their own tables to store their data and this data may contain links as well.
Thanks a lot for this wonderful plugin.. Its save my a lot of time.
Hi, will this plugin update URLs / image URLs in custom fields in posts?
hey! Thanks! Works great. Fast and easy!
Hi, This good plugin. Thanks for share
Question.
Does this plugin replace going to admin panel, settings – general options and changing one or both of these??
WordPress address (URL)
Site address (URL)
Or does this plugin supplement that ??
Can I do one or the other or do I need to do that AND this plugin ??
TIA!!
I used your plugin and there’s still 85 instances in my database of the old domain. There was 85 before I used your plugin so it didn’t do anything.
FYI
Fantastic plugin. Quick and easy. Thanks!
Thanks a lot for this wonderful plugin.. Its save my a lot of time.
Nice plugin.
I was thinking of editing all of my articles to update the URL or image but the plugin did that for all articles in just 10 seconds.
Thanks for developing the plugin.
Keep making great plugins.
This is a great help, thanks for having this site, it save a lot of time and effort.
I updated all the urls on my other identical blog blog.tr.mehmetakifmalatyali.com and it works fine, but even though I did everything the same, I can’t get my blog blog.en.mehmetakifmalatyali.com to relink the urls for the images in posts.
Any help would be much appreciated.
Thanks in advance.
A very useful tool thanks!
I think that it worth mentioning that the plugin is case sensitive on this page though. This had me scratching my head for 5 minutes
Mike.
@Michael: Thanks. Do you know, in 2 years, you are the first person to mention that. I will make this plugin case insensitive. Thanks for the tip and I am glad that you found it useful.
Hello there,
I’m thinking about moving my blog to a new domain, and of course, I’m kinda freaking out because it’s a big deal.
In old domain, I have a few thousand posts. In each post, there is probably 2-3 links to existing posts on old domain.
When I move to new domain, I understand that these posts will have the new url structure but the links inside my posts will still point to old domain.
So if I understand correctly, your plugin will be able to edit all those links in my posts and update them with the new URL? Is that right? If so, that could be the best plugin ever created!
I am just anxious to find out before making the big move.
Thanks for your help.
s
Thanks a lot for this wonderful plugin.. Its save my a lot of time.
Jimmy Will´s last blog .
Hi–thanks for the plugin. have used it a couple times now, and i’m having one problem–it seems to update standard links i’ve associated with text just fine, but images i’ve added links to are not updating. Is there soemthing i’m missing?
Hi I’m curious if the plugin handles serialized data such as post meta and widget options. Also, does it search all the database tables or just select ones?
Thanks,
DaveE
Hello! I host through Go Daddy and I have just recently changed my blog domain from www.carmensalazarphotography.com/blog to www.carmensalazar.com/blog. I installed your Plugin and received a successful message and I have read through your entire feed here but I cannot seem to solve my problem of getting all of the images I’ve uploaded in my posts and on my rotating banner to show up. I looked in the file wp-content>uploads on my new domain (carmensalazar.com/blog) and I see the images in the monthly folders but they are not showing up on the blog. Would you be able to take a look at my blog and offer any advice? Thanks so much!
Carmen
I am one of the few who ran in to an issue; I wasn’t able to change the URL with this plug in.
I tried every iteration to no avail. Any help will be appreciated.
Update – all fixed!
Genius! Thanks so much!
Thank you!
Awesome plug-in, it really saved my butt a lot of manual work when moving my WP to a new domain
@David Paul Ellenwood: The plugin just handles the post content and excerpt. Perhaps the next iterations will have an option for post meta and widget content.
Thanks for stopping by!
Perfect thing for moving WordPress sites. Works for me, thanks.
Love the plugin but had some issues with it. Now i’m left reinstalling everything…my fault after trying to repair things.
Here’s why I need this plugin and maybe you can help me enter the proper values (“url’s). I’m moving my wordpress blog site to a different host. Let’s call the sample site travel.com with wordpress subdirectory – travel.com/wordpress but the subdirectory is hidden.
I’ve moved my content over to my new page “called” travelblitz.com with a wordpress subdirectory called “blog” (travelblitz.com/blog). All was looking good however my images we’re sill pointing to travel.com/wordpress/wp-content/uploads…etc.
I used the velvetblues plugin and all my pictures disappeared. The images outlines were there but no picture. Rolling over them revealed the target as travelblitz.com/wordpress. It used a bit of the old and a bit of the new.
OLD URL – travel.com
NEW URL – travelblitz.com
then tried
OLD URL – travel.com/wordpress
NEW URL – travelblitz.com/blog
Is there something I’m missing?
Thanks
I’ve been looking for a way to force the URL the image points to, to the image itself.
I use posterous sometime to post to my photoblog, I have a plugin “add linked images to gallery” to pull those images local, but the image url still points to posterous.
Checkout http://www.titus115.com/2011/06/4square/ to see an example.
Would your plugin change the clickable URL the image points to?
Fantastic!…………..now I won’t have to smash my computer. This just cured a major headache.
Awesome plugin! Thank you! It was very helpful for me and it saved me a lot of time and headache. I’ll recommend it to all my friends and blog readers.
I’m about to start a WordPress website but not sure whether to download 3.1 or 3.2. Is this plugin compatible with WordPress 3.2?
downloaded, installed, and ran this and basically nothing changed.
all i wanted to do was update my image links from ‘localhost’ to the live site ‘mysite.com’ and now i’ve had to do this manually for every single post.
something simple i’m missing or does this just not work?
@SB: Yes, this plugin is compatible with 3.2.
Love the plugin. This will save me a lot of time.
Amazing. Thank you so much for a great plugin. Have made a small donation to the cause; the first plugin I’ve donated to – I like it that much! And helped me sort out a problem that has caused a bit of a headache in the past to say the least
)
Hello, i have installed wordpress ta domain.org, but i need to have domain.com as main domain (domain.org i wolud lik to be parked) of that installation. If ponit name servers (domain.com) to hosting where is wordpress installed would by blog work??
Hi,
This looks like exactly what I need, but I wanted to check with you first. I have a wordpress site that is currently on http://my-domain.co.uk/wordpress
Once it looks the way I want it to, I set my web hosting subdomain redirect so that www.my-domain.co.uk would point to the my-domain.co.uk/wordpress folder, mistakenly believing this would take the site from offline to online.
What happened is that all the links and pictures broke, which I now understand is because of absolute web addressing, and wordpress not being able to find the ./wordpress folder anymore
So, I wanted to use your tool, but you say I should install it and use it after I have moved the site (set up the subdomain redirect). How do I do that, because the screen is a complete mess after I have changed the subdomain? Do I just log straight into the admin page, and will that still work normally? Does the login and admin pages not use explicit links?
Thanks…Perry
@Perry: The plugin does not modify your admin pages in any way. As for when to use the plugin, it can be used before or after the move.
Regarding your screen being a ‘complete mess’, I suspect that it has something to do with not updating your WordPress settings under Settings -> General. (Be careful, as you can lock yourself out of the admin area, but if you are changing the location of your site, you will need to update the Site Address and the WordPress Address.)
I have a problem with sidebar images not showing up, and my server manager gave me the suggestion that the urls were pointing to our old domain name, (mbcarpentry.com which we have now switched to markbrandoncontracting.com), so i did some research and came across your plug-in and tried it, but the problem still persists. I was wondering if this problem should have been solved by your plug-in, or if I should be looking for other reasons why the sidebar images will not load?
Thank you!
Hi Guys
I have a potential problem and your plugin may be just what I need.
This is my problem:
My client’s existing site is a static site, not a wordpress site.
Domain name of existing site is… http://www.the-chiropractors.co.uk/
I have set up a wordpress site on a different server and will shortly point the DNS settings away from the old static site to the new WordPress site.
New wordpress site will have the old domain name but be on a different server.
I can access the new WordPress site, before the DNS has been transferred, via a temporary URL code which my web host has given me.
Temporary URL takes the form http://host.qxxxxx.net/~username.
When I transfer the DNS, will it cause problems with the database?
i.e. will the temporary URL cause problems.
@Keith: Your problem is exactly why we created the plugin in the first place. When we develop websites on temporary URLs, this plugin fixes the problem prior to launch. All it does it update the URLs for images, links, and other media that you might set up when developing the new website. If you were just to transfer the DNS without updating the urls, the site would still work fine, but there would be links to that temporary url which aren’t ideal for the user experience or for SEO.
Hi, thank you for your awesome plugin. I had a problem were the images on my posts were pointing to an old address (ie: “www.site.com/imgs/”) and this plugin fixed it. Now the images are showing on the post. However, when I click on a image on a post to make it appear larger in another tab, the browser looks for it at the old url (“www.site.com/imgs/”). If I run your plugin again to remove the “/imgs/” from the URLs, it will fix the “when clicked images” but break the “images on post”. Do you think there´s a workaround this? If not it´s ok, as it´s a fair trade as the “make it larger when clicked” isn´t THAT important, but if there´s a way to fix this I would love to know. Thanks.
^ Just solved the problem above.
Just needed to rename the “blog page” permalink to the older name (called “blog”, by the way) and it fixed the issue. I had the blog page permalink changed in the first place as an attempt to solve the problem this plugin fixed in a second. So, yeah, thanks again
@mindmunch: I am glad that this fixed your problem.
Thanks for the feedback.
Thanks for the plugin, one question, not sure if it’s different than some of them, but, I am building a wp site on a subdomain of a wordpress site domain. The one I’m building is going to replace the one it’s subdomaining off of. Will this plugin do that? Example
www.mysite.com (working blog)
this new blog will replace that blog
www.mysite.com/yoursite
Hey everyone,
what if I just need to replace a portion of a url globally?
For example, if all the links I need to replace started with the subdomain of “abc.” and I just want to replace the subdomain of “abc.” with “xyz.” to make the updated urls read xyz.site.com/whatever…..
Can this plugin do exactly that and mass replace the subdomain while leaving the rest of the link in tact?
fo
@Jimmy: Yes, this plugin will help you. All you would need to do is put in the old subdomain – abc.domain.com – and then replace it with the new subdomain – xyz.domain.com.
Hey thank u for the quick reply.
Ok,to be clear, lets say I have 50 links to different pages on a site but all of them start with abc.domain.com/
So for example abc.domain.com/pageone
Abc.domain.com/pagetwo
And so on …. The only thing I want to change is the abc…. I want the full extension of the existing links to remain the same with the only change being the “abc”.
Would I do that the way you mention above? My concern is that I don’t want to just have the root domain … I need the full URL.
Lastly, this makes the changes to the HTML right? Because all my links use anchor text
Ok,to be clear, lets say I have 50 links to different pages on a site but all of them start with abc.domain.com/
So for example abc.domain.com/pageone
Abc.domain.com/pagetwo
And so on …. The only thing I want to change is the abc…. I want the full extension of the existing links to remain the same with the only change being the “abc”.
Would I do that the way you mention above? My concern is that I don’t want to just have the root domain … I need the full URL.
Lastly, this makes the changes to the HTML right? Because all my links use anchor text
I Was Looking For Something Like this!! thanks!!!!!!!
Thank you! You just saved me a lot of time and playing around with mysql which I didn’t want to do!
Thank you for helpful post. This is exactly what I looking for!
Great, this is exactly I was searching for. Thank you!
Is not not working with serialized data.
@Alex: Thanks for the observation; I hadn’t thought to manage that kind of data. The next version of the plugin will do this.
Hi
I need change the URL of http://myblog.com/wp-login.php to http://myblog.com/login. Id this possible with your plugin?
Thanks
@Edson: Sorry, our plugin does not change actual page names. All the plugin does is update domain or folder names when a site is moved.
My old site:
http://mercadder.com
My new site:
http://blog.mercadder.com
I´ve installed the plugin and receive a message: Success! 1 content items. Do I have to do link by link?
@mercadder: No. That means that there was only one item in your website’s content that was updated. Apparently, no other matches were found.
Yes, my mistake.
The plugin have to be installed in the NEW blog. (duuu).
BTW images links were changed (i didn´t select it). So, I copied the “uploads” folder to the new blog, and resolve it.
Thank you very much. Definitelly I´ll create a post with your great plugin.
Regards.
Thanks! You just saved me a whole lot of time updating image links. My donation is on its way!
Hi, I hope you can help me with this:
Old links in google and other websites get 404. How can this be resolved?
Old site: mercadder.con
New site: blog.mercadder.com. (adon domain)
Thank you.
Im having a problem, when I moved files to a new directory and used blue to update the files url. Instead of it updating it, it just added it to the current url. so now i have this : http://http//gotwood.ws/wp-content/uploads//2011/14//2011/06/gwstore.jpg,
when it needs to be http//gotwood.ws/wp-content/uploads/2011/06/gwstore.jpg