How to Customize the Default Image and Link Paths in the WordPress Editor

How to Customize the Default Image and Link Paths in the WordPress Editor

Here’s a cool little trick Jamie figured out for me… I pretty much use the exact same path for all the images I post on this blog and I got tired of always typing out the path to the image folder along with the image name in the javascript popup you get when you click on the IMG button within the editor. I noticed that the pop-up always had http:// already filled in by default and I realized that I could probably change that to the image path I typically use to save some time. Being the coding idiot I am, I had no idea how to even start looking for this setting (although I did try for about an hour and found jack…) so I hounded Jamie about it and he found it in roughly 3.2 seconds.

Here’s how you do it…

Step 1: Open up your quicktags.js file located in the following subdirectory off your WP install dir: /wp-includes/js/

Step 2: Scroll down to the very bottom of the file and you will find the two functions that control the LINK button (edInsertLink) and the IMG button (edInsertImage)

The first function is the default URL you see when you click on the LINK button to insert a hyperlink. Change http:// on the following line to whatever path you want to come up by default:

function edInsertLink(myField, i, defaultValue) {
if (!defaultValue) {
defaultValue = 'http://';

The second function controls the IMG button… change http:// on the following line to whatever path you want to come up by default when you click on the IMG button:

function edInsertImage(myField) {
var myValue = prompt(quicktagsL10n.enterImageURL, 'http://');

Step 3: Save and upload and you’re all set! Here’s a shot of it in action:


Enjoy and thanks again Jamie for this awesome little time saver!

Dan

The Dreaded Google Page Rank Saga Continues – Now With Updated Goodness

The Dreaded Google Page Rank Saga Continues – Now With Updated Goodness

I’ve been reading up on the updates and comments on this page rank update that has wreaked so much havoc, and it’s definitely a pain, but also a learning experience and hopefully some of you other webmasters can learn from what I’ve experienced. Here’s what I’ve found out since my last post and some action we’ve taken…

First off, if you don’t know what page rank is or what this post is talking about, you need to read my first entry on this problem HERE.

First, Google has confirmed what we suspected in this update. As per the post on www.theregister.co.uk:

Google has confirmed that the recent update to its “visible PageRank” system is an effort to crackdown on sites trying to rig this closely-watched web popularity contest.

Over the weekend, Google search engine guru Matt Cutts told Search Engine Journal that the company is intent on punishing web publishers that attempt to sell their PageRank currency to other sites.

A site with a high PageRank can often boost the rank of a less-popular site simply by linking to it. As a result, popular sites will often provide such links in exchange for cash. And Google doesn’t like that.

Here’s the word from Cutts:

The partial update to visible PageRank that went out a few days ago was primarily regarding PageRank selling and the forward links of sites. So paid links that pass PageRank would affect our opinion of a site.

Going forward, I expect that Google will be looking at additional sites that appear to be buying or selling PageRank.

As Cutts says, Google has changed its visible PageRank values – the scores that pop up on the Google Toolbar when users visit a site. This is merely an approximation of a site’s “real” PageRank, which is actively used to sort search results.

Cutts’ email goes a little further than the official company line. The Google PR machine gave us a slightly-less-direct explanation.

“Google is always working to improve the ways that we generate relevant search results and update our opinions of sites’ reputations across the web,” said a company spokeswoman.

“Values in the Google Toolbar can fluctuate for a number of normal reasons, including changes in how we crawl or index the web, or changes in the link structure of the web itself. In addition, Google may update the visible PageRank indicator in the Google Toolbar to incorporate not only our view on the back links to a page or site, but also to incorporate our opinion of the forward links for a site.” ®


So in short, Google is trying to penalize people that sell links on their high PR websites to people that are looking to boost their website’s own PR, which is something Google doesn’t like. Let’s be clear though… this is TOOLBAR PR, not the site’s actual internal ranking, so traffic is completely unaffected. It’s done this way so that your site’s traffic remains unaffected, but your site’s perceived monetary value is lower… Google is trying to hit you in your wallet. PR is a common measure used to determine website value… I’ll be talking about this tomorrow in regards to the “PR is just a bogus number” statement.

Now, this doesn’t mean you can’t sell links on your site to monetize your website, but if you want to be listed on Google, they expect you to take certain steps to ensure that those links you are selling are for direct click-thru traffic and not link farms for PR levels. So, how do you sell links but not get penalized for selling links for PR? You have to use the “nofollow” tag.

Unfortunately guys like me were innocently selling links purely for monetization, not to manipulate Google’s PR structure, were penalized. This is why P2L was reduced to a PR 4 from a 6. Yes it’s ignorance, but there are MANY webmasters that have no idea what “nofollow” is, and if you’re one of those, click here to read the official Wiki.

OK so now that you know what “nofollow” is and what it does, let’s look at Google Webmaster Guidelines.

Quality guidelines – basic principles

– Make pages for users, not for search engines. Don’t deceive your users or present different content to search engines than you display to users, which is commonly referred to as “cloaking.”
– Avoid tricks intended to improve search engine rankings. A good rule of thumb is whether you’d feel comfortable explaining what you’ve done to a website that competes with you. Another useful test is to ask, “Does this help my users? Would I do this if search engines didn’t exist?”
Don’t participate in link schemes designed to increase your site’s ranking or PageRank. In particular, avoid links to web spammers or “bad neighborhoods” on the web, as your own ranking may be affected adversely by those links.
– Don’t use unauthorized computer programs to submit pages, check rankings, etc. Such programs consume computing resources and violate our Terms of Service. Google does not recommend the use of products such as WebPosition Gold™ that send automatic or programmatic queries to Google.


Unfortunately there is nothing in the main Webmaster Guidelines that says anything about selling links or using the nofollow tag to avoid penalties. For your average webmaster, you would have no idea about this.

Now let’s look at this huge post by Google’s Matt Cutts about the nofollow tag and how to use it:

Hey all, I’ve been meaning to stop by the webmaster help group, and the “Popular Picks” thread drew me in. Here’s the question I’ll tackle: Admin Aaron asked “What are some appropriate ways to use the nofollow tag other than to protect against blog comment spam?”

My short answer is that the nofollow attribute on links is a pretty general mechanism, and you’re welcome to use it how you like. Let me tell you what it does, then I’ll give an example or two. I answered a nofollow question for Rand Fishkin recently. You can read the full details at http://www.seomoz.org/blog/questions-answers-with-googles-spam-guru, but I’ll quote the important bit:

“The nofollow attribute is just a mechanism that gives webmasters the ability to modify PageRank flow at link-level granularity. Plenty of other mechanisms would also work (e.g. a link through a page that is robot.txt’ed out), but nofollow on individual links is simpler for some folks to use. There’s no stigma to using nofollow, even on your own internal links; for Google, nofollow’ed links are dropped out of our link graph; we don’t even use such links for discovery. By the way, the nofollow meta tag does that same thing, but at a page level.”

So nofollow as a link attribute causes Google to drop those links out of our link graph. If you have a nofollow link from page A to page B, we won’t crawl via page A’s link to discover page B. Note that we may still find page B via other links around the web, though.

What are some appropriate ways to use the nofollow tag? One good example is the home page of expedia.com. If you visit that page, you’ll see that the “Sign in” link is nofollow’ed. That’s a great use of the tag: Googlebot isn’t going to know how to sign into expedia.com, so why waste that PageRank on a page that wouldn’t benefit users or convert any new visitors? Likewise, the “My itineraries” link on expedia.com is nofollow’ed as well. That’s another page that wouldn’t really convert well or have any use except for signed in users, so the nofollow on Expedia’s home page means that Google won’t crawl those specific links.

Most webmasters don’t need to worry about sculpting the flow of PageRank on their site, but if you want to try advanced things with nofollow to send less PageRank to copyright pages, terms of service, privacy pages, etc., that’s your call.

I gave another example where nofollow would work well at http://www.mattcutts.com/blog/quick-comment-on-nofollow/ . Someone wrote an oompa loompa dating site as a joke, but that site started to get hit with spammy comments. If you write custom software where you’re worried that people might spam the software with links to, I dunno, Ukrainian porn sites, then you can add nofollow in your software on the links that you think might be spammed. If a spammer has a choice between your software and some other software that doesn’t use nofollow, your software might not get hit as often by spammers.

If you’d like to find out more, Eric Enge and I did an interview that touched on how Google treats noindex, robots.txt, and nofollow: http://www.stonetemple.com/articles/interview-matt-cutts.shtml

Hope that helps!
Matt Cutts


Great information, but again there isn’t really anything here saying that nofollow should be used not to influence PR for those of us selling ad space to generate revenue on our websites, which more and more represents a HUGE number of webmasters.

BUT then you find some information HERE! This group post is clearly starting to touch on the direct issue at hand… you can sell text ads, but you need to tell Google that they’re ads and not natural outbound links.

And then, we find it… the official word from Google on Paid Links!

Google and most other search engines use links to determine reputation. A site’s ranking in Google search results is partly based on analysis of those sites that link to it. Link-based analysis is an extremely useful way of measuring a site’s value, and has greatly improved the quality of web search. Both the quantity and, more importantly, the quality of links count towards this rating.

However, some SEOs and webmasters engage in the practice of buying and selling links that pass PageRank, disregarding the quality of the links, the sources, and the long-term impact it will have on their sites. Buying or selling links that pass PageRank is in violation of Google’s webmaster guidelines and can negatively impact a site’s ranking in search results.

Not all paid links violate our guidelines. Buying and selling links is a normal part of the economy of the web when done for advertising purposes, and not for manipulation of search results. Links purchased for advertising should be designated as such. This can be done in several ways, such as:

– Adding a rel=”nofollow” attribute to the tag
– Redirecting the links to an intermediate page that is blocked from search engines with a robots.txt file

So there you have it! You need to tell Google that any outbound links that are paid for on your site by tagging them with the nofollow tag. For small sites, this is probably a non-issue, but once you start hitting 5+ Page Ranks, you shyould start looking in to this.

So mystery solved and hopefully by adding these tags to our advertiser links, we can have our penalization removed. I’ve gone ahead and requested our re-inclusion, so we’ll see what happens. This has been quite a learning experience, that’s for sure. BUT I am a little disappointed in Google on this… they didn’t have to penalize anyone, they could have addressed this via their alogrithms. Check out this article by Eric Enge, it’s pretty much spot on about how I feel about this.

The big news remains the apparent punishment in PageRank terms of sites which are selling links. What surprises me about this is not that Google did this, but three other things:

It surprises me that they missed so many sites that are obviously selling links. I am aware of many, many such sites that monetize their sites in that fashion, without NoFollowing their links. Given the set of sites affected, it really does seem like the punishment was manually selected.
However, that makes it even more curious when you consider that influencers like Search Engine Roundtable and Search Engine Journal were selected.

It surprises me that they punished sites that sell links, but clearly labelled them as Sponsored, or as Advertisers, or some other equivalent. Google will never win that battle. Monetizing sites is something that every site owner has the right to do. Such a small percentage of site owners even know what a NoFollow is, that a policy of punishing people on that basis does not make sense to me. Besides which, cant Google detect these types of clear labels and simply discount those links algorithmically?

It was also a surprise that there was no apparent impact on traffic. This was reported by both Search Engine Roundtable and Search Engine Journal. So given the broad swipe that they took at sites as mentioned in point 2 above, I suppose that this is a good thing. But simply altering tool bar page rank in a way that does not impact traffic will get them nowhere.
The link selling market will continue to thrive without PageRank. At this point in time, selling links is more about Anchor Text than PageRank. Nothing in this update has changed that.


You can read the rest of the article HERE.

On the same token, Google is a FREE search engine, so if you want to play in their party, you have to conform to what they tell you… don’t like it? Don’t list with Google I suppose… I’m sure this is how they’re looking at it anyhow. Just remember that if you are a webmaster and you want to count on Google for search engine traffic, you are responsible to read the Webmaster Guidelines at least once. You might be surprised at what you find!

That’s it for now gang, time to go pick up the little one from school! I’ll keep you posted if the actions we took had any affect in lifting our current PR Penalty. Later on (Maybe tomorrow?) I will post my thoughts on the “PR is just a number concept”. While this may be true from a direct traffic standpoint, it’s completely false in the marketting sense and I’ll touch base on the various reasons why PR is still a critical number for your website.

Until next time!
Dan

PS. Special thanks to Nick and Jamie for their respective contributions for source material.

Happy Birthday Donna!

Happy Birthday Donna!

On behalf of the entire crew and community at Pixel2life.com, I would like to wish a VERY happy birthday to P2L's hardest working gal and my dear friend DONNA!!! Happy B-Day!

Now, do yourself a big favor and stay away from the site today and take a break… I recommend cake and booze and other distractions, whatever gets you away from the forums and puts a silly grin on your face. HAVE A GOOD ONE!

Dan

Did Google PR Just Take a Dive in the Shitter?! P2L a PR 4!

Did Google PR Just Take a Dive in the Shitter?! P2L a PR 4!

Wow… Google’s new update the last couple of weeks has certainly been the most retarded thing I have ever witnessed come out of this company. What did they just do?! Almost every major site I know about has just had their site’s Page Rank reduced to ashes! As of right now, Pixel2life.com has just went from a 6 to a 4! This means that P2L has a lower PR than my blog, and any of my hobby sites. Are these guys out of their minds?? Check out my PR status on their various Google DCs:

PR Update

This was generated at livepr.raketforskning.com

Now I’ve been reading all kinds of topics and articles on this and I can honestly say that the webmaster community in general is in complete shock over this, not to mentioned completely baffled. We’ve been seeing word that sites with heavy paid links have been penalized, but that’s a load of crapola… Of the 3 main tutorial portals out there, I am the only one that lost PR and the other 2 all have link exchanges and paid text links so I’m not buying that excuse for a minute. Then we have sites with absolutely NO text links of any kind that were hammered. 9Rules.com has been reduced to a PR 4 and these guys were a 7 or 8 at least!

Check out some of these articles for more information and comments on this utter bullsh*t:

First, you can read about what exactly PR is at smashingmagazine.com (The ironic part is that these guys went from a PR 7 to a 4!).

And now articles about this worthless update:

Sitepoint.com Here’s a snippet but go here to read the rest.

Boing Boing: Was 9, now 7.
Engadget: Was 7, now 5.
Forbes.com: Was 7, now 5.
New Scientist: Was 7, now 5.


There is a MASSIVE article with tons of updates and comments going at andybeard.eu (Give the page a bit to load, it hammered) Here’s a snippet but go here to read the rest.

Slapped By Google

For a company such as Google with a stock price based extensively on anticipated growth and public sentiment, it doesn’t take a huge swing in goodwill to have a dramatic effect on valuation. Google has just slapped their biggest fans.

After the very controversial hit many sites took just 2 weeks ago for various degrees of selling PageRank or linking to clients, you might have thought Google would take a breather, but Google it seems hadn’t even started its crackdown.

A number of sites have been hit yet again, including this one, but there is also a new element that has been introduced.

Here are some unusual penalties for trusted sources of good content

http://www.autoblog.com/ PR6 PR4
http://www.engadget.com/ PR7 PR5
http://www.problogger.net/ PR6 PR4
http://www.copyblogger.com/ PR6 PR4
http://www.joystiq.com/ PR6 PR4
http://www.tuaw.com/ PR6 PR4

A few search and money related sites as examples

http://www.searchengineguide.com PR7 PR4
http://www.searchenginejournal.com PR7 PR4
http://www.johnchow.com PR6 PR4
http://www.quickonlinetips.com/ PR6 PR3
http://weblogtoolscollection.com/ PR6 PR4
http://andybeard.eu PR5 PR3
Vlad PR4 PR2


Here’s more at andybeard.eu (Give the page a bit to load, it hammered) Here’s a snippet but go here to read the rest.

Real or Fake PageRank Update In Progress (round 3)

Courtney stopped by to let me know about what appears to be a real PageRank update that is in progress, if there can ever be a real update again.

Many of the blogs highlighted in the update just a couple of days ago seem to have reverted to their previous position.

Now for anyone who might be thinking otherwise, there are still some obvious penalties in place for a few sites, but it is less obvious for the more vocal networks.

Some sites and networks still have a penalty, as do some sites.

Some of those penalties seem to be a carry over from the first Google slap 2 weeks ago, and some seem to be much newer.

The changes could easily be written off as changes in total linkage compared to the remainder of the blogosphere, but it seems like Google have given a penalty to those they could get away with.


Domain Starting PR First PR Update Second PR Update Today’s PR
www.autoblog.com 6 6 4 4 or 6
www.engadget.com 7 7 5 5 or 7
www.problogger.net 6 6 4 6
www.copyblogger.com 6 6 4 6 or 7
www.joystiq.com 6 6 4 4 or 6
www.tuaw.com 6 6 4 4 or 6
www.searchengineguide.com 7 6 4 4 or 5
www.searchenginejournal.com 7 7 4 4 or 6
www.johnchow.com 6 5 4 4 or 5
www.quickonlinetips.com 6 6 3 3 or 5
www.seroundtable.com 7 7 4 4 or 6
weblogtoolscollection.com 6 6 4 4 or 6
andybeard.eu 5 4 3 3 4 or 5
www.blogherald.com 6 6 4 4 or 6
www.Forbes.com 7 7 5 4 5 or 6
www.sfgate.com 7 7 5 5 or 7
www.washingtonpost.com 7 7 5 5 or 7
www.technosailor.com 6 6 3 3 or 5
www.9rules.com 8 8 5 4 5 or 6
blog.nafurai.com 3 3 2 1 or 2
courtneytuttle.com 3 2 1 1 2 3 or 4
www.SunTimes.com 7 7 5 5 or 7
TheGadgetBlog.com 5 5 3 3 or 5
Space.com/ 7 7 5 5 7 or 8
OneMansBlog.com 6 6 4 5 4 or 6
entrepreneurs-journey.com 6 5 3 3 or 5

The following are site updates which were not hit by a penalty previously for comparison purposes

www.hobo-web.co.uk 7 7 7 5
www.doshdosh.com 4 4 4 6
www.searchengineland.com 7 7 7 7
www.seomoz.org/blog 5 5 5 6
www.connectedinternet.co.uk 6 6 6 3 or 5

More news and updates available from source Andy Beard – Niche Marketing


Is this off the hook or what?! So I guess the best we can too is get in the fetal position and rock back and forth mumbling how PR doesn’t affect traffic and hope it all looks better in the morning. Here’s more discussions you can check out:

http://www.sitepoint.com/forums/showthread.php?t=507987

There’s a ton of forum discussions going on right now on Sitepoint… just hop on over to the Google topic area of the forums.

You can also find a bunch on Digitalpoint’s Google forum area located here.

And finally, check out this post on www.dailyblogtips.com

Special thanks to Donna for sharing all these links with me… I was actually ignoring this issue because so much has been going wrong for me lately that I just didn’t need a Google disaster, but looks like I have to deal with this shit storm now too… YAY! Best I can do is keep an eye on traffic and see what happens I guess. If you have some feedback or a comment, please click the comment button and use the form to share your thoughts.

It’s been longtime said that PR is “just a number” and has no bearing on your actual traffic, so I guess we’ll see a true test now. I noticed that we had this PR 4 going early last week, and so far, our traffic completely unaffected. Here’s a graph of our traffic for this month so far, and you can see last week was completely normal:

PR Update

So to be quite honest, I suppose your bragging rights are taken away, but as long as my trafic continues to be solid and unaffected, I couldn’t care a less what Google did with their PR. So time to make some wait-and-see pudding!

Best of luck to you other webmasters!

Dan

Halloween is almost upon us!

Halloween is almost upon us!

Hi gang,

Wow it’s been a little while since I’ve had a minute to post, but the fun never stops. Truth be told, my schedule sucks and I just can’t get the time in that I used to despite having a TON of new projects I want to get going. Seems like all I can is struggle to keep my head above water at this point. But, all depressing thoughts of self-loathing aside, HALLOWEEN IS HERE! This weekend most of us will be out at Halloween parties and such, so here’s an early greeting from Simba, who is now 5 months old and already nearing 60lbs! Oh, and this is my pumpkin Ned. Ned says hi!

Happy Halloween!

Corina and I worked on some pumpkins this weekend while Terri handled pumpkin seed duty… for those of you missing out on this, baked pumpkin seeds are DA BOMB! Seriously, if you’ve never had pumpkin seeds before, you are missing out on a seriously good treat. Not those store bought nasty things that taste like small bits of salt, but I mean do it yourself seeds right out of the pumpkin!

Actually for those of you that want to seriously try this, here’s how I do it:

1. Get a decent sized pumpkin and cut a big round hole in the top and remove the lid. Then with a big metal spoon, scrape out the guts and then separate the seeds from the gunk and put them in a bowl.

2. Lay the seeds out on some cookie sheets (non stick or put some baking parchment underneath) and make sure you don’t pile them over each other.. you want them flat and not covered by other seeds. Don’t worry about orange residue from the pumpkin guts… that will all dry up and vanish.

3. Pop the tray(s) in the oven and let them dry overnight (no need to turn on the oven). Check them the next morning, you might have to flip them a bit.

4. Once dry, spray the seeds a bit with cooking spray or olive oil and salt them.

5. Pop them in the oven at 300F for 15 minutes or until they start to get golden brown and you’re done!

6. Eat them before other people find out you made delicious seeds!

You might find other recipes that say to boil them in water all this other stuff… that’s nonsense, just go with the dry route, they rock!

Now who says this is just a tech blog 😉