Jim Westergren
A blog about me, my projects, SEO, Web Development and Personal Development.
"If we did all the things we are capable of, we would literally astound ourselves." - Thomas A. Edison

Updating PR values of 1066 URLs in 30 minutes

This article is written more for myself so I remember how I do it the next time but probably a few people will also benefit from this for different uses and purposes.

Today I updated all the PR values for the directories listed on my directory list. I had to update each listing in the MySQL database but I found a fast way to do it. The previous time was a pain in the ***.

1. Log into PHPMyAdmin and get the URLs:

2. Export the query into a text file.

3. Clean the text file so that you only have the URLs. (I use EditPlus 2 for this to replace all. It costs $30)

And:

4. Use the PageRank Lookup Tool from SEO Chat and look up 100 URLs at a time and paste the findings in Excel (or OpenOffice Calc which is free).

5. Edit the excel sheet and place the columns of the PR values before the URLs.

6. Paste everything in a new EditPlus document and do specific replace all queries so that you get valid SQL code. (correct the first and last line).

And:

And:

7. Go back to PHPMyAdmin, paste and run the SQL code.

Done!

8. Export the whole database to keep as a new backup.

Tweet this! Boomark This! Subscribe to the RSS feed
About the Author Jim Westergren Jim Westergren is a company owner from Sweden who lives together with his wife and son. Some of his interests are SEO, web development, writing and taking photos. Read his full about page or contact him. Follow Jim on Twitter or subscribe to this blog.
In Swedish: presentation, blog.
14 responses »Leave a comment
  1. mad4
    said on February 11, 2007 at 8:41 pm

    Why not just use the PR lookup script thats freely available? It queries google using php and can then write back to the DB.

  2. Pierre Far
    said on February 11, 2007 at 9:47 pm

    I agree with mad4. What you are trying to do is easy to automate using a PHP script. The bits of code are already available around the web.

    Pierre

  3. John King
    said on February 12, 2007 at 10:08 am

    I do something similar to this but I generally use excel to both get the basic urls and generate the mysql inserts.. You can use concatenate for the latter and some basic if then statements to get down to the basic urls. Of course I gotta wonder (since its already in a mysql db) why you didn’t just create the code for looking up the pr in php then have that access your mysql database and run through it.. This way you don’t have to take 30 minutes every time.. just access your pagerank updater page and it updates your list.

  4. Jim Westergren
    said on February 12, 2007 at 10:39 am

    Ok ok, a PHP script is much better. But my knowledge with PHP is very limited. Any of you guys who knows where I can get such a script that also is easy to install?

  5. Directory Critic
    said on February 12, 2007 at 12:54 pm

    Hi Jim,

    I have one and you’re more than welcome to have it. These PR scripts only work on some servers, this one only works on one of my 6 servers and I have no idea why. I can usually update about 3k dirs in a few mins :) You will need to customise it for your dir but it wouldn’t be too hard.

    Email me if you want the script :)

  6. Praveen
    said on February 13, 2007 at 8:56 am

    Jim,

    there is a PR update Mod for PHPLD which also works perfectly fine. (assumption that all the dir’s run PHPLD)

    here it is
    http://www.directoryspy.com/downloads/page-rank-update-tool-for-phpld/

  7. Jim Westergren
    said on February 13, 2007 at 4:44 pm

    Thanks a lot Dir critic but I am happy with this solution. 30 min every quarter is not that much.

    Thanks Praveen. This was not for a directory but for a list but I will use that mod when I need it for one of my dirs, thanks.

  8. seo news
    said on March 6, 2007 at 8:12 pm

    Hope several tools available in online. Mr.Jim knows very well of it. seocompany.ca have such tools information.

    Regards
    Ms.Anitha

  9. Brandon Hopkins
    said on March 14, 2007 at 1:12 am

    Jim, just wanted to say thanks for always posting screenshots and the code where applicable. One of the many reasons I’ve bookmarked your site.

  10. Fta
    said on July 14, 2007 at 8:36 pm

    Thank-you it worked great for me.
    http://www.ftavip.com

  11. pankaj
    said on July 31, 2007 at 9:42 pm

    thanxs again jim for the work. more then that thanxs for compiling the list of high pr directories. hope u updatse them as soon as next update is done .

  12. Larry
    said on October 24, 2007 at 6:31 pm

    Interesting stuff, though nowadays Google seems to have less of an interest in updating PRs.

  13. Sutures
    said on May 17, 2009 at 9:34 am

    Thats great..will try that.

Leave a Comment

To quote: <blockquote>text to quote</blockquote>

You can use these tags: <a href=""> <blockquote> <code> <em> <strong>


To have a photo of you beside your comments, upload a photo here.

Pingbacks
  1. [...] Directory PR Here [...]

    Pingback by Directory PR « Rasesh — October 1, 2007 @ 9:04 am

Previous post in category:

Next post in category:

Design by myself:  valid XHTML and valid CSS.