WordPress Plugin: Update URLs

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.2.2

Compatible up to WordPress version 3.9

Features

  • Choose to update links embedded in content, excerpts, or custom fields
  • Choose whether to update links for attachments
  • View how many items were updated

Screenshot

Velvet Blues Update URLs WordPress Plugin

Installation

You can use WordPress’ automatic install or follow the manual instructions below.

  • Download the plugin and unzip.
  • Put the velvet-blues-update-urls folder in your wp-content/plugins folder.
  • Activate the plugin through the WordPress admin.
  • Access the plugin by going to Settings -> Update URLs.

FAQs

  1. Do I need to approve each change? Or does the plugin update all urls at once? The plugin updates all urls at once. However, the next version will give you the option to ‘Replace All’ or selectively replace/edit some urls.
  2. What do I do if it doesn’t work? Verify that the urls that you entered are correct and try again. If it still doesn’t work, post a comment to ask for support. Note: URLs are only replaced if an exact match is found. (Matching is case-sensitive.)
  3. Why aren’t the urls in my navigation updated? Depending on the settings of your theme, the ‘root domain’ of your urls may be controlled by the url addresses that you’ve set in your site settings.
  4. Can I deactivate the plugin when I’m done? Yes. All changes are permanent. After using the plugin, you can safely deactivate and remove it.

To Do

  • Add additional options for capitalization and case-insensitivity.
  • Additional options for custom fields. Done!
  • Language support. Done!
  • Get hosted by WordPress.org  Done!

Donate

Was our plugin useful? Please make a donation to fund this and the development of other plugins.

Support

For help with this plugin or suggestions, leave a comment below. For more general information on moving WordPress, check out our comprehensive guide.

WordPress Move Service – ONLY $65

Want us to move your site for you? We charge $65 and guarantee satisfaction.1 Contact us at info@velvetblues.com and we will respond to your inquiry within 24 hours, on typical business days.

Change Log

3.2.2 – Confirmed compatibility with latest releases, relocated Update URLs tab to Tools section, and added serialization checks for post meta.

3.2.1 – Added Turkish language file and miscellaneous bug fixes.

3.2 – Confirmed compatibility with WordPress 3.6.x releases, added option to search within links, and updated success and error messages.

3.1 – Confirmed compatibility with WordPress 3.5 release.

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 detailed results messages, 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.

  1. For large websites or websites with a lot of media, we may ask for a higher move fee. Most sites do not fall in this category. []
Tags: , ,

269 Responses to “WordPress Plugin: Update URLs”

  • SEO/SEM blog October 5, 2008 at 6:26 am

    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.

    • Velvet Blues October 5, 2008 at 7:13 am

      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.

  • sunny October 6, 2008 at 12:56 am

    use this plugin BEFORE or AFTER I moved the wordpress files??

    • Velvet Blues October 6, 2008 at 1:09 am

      You could use this plugin before or after, but I’d suggest after. Are you moving to a new domain or a new directory?

  • Dag October 6, 2008 at 1:11 pm

    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?

    • Velvet Blues October 6, 2008 at 6:02 pm

      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. :-)

  • Luis October 9, 2008 at 5:01 am

    If moving to a new domain, what steps do you recommend?

    • Velvet Blues October 9, 2008 at 7:57 am

      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.

  • Susan October 9, 2008 at 10:12 pm

    It appears to be a good plugin – I’ll see when I make the move!

  • pet October 13, 2008 at 11:33 am

    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…

    • Velvet Blues October 13, 2008 at 11:49 am

      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…

  • Haplo October 16, 2008 at 10:12 pm

    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.

    • Velvet Blues October 16, 2008 at 11:10 pm

      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.

      • Haplo October 16, 2008 at 11:14 pm

        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.

        • Velvet Blues October 16, 2008 at 11:24 pm

          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.

        • Haplo October 16, 2008 at 11:40 pm

          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.

        • Velvet Blues October 16, 2008 at 11:54 pm

          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/

        • Haplo October 17, 2008 at 12:01 am

          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)

        • Haplo October 17, 2008 at 12:02 am

          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!

        • Velvet Blues October 17, 2008 at 12:03 am

          Yep! :-)

  • Boo Casanova October 25, 2008 at 8:57 am

    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!

    • Velvet Blues October 25, 2008 at 9:30 am

      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.

      • Boo Casanova October 25, 2008 at 9:46 am

        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!

        • Velvet Blues October 25, 2008 at 9:57 am

          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’.

        • Boo Casanova October 25, 2008 at 9:59 am

          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!

        • Velvet Blues October 25, 2008 at 10:17 am

          Hopefully. Let me know if you run into any more problems. :-)

        • Boo Casanova October 25, 2008 at 12:13 pm

          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.

        • Velvet Blues October 25, 2008 at 12:19 pm

          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. :-)

        • Boo Casanova October 25, 2008 at 12:32 pm

          i’ve mail you a lengthy explanation. :)

  • champ October 27, 2008 at 9:38 pm

    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

    • Velvet Blues October 27, 2008 at 9:47 pm

      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…

    • Velvet Blues October 27, 2008 at 10:36 pm

      Well, I just released a patched version which should not have any naming conflict.

  • Ken November 6, 2008 at 9:01 pm

    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.

    • Ken November 6, 2008 at 9:22 pm

      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?!

    • Velvet Blues November 6, 2008 at 9:31 pm

      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.

      • Ken November 9, 2008 at 9:01 pm

        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..

      • Ken November 9, 2008 at 9:25 pm

        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?

      • Ken November 9, 2008 at 10:21 pm

        never mind…. I figured it out.. was apache config issue..thanks

  • Scott November 12, 2008 at 2:19 pm

    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

    • Velvet Blues November 12, 2008 at 8:11 pm

      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.

      • Scott November 17, 2008 at 10:56 am

        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!

      • Scott November 17, 2008 at 11:03 am

        Update. I tried turning off my plugins one by one and Update URLs threw the same error as posted above. hmmm.

        • Velvet Blues November 17, 2008 at 11:37 am

          Well, it must be something particular to local servers… I am still investigating this issue. Thanks again for your feedback.

        • Scott November 17, 2008 at 1:12 pm

          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!

        • Velvet Blues November 17, 2008 at 1:19 pm

          Thanks so much! Let me know how it goes. I did use short tags in one location and am now updating the plugin.

        • Scott November 17, 2008 at 1:35 pm

          I will. Thanks!

  • Louis-Philippe November 17, 2008 at 4:41 pm

    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.

    • Velvet Blues November 17, 2008 at 4:48 pm

      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

      • Louis-Philippe November 17, 2008 at 4:52 pm

        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…

        • Velvet Blues November 17, 2008 at 4:54 pm

          Could you give me the url for the page on which this image is located?

        • Louis-Philippe November 17, 2008 at 4:59 pm

          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…

        • Velvet Blues November 17, 2008 at 5:02 pm

          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?

        • Louis-Philippe November 17, 2008 at 5:05 pm

          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

        • Velvet Blues November 17, 2008 at 5:14 pm

          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…

        • Louis-Philippe November 17, 2008 at 5:16 pm

          Thank you very much for your reply. It seems it does not help me, but still I think it is an interesting plugin. Thanks.

  • Henrique November 21, 2008 at 8:46 am

    Great plugin, moving was quick and easy! Thank you!!

  • Cahya November 21, 2008 at 8:53 pm

    Thank you!
    I love it

  • heck December 7, 2008 at 9:12 pm

    Cannot load velvet-blues-update-urls/velvet-blues-update-urls.php.

    Know anything about this?

    • Velvet Blues December 7, 2008 at 9:29 pm

      The plugin should work fine…
      Tell me, what version of the plugin are you using and what version WordPress do you have?

  • MT December 14, 2008 at 7:21 am

    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.

    • Velvet Blues December 14, 2008 at 7:49 am

      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.

      • MT December 14, 2008 at 8:21 am

        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).

        • Velvet Blues December 14, 2008 at 10:50 am

          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.

        • MT December 15, 2008 at 7:53 pm

          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.

        • Velvet Blues December 16, 2008 at 7:24 am

          Thanks 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.

  • Josh December 14, 2008 at 7:42 pm

    You are my new best friend. Thanks for the script.

  • Dean December 16, 2008 at 3:06 pm

    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 ?

    • Velvet Blues December 17, 2008 at 6:19 pm

      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 December 17, 2008 at 2:13 pm

    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

  • Erick Gonzalez December 18, 2008 at 12:44 am

    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

  • ANANAS January 4, 2009 at 11:12 am

    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

    • Velvet Blues January 4, 2009 at 1:21 pm

      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.

  • Jay January 28, 2009 at 5:04 pm

    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

  • Derek January 29, 2009 at 9:32 pm

    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!!

  • BobG February 3, 2009 at 7:38 pm

    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.

  • Barry March 2, 2009 at 5:01 pm

    You are totally awesome, that plugin saved me doing nay SQL updates

  • March March 31, 2009 at 7:33 am

    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??

  • Donna April 4, 2009 at 3:36 am

    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

  • Sean OBrien April 20, 2009 at 11:15 pm

    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!

  • kaigou April 29, 2009 at 11:23 am

    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!

  • kaigou April 29, 2009 at 12:08 pm

    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. ;)

  • Chris June 1, 2009 at 7:12 am

    Thanks! You just saved me a shiatload of time manually updating all my links!

  • Chandra Wijaya June 8, 2009 at 12:59 am

    Its great plugin. You save a lot of our time :D

  • rich June 9, 2009 at 8:02 am

    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.

  • ep June 21, 2009 at 1:29 am

    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!

  • Helena June 29, 2009 at 9:37 pm

    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!

  • Jodie Miners July 2, 2009 at 2:50 am

    Love this Add in! Thanks.

  • Tango Atlanta August 3, 2009 at 1:25 am

    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!

  • Tim August 5, 2009 at 10:44 pm

    This plugin rocks! Very simple solution to a temporary but rather large problem. So wonderful. Thanks!

  • JLeuze August 6, 2009 at 2:42 pm

    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!

    • Velvet Blues August 7, 2009 at 2:27 pm

      Glad my plugin could help! It’s definitely more handy than manually running a few database queries. :-)

      • JLeuze August 8, 2009 at 12:45 am

        Yeah, I try to avoid poking around in my databases manually if I can. I’ll definitely be keeping your plugin in my toolbox. :)

  • Scott Lifts August 13, 2009 at 10:52 am

    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.

  • Eric P October 21, 2009 at 2:15 pm

    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!

  • kuo October 25, 2009 at 5:24 am

    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 .

  • chrishoneybee November 3, 2009 at 1:43 pm

    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!

  • Emily | The Watch Press November 15, 2009 at 2:18 pm

    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

  • Andreas November 16, 2009 at 8:57 am

    Worked like a charm, on WordPress 2.8.6. Thanks a million!

  • hannah November 17, 2009 at 2:18 pm

    thank you for this plugin. it was a lifesaver.

  • alex November 21, 2009 at 8:48 am

    You guys just saved me from a world of pain. Thanks a billion for this little one-click wonder.

    Seriously, you rock!

  • Anthony December 2, 2009 at 9:08 pm

    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?

  • hongmian812 December 6, 2009 at 2:24 pm

    Thanks for the powerful plugin,it helps me a lot!

  • Barrie December 16, 2009 at 4:05 pm

    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.

  • John December 16, 2009 at 10:21 pm

    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…?

  • Star Config Web Design January 8, 2010 at 10:11 pm

    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.

  • NorthK January 16, 2010 at 10:45 pm

    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

  • peterp March 4, 2010 at 9:14 am

    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.

  • Hans March 11, 2010 at 4:32 am

    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.

  • Hans March 11, 2010 at 4:34 am

    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.

  • mosoo March 17, 2010 at 5:03 am

    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

  • spanish_biker79 April 17, 2010 at 7:29 pm

    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!!!

  • boris April 19, 2010 at 11:18 pm

    Works GREAT!…Saved me hours of work. Thanks

    Boris

  • Andrew May 1, 2010 at 2:27 pm

    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

  • Roger May 15, 2010 at 1:51 am

    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.

  • durian June 6, 2010 at 12:10 am

    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

  • lukep June 20, 2010 at 2:42 pm

    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.

  • David July 22, 2010 at 9:30 pm

    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.

    • Velvet Blues August 8, 2010 at 11:57 am

      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.

  • iamronen July 28, 2010 at 4:24 am

    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

  • Gillian August 12, 2010 at 1:02 pm

    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.

    • Velvet Blues August 12, 2010 at 7:57 pm

      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.

      • Gillian August 12, 2010 at 11:49 pm

        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.

        • Velvet Blues August 13, 2010 at 1:18 am

          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.

        • Gillian August 13, 2010 at 7:32 am

          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.

        • Gillian August 13, 2010 at 8:57 am

          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.

        • Velvet Blues August 13, 2010 at 11:02 am

          Awesome! Thanks for the followup. :-)

  • aftab alam August 26, 2010 at 3:54 pm

    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?

    • Velvet Blues August 26, 2010 at 4:01 pm

      Yes, that is exactly what this plugin does.

      • aftab alam August 26, 2010 at 4:08 pm

        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?

  • Brian Talk September 20, 2010 at 7:09 pm

    This is a good idea. Sorry I didn’t find this plugin earlier, would have saved me a lot of work.

  • gazhaz November 11, 2010 at 7:02 pm

    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

    • gazhaz November 12, 2010 at 5:57 pm

      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

    • Velvet Blues November 20, 2010 at 5:22 am

      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?

      • gazhaz November 20, 2010 at 6:07 am

        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

  • xty November 13, 2010 at 1:49 pm

    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!!

    • Velvet Blues November 17, 2010 at 11:59 am

      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 November 19, 2010 at 5:06 pm

    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.

    • Velvet Blues November 20, 2010 at 5:36 am

      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.

  • Directory Europe November 23, 2010 at 6:03 pm

    Thanks for this post – it was great and had my blog back and running in a few minutes!!

  • aljuk December 15, 2010 at 5:09 pm

    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!

  • Flash Buddy December 17, 2010 at 8:20 am

    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.

  • Shelli December 20, 2010 at 3:50 am

    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.

  • Anas Munir December 27, 2010 at 6:00 pm

    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!

  • Computer Repairs Sydney January 10, 2011 at 8:27 pm

    Hi, good plugin, save me a lot of time. Thanks

  • Navin January 13, 2011 at 4:35 am

    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…

  • Jennifer Hibbard January 13, 2011 at 1:36 pm

    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!

  • Tom White January 13, 2011 at 8:22 pm

    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.

  • Aditya Sanyal January 18, 2011 at 10:56 am

    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.

  • Jimmy Will January 19, 2011 at 12:55 am

    Thanks a lot for this wonderful plugin.. Its save my a lot of time.

  • David January 24, 2011 at 4:55 pm

    Hi, will this plugin update URLs / image URLs in custom fields in posts?

  • kaspar February 1, 2011 at 3:40 am

    hey! Thanks! Works great. Fast and easy!

  • wawan February 8, 2011 at 4:24 am

    Hi, This good plugin. Thanks for share

  • John February 16, 2011 at 2:17 pm

    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!!

  • Chris February 25, 2011 at 10:13 am

    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

  • john sheahan February 28, 2011 at 3:55 am

    Fantastic plugin. Quick and easy. Thanks!

  • saira March 7, 2011 at 2:35 am

    Thanks a lot for this wonderful plugin.. Its save my a lot of time.

  • science and math March 12, 2011 at 3:27 am

    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.

  • edelyn cabalhin March 15, 2011 at 3:38 am

    This is a great help, thanks for having this site, it save a lot of time and effort.

  • Mehmet Akif Malatyali March 17, 2011 at 5:37 pm

    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.

  • Michael Wynne April 4, 2011 at 12:30 pm

    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.

    • Velvet Blues April 5, 2011 at 4:53 pm

      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.

  • Sebastien April 15, 2011 at 8:50 pm

    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

  • vcd April 18, 2011 at 12:27 pm

    Thanks a lot for this wonderful plugin.. Its save my a lot of time.
    Jimmy Will´s last blog .

  • Eric April 21, 2011 at 5:32 pm

    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?

  • David Paul Ellenwood May 9, 2011 at 12:14 pm

    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

    • Velvet Blues May 26, 2011 at 3:33 am

      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!

  • Carmen May 12, 2011 at 8:00 am

    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

  • Will May 15, 2011 at 4:17 pm

    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.

  • Jeffrey May 17, 2011 at 2:36 pm

    Genius! Thanks so much!

  • Caleb May 19, 2011 at 2:15 am

    Thank you!

  • Tim May 20, 2011 at 4:05 pm

    Awesome plug-in, it really saved my butt a lot of manual work when moving my WP to a new domain :)

  • John Braun June 7, 2011 at 2:52 pm

    Perfect thing for moving WordPress sites. Works for me, thanks.

  • Tim June 14, 2011 at 7:20 pm

    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

  • JasonB June 25, 2011 at 4:06 pm

    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?

  • Jared Shear July 7, 2011 at 11:54 pm

    Fantastic!…………..now I won’t have to smash my computer. This just cured a major headache.

  • Karavelikov July 10, 2011 at 3:49 am

    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.

  • SB July 16, 2011 at 8:25 am

    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?

  • luke July 25, 2011 at 3:47 am

    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?

  • Adrenaline Films August 12, 2011 at 11:23 am

    Love the plugin. This will save me a lot of time.

  • Ali August 13, 2011 at 4:06 am

    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 :o )

  • AJIT BHANDARI August 19, 2011 at 9:53 am

    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??

  • Perry August 24, 2011 at 12:03 pm

    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

    • Velvet Blues August 24, 2011 at 8:27 pm

      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.)

  • mbc September 2, 2011 at 12:32 pm

    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!

  • Keith Davis September 18, 2011 at 1:47 pm

    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.

    • Velvet Blues September 23, 2011 at 10:42 am

      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.

  • mindmunch September 27, 2011 at 8:51 am

    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.

    • mindmunch September 27, 2011 at 10:21 am

      ^ 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 :)

  • Mark Roberts October 7, 2011 at 11:34 pm

    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

  • Jimmy October 12, 2011 at 6:24 am

    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

    • Velvet Blues October 12, 2011 at 6:34 am

      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.

      • Jimmy October 12, 2011 at 6:47 am

        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

      • Jimmy October 12, 2011 at 7:40 pm

        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

  • Mark October 15, 2011 at 10:13 pm

    I Was Looking For Something Like this!! thanks!!!!!!!

  • Kyra October 18, 2011 at 10:07 am

    Thank you! You just saved me a lot of time and playing around with mysql which I didn’t want to do!

  • Michelle October 19, 2011 at 6:14 am

    Thank you for helpful post. This is exactly what I looking for!

  • Ellen October 25, 2011 at 6:05 am

    Great, this is exactly I was searching for. Thank you!

  • Alex October 28, 2011 at 9:09 am

    Is not not working with serialized data.

    • Velvet Blues October 28, 2011 at 9:12 am

      Thanks for the observation; I hadn’t thought to manage that kind of data. The next version of the plugin will do this.

  • Edson November 16, 2011 at 2:06 pm

    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

    • Velvet Blues November 18, 2011 at 8:12 am

      Sorry, our plugin does not change actual page names. All the plugin does is update domain or folder names when a site is moved.

  • mercadder November 28, 2011 at 4:14 pm

    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?

    • Velvet Blues November 28, 2011 at 4:16 pm

      No. That means that there was only one item in your website’s content that was updated. Apparently, no other matches were found.

      • mercadder November 28, 2011 at 5:12 pm

        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.

      • mercadder December 4, 2011 at 7:00 pm

        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.

  • Jenny December 4, 2011 at 2:57 pm

    Thanks! You just saved me a whole lot of time updating image links. My donation is on its way!

  • gotword December 20, 2011 at 1:44 pm

    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

  • Jenna January 29, 2012 at 2:34 am

    Thanks for this! I moved my files from http://site.com to http://site.com/folder and this plugin worked like a charm to update over 500 image links. Just wanted to assure everyone who is interested in a move like this (for greater security) that this plugin is up to the task.

  • birgitte February 1, 2012 at 2:14 pm

    Thank you so much for this wonderful piece of magic.
    This plugin has saved me a ton of time, I am very grateful.
    I feared that I had to move/alter all my videos manually as they were left pointing at my old URL when I made the move to my current URL.
    It looks like this plugin did the job for me and without any hurdles of any kind.

  • Elektronik Shop February 14, 2012 at 4:49 pm

    Awesome plugin! Thank you! It was very helpful for me and it saved me a lot of time and headache.

  • Stan Dubin February 14, 2012 at 8:59 pm

    Is there a way to undue what the plug-in does if there’s a need to?

    • Velvet Blues February 15, 2012 at 9:20 am

      No, all changes are permanent. If you want to change the link that you put in, you can run it again with the inputs reversed. (Thanks for your comment. In the next release, I will put a note about all changes being permanent AND to backup if you are in doubt about your changes.)

  • Zaa March 15, 2012 at 10:41 am

    Thanks a lot! You saved me hoursss!!!

  • Cheryl Sousa Riley March 17, 2012 at 11:18 am

    This plugin is a GODSEND. Thank you so much!

  • Mobile Locksmith Brisbane April 30, 2012 at 7:22 am

    Thanks for this! I moved my files from http://site.com to http://site.com/folder and this plugin worked like a charm to update over 500 image links.

  • Liva May 1, 2012 at 10:01 am

    Thank you for this usefull plugin.

    Clever, simple, easy to use, and fast. No more to say, it convinced me to donate. It deserves.

    Continue.

  • Adrienne Welsh May 28, 2012 at 4:32 pm

    Brilliant! After switching from .org to .com I had the site put back together again in minutes – over 1,000 changes! Thank-you

  • Roger June 5, 2012 at 10:16 am

    This plugin is just what I needed! I know that phpMyAdmin can be used on sites to do this, but I’m not comfy using it, and don’t know all the scripts that do the find/change for you. I tried the “Find and Replace” plugin, but it too seemed risky if not done properly. Your “Update URLs” plugin was perfect! Thanks!!

  • Jack D. Pond June 7, 2012 at 10:27 pm

    Great plugin. Have you thought about making changes in the wp_options table too? Here’s code that would do that for you if interested ($i counts the times it occurs):

    $table=”wp_options”;
    $result = mysql_query(“SELECT * FROM $table”);
    if (!$result) {
    die (“Could not access $table: ” . mysql_error() . “\n”);
    }
    if (mysql_num_rows($result) > 0) {
    $i = 0;
    while ($row = mysql_fetch_assoc($result)) {
    if ( strstr($row['option_value'],$oldurl) ) {
    $i=$i+1;
    $newval = str_replace($oldurl,$newurl,$row['option_value']);
    $updateresult = mysql_query(“UPDATE $table SET option_value=’”.mysql_real_escape_string($newval).”‘ WHERE option_name=’”.$row['option_name'].”‘”) or die(mysql_error());
    }
    }
    }

  • Jack D. Pond June 8, 2012 at 6:40 am

    BTW, the reason for the above patch is because Woo Themes (and I suspect other plugins) store URL configuration information in the wp_options table.

    There may be other tables where such an addition would also have value.

    • Velvet Blues June 12, 2012 at 1:11 pm

      Great idea. I’ve been toying with updating the wp_options table. I think I will add it as a new option in an upcoming release. Thanks!

  • loekazz June 8, 2012 at 11:05 am

    Hello,

    Since I’ve moved my WP site from mysite.com/test to mysite.com, I’m unable to load media!

    Just before moving the WP site from the ‘test’ to my domain’s root folder, I took all the necesarry steps, and I also used the Blue Velvet Link updater plugin succesfully to help relocate all the media files. Under admin settings I’ve put the right upload link as well.

    When I try to upload a file (immage) now, I get an error message (see below) that is still showing a reference to the mysite.com/test folder. But, his folder doesn’t exist anymore, as it was empty and I have deleted it after moving the site. All the rest of the site is working perfectly, my old immages are showing up correctly…

    I really don’t know how to solve this! Tried some things out, but without success.

    Can anyone help me out?

    Thanks a lot!

    L.

    and here’s the error message:

    Warning: touch() [function.touch]: Unable to create file /home/username/domains/mysite.com/public_html/test/wp-content/uploads/white.tmp because No such file or directory in /home/username/domains/mysite.com/public_html/wp-admin/includes/file.php on line 177

    Warning: Cannot modify header information – headers already sent by (output started at /home/username/domains/mysite.com/public_html/wp-admin/includes/file.php:177) in /home/username/domains/mysite.com/public_html/wp-includes/pluggable.php on line 866

    Reply

  • Chuck June 15, 2012 at 10:10 am

    Never mind–I took your advice and changed the url’s back to the original and then changed just the ones I needed to.

    Thanks!

    Chuck

  • Ali June 25, 2012 at 10:19 am

    HI, I’ve been having trouble for the past 4 days with the updating links url. I love this plugin, but I can’t figure out why it’s not updating my urls. I only run the same 1 url (from and change to) only. Some help? I did update wordpress on Thursday.

    • Velvet Blues June 27, 2012 at 2:19 pm

      The plugin is case sensitive. Perhaps that is the problem??? Also, it only updates urls that may exist. So, if your URL is ‘example.com’, but you replace ‘www.example.com’, then nothing will be replaced. Perhaps you can provide more details about your issue.

  • kristarella August 9, 2012 at 8:37 pm

    Hi, I was wondering if this plugin does a check to see if the input is actually a URL, or is it theoretically possible to use it to do a regular string replace in post content?

    • Velvet Blues November 29, 2012 at 10:56 pm

      No, this plugin does not check to see if the input is a URL because some people who are on local servers have URLs that have a very different structure. For example, they might start with drive names.

  • casey b August 17, 2012 at 7:54 am

    this plug in looks awesome.

    I have a question, in set 1… do I want to use the old “WordPress Address (URL)” or “Site Address (URL)” as I had it in my demo site?

    Details:

    longmonttaxpros.dreamhoster dot com/wp mirrored longmonttaxpros dot com/wp and I had already moved directories according to WP codex such that longmonttaxpros.dreamhoster dot com/ loads longmonttaxpros dot com/ wordpress directly

    Now it is live, I ‘m cleaning up links. So again this leads to my question… step 1 “WordPress Address (URL)” or “Site Address (URL)” thanks.

  • hack8hide September 8, 2012 at 2:20 am

    love your plugin. it really helps!

    thumbs up brother!

  • dnk October 18, 2012 at 11:45 pm

    When entering the URL’s (for old and new), and it is just a folder that you are changing, do you enter it like:

    http://dom.com/wordpress
    http://dom.com

    or

    /wordpress/
    /

    Thank you

  • Michael November 4, 2012 at 8:13 am

    Will this plug-in address urls within CSS files too?

    Thanks in advance and apologies if an answer to this was overlooked by me.

    Michael

  • Mark Pearson November 9, 2012 at 4:38 pm

    I’m trying to move a WordPress installation with 230 blogs from a test domain to production server on a different domain. The Velvet blues plugin worked great but I was expecting it to cycle through all the blogs in the Network whereas it seemed to handle just blog id=1. Is there any way to accomplish this (with Update network perhaps?)other than opening every single blog and executing the URL swap?

    • Velvet Blues November 12, 2012 at 2:36 pm

      We are currently adding this and other features to the plugin. But right now, you’d have to do it on every single blog. Sorry.

  • Julie December 11, 2012 at 2:15 pm

    Hello there!
    So first everything work fine when i move from the subdirectory to the main. But than i did a few updates to my site and i lost some pictures and the background. Any idea what the problem could be?
    Thanks
    Julie

  • Tony December 12, 2012 at 10:56 am

    Thanks for creating this great plugin!!

    This error keeps showing up at the top of the plugin page each time I use it…

    Warning: Missing argument 2 for wpdb::prepare(), called in /misc/25/000/212/149/6/user/web/fandaygames.com/wp-content/plugins/velvet-blues-update-urls/velvet-blues-update-urls.php on line 53 and defined in /misc/25/000/212/149/6/user/web/fandaygames.com/wp-includes/wp-db.php on line 990

    What does that mean and how do I fix it?

    Thanks,
    Tony

  • Golda December 20, 2012 at 12:59 pm

    Hi there. I wanted to use this to update URLs from regular URLs to affiliate URLs. Will it work for that or will it mess up my site? I haven’t moved the domain. Thanks!

  • Vlad December 26, 2012 at 12:16 pm

    Hello, First of all I want to say that this plugin was very helpful. I used it to change some links from my affiliate site which have changed.

    My question is:
    Can I use this plugin to change the following link like this : http://www.abcd.com to http://www.abcd.com/ rel=”nofollow”

    Or It can update only 100% urls?

    Thank You

    • Velvet Blues January 10, 2013 at 8:42 am

      Sorry, this plugin cannot be used to add attributes to links. I would suggest you finding a nofollow plugin. There are a few in the WordPress plugin repository.

  • JR January 12, 2013 at 4:08 pm

    We created a new site at dev.ourdomain.com / we copied over all wp-folders and files and changed home & site URL in wordpress General settings. All works well. We dont want to mess it up as all pages etc load perfectly. However, in our posts and pages the images we inserted when making them, all still point to dev.ourdomain.com

    As I understand it, this plugin will change those urls in the inserted images that try to load from the dev.ourdomain.com to just load from ourdomain.com , dropping the dev. Is that correct?

    Do I checkoff?

    URLs for attachments (images, documents, general media)

    or

    Update ALL GUIDs GUIDs for posts

    The more I read it the more I confuse us all.

    Thanks for the help.

    • Velvet Blues January 12, 2013 at 8:12 pm

      You should update URLs in content AND also check URLs for attachments. Also, since this site was not live previously, you should also update GUIDs as well.

  • Dom January 29, 2013 at 11:37 am

    Just wanted to say this has saved me a ton of time. Just sent you a small donation.

  • Winger Man October 4, 2013 at 6:26 am

    Hi!
    I would kindly ask you for, or propose following feature?
    Is it possible to get just preview (or selection) of items where changes will be made? In other words – get just list of items, where is the old address currently settled? To be able to do changes manually by myself, one by one or alternatively – divide process into three parts: setup, preview (and select changes which should be processed) and processing itself? (Something like some clean-up utility – which scans for junk files and then it will show those files and allow you to select, which files should be removed)… I see this as an opportunity to extend your plugin abilities. (Show just list of entries, where changes will be made is enough, in my opinion). So, please, be se kind and let me know :) )))
    Best regards

Trackbacks

Moving 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:

Leave a Reply

Want us to work on your project?

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

Go Daddy Deal of the Week: Cheap .COM Domains! Offer expires soon!