Wednesday, July 8, 2009

FTP vs. Custom Domains

Bloggers who rely on our FTP service to publish their blog to their own domain had a rough week last week. In fact, it’s been a bumpy month or two. Let’s start with the most important comment on this state of affairs: this sucks, and we’re sorry.

If you use FTP today, I’d like to start a conversation about whether this is the right approach for your blog. I’ve been talking with bloggers over the last couple weeks on this subject, and have found most users, when presented with the option of hosting their blog using Blogger’s Custom Domain option instead of FTP, find Custom Domains to be a far superior option. That’s not to say there aren’t compelling reasons to stick with FTP, so I’m not interested at this point in trying to convince everyone to switch over to Custom Domains. But I do think it is preferable for most of you still using FTP, and hopefully this post will help lay out why.

Advantages of Custom Domains Over FTP

First off, what is a Custom Domain? If you own a domain, we can host your blog at your domain instead of hosting at yourblog.blogspot.com. Unlike FTP, where you transfer the blog’s files to a webserver hosted elsewhere, Google actually hosts the blog on our servers. So why would you want to start using a Custom Domain over FTP? When Blogger released Custom Domains a couple years ago, we pointed out a couple obvious advantages:

1) Simple setup.
2) Faster publishing. You no longer wait for files to transfer to your remote host; as soon as you click publish, the post is available and all archive pages are updated.
3) Drag and drop template editing. Blogger’s newer templates offer you a lot more in terms of customization, and make designing your page a much simpler process.
4) Access control. You can restrict access to your blog when we host it; there’s no way to do this natively within Blogger (though your webhost may offer a way to do this separately).

In light of the recent experiences with FTP, here’s two more:

5) Fewer moving parts. As I’ve dug in over the last few weeks on issues relating to FTP, as often as not the problems were not Blogger-related but were a byproduct of a webhost implementing stricter security on FTP logins (only whitelisting certain IP addresses, for instance, or throttling access for certain users). These are notoriously hard to isolate, particularly when they involve coordinating support with a third party. No one - including us! - enjoys the terrible back and forth of “it’s the webhost’s issue” “no, it’s Blogger’s issue” “no, we’re pretty sure it’s the webhost’s issue” when all you want is to be able to post to your blog.
6) Free, scalable hosting. Google knows a thing or two about hosting content around the world, and by relying on Blogger for hosting you’re getting the advantage of a robust hosting environment - for free!

Twitter Feedback: Why do you prefer FTP?

Enough generalizations. On Saturday, I asked users on Twitter to tell me why they preferred FTP over Custom Domains. I’ve listed the first few responses below, along with my thoughts:
» @creuzerm: “I can easily back up my site via my backup scripts over FTP.” (@cjewel and @Vin07 made similar points.) 
» Blogger users have a one-click backup option from the Blogger dashboard (Click Settings | Basic, then click “Export blog”). Unlike file backups from a remote webhost, Blogger’s export (details here) does a full export of all posts, comments, the current layout, and your Blogger settings. At any time, you could recreate the entire blog with a single upload, and restoring the blog on a Custom Domain would take seconds (unlike FTP, which could take hours for larger blogs to transfer all of the necessary files). If you ever wanted to migrate off of Blogger, our conversion utilities will help you convert from Blogger’s export file to most other popular blog formats. (Come to think of it, if you haven’t backed up your blog lately, why don’t you do that right now?)
» @lizcastro: “FTP lets you get rid of the NavBar and better control of your branding.” 
» There is no difference between control/branding between Custom Domains and FTP. In fact, you get more control over the look and feel of your template, with a more sophisticated, point-and-click interface to adding interactive gadgets - all of which are draggable in the template editor to get the exact placement and layout you want. If you choose to remove the navbar, there are several sites that walk you through the few steps necessary to remove it. We’d prefer you didn’t - it helps users find your site, it makes it easier for users to search your blog, and we have several enhancements planned for the navbar this summer. But if you insist on removing it, a search for “remove Blogger navbar” will point you in the right direction. (Obviously, this is not supported and we can’t provide support for any modifications you make to your templates.)
» @eccentriclee: “I feel better having access to all files directly.” @lizcastro: “FTP allows you more control over uploading things to your own server (or seems to) and uploading images with Blogger is cumbersome.” 
» As detailed below, I have what I think is the best of both worlds: Blogger manages the hosting of my site (at a subdomain, tins.rklau.com), and I retain access to my webhost for file uploading (at www.rklau.com). Regarding image uploading, when you switch away from FTP, you get our integration with PicasaWeb, where you can host images. This tends to be a much more powerful way of managing uploaded images (all uploaded images are stored in a Picasa album for future reference).
» @nomadness: “FTP lets me keep /blog inside long-established site hierarchy with other content at root.” 
» This is a valid concern if the custom domain you choose is the same as the domain you currently use for FTP (i.e., you FTP to www.yourdomain.com/blog and want to use www.yourdomain.com for your Custom Domain). In my case, I chose to leave www.rklau.com alone and instead have Blogger manage a subdomain as my Custom Domain. That’s not the whole answer, however - there’s still the matter of getting people from www.yourdomain.com/blog to blog.yourdomain.com. See “Redirecting…” below.
» @Vin07: “Afraid of posts being lost on switch…” 
» I’d suggest a backup to eliminate any risk. But rest assured, no posts are lost in the switch.

There were two responses that are completely valid reasons for sticking with FTP:
» @haitai: “In China, the ghs.google.com always blocked by #GFW, FTP web host isn’t.” @johnroach: “Blogger sometimes gets blocked by Turkey and so does some internet sites.” 
» Yep, if a country blocks access to Google domains, and you or your audience is primarily in that country, then you’ll want to host on a domain that’s not blocked.
» @creuzerm: “I am planning on doing a PHP blog template.” 
» If you absolutely need to execute PHP within your template’s pages, you’ll have to host on a domain where PHP is installed and supported. Of course, there are a ton of gadgets that can add functionality to your site, so you may be able to do what you need without adding custom code. (On the “Layout” tab for a Blogspot or Custom Domain-enabled blog, click “Add a Gadget”.)

One note: if you do stick with FTP, we’d strongly recommend checking with your webhost to see if they support SFTP - it’s much more secure than FTP.

Redirecting from your FTP blog to your Custom Domain blog

OK. Let’s assume that you’ve read this far, and have decided that you want to give a custom domain a try. If your blog has been around a while, you’ll be concerned about links to your soon-to-be old URL.

I started my blog on Blogger in 2001, using Blogger’s FTP service to publish to www.rklau.com/tins/. At the time, that was the only way to use Blogger to manage my blog on my own domain. I later switched to Movable Type (retaining the same URL), and then migrated to WordPress in 2005. Back in November, in anticipation of joining the Blogger team, I moved back to Blogger. After chatting with the Blogger team, I knew I wanted to take advantage of many of the new features on Blogger - but because I had a ton of images and files on www.rklau.com that I’d uploaded over the years, I didn’t want to map www.rklau.com to Blogger.

My answer? I moved the blog from www.rklau.com/tins/ to tins.rklau.com. I created a CNAME for tins.rklau.com that maps to Google, and now Blogger hosts the blog. All of the old posts with pointers to files and images at www.rklau.com continue to work. I documented how I use WordPress to redirect requests from the old posts to the new ones here. If you’re moving from FTP to Custom Domains, then there’s one last step - redirection - to ensure that requests to the former URLs find your new URL.

How you implement the redirection depends on what kind of server you’re hosting on. If you’re on an Apache webserver (most common) then you’ll want to use something called htaccess. If you’re on an IIS server and you don’t manage the server yourself, you will need to talk to the webhost to get the redirect in place.

To create an htaccess file, first create a text file which includes the following lines:
RewriteEngine On
RewriteBase /
RedirectMatch 301 ^/blog/(.*)$ http://blog.yourdomain.com/$1

This assumes your blog is published to /blog, and that your new Custom Domain is blog.yourdomain.com - change those values as appropriate. Now upload this file to your webserver, and name it “.htaccess” (no quotes, but the period preceeding “htaccess” is important) in the root directory. All this does is take incoming requests to files in the /blog directory, and redirect them to blog.yourdomain.com, while keeping the rest of the URL intact. Since Blogger will keep the same permalinks in the migration, this will preserve all inbound link traffic.

Questions? Comments?

I’m sure I haven’t addressed all of the issues users have with staying on FTP instead of Custom Domains. And I will freely admit I have an agenda with this post: the less time Blogger engineers spend supporting a brittle feature (FTP), the more time we can spend building out new features. If you have questions not addressed with this post, we’ve set up a help group focused on this topic. Head on over there to ask a question or view current discussions: Blogger team members and users familiar with the pros and cons of both FTP and Custom Domains will be in there, and we’ll answer questions as they come up.

To all of you who continue to rely on Blogger as your blogging platform: thank you.

posted by Rick Klau at 10:10 AM links to this post 

May 04, 2009


Going somewhere interesting? Share it with the world!


by Chris Lambert, Software Engineer, Google Mobile

If you ask people why they blog, a lot of the answers you receive will probably center around the idea of starting conversations. I love talking with friends and family about the countries I’ve visited and the cities I’ve explored, and personal blogs are a great way to share these stories. However, I have never met someone who felt they had enough time to post all of the updates that they wanted, especially when they are off traveling. Well, wouldn’t it be great if anytime you were traveling somewhere new, taking off on a road trip, or just on your way to an exciting place, there was a way for you to automatically publish that information to your blog? We thought so too, and that’s why we decided to release the Google public location badge, powered by Google Latitude.

Google Latitude is a feature of Google Maps for mobile that lets you easily share your current location with a select group of your friends and family and, with your permission, it will continuously update in the background. Latitude is also available as an iGoogle gadget. While Latitude has been really popular, a lot of people — many of them bloggers — have asked for a way to share their location information on the Web, for all the world to see. Now with the Google public location badge, you can share your Latitude location with everyone on your blog. Check out Danny Sullivan’s blog to see how it looks.

To give it a try, visit this website. You will need to be a Latitude user to enable the badge. We made it easy to customize the type of badge that you want on your blog and let you choose between showing either your best available location or just the city that you’re currently in. To add the code snippet to your blog, you can either click the “Add to Blogger” button, or copy and paste the code into an HTML/Javascript gadget that you can add from your Layout tab on Blogger.com.

Please be aware that by enabling this badge your location will be available for everyone to see; you cannot decide who gets to see it. If you want to have more privacy, you can select ‘city-level location’ or choose to ‘disable’ the badge altogether. If you have any suggestions or run into a snag, let us know in our Help Forum.

Labels: gadgets

posted by Rick Klau at 10:51 AM links to this post 

April 22, 2009


We want to hear from you!

Over the years we’ve learned that some of the best insight into Blogger comes from you guys, the millions of users who use it every day. So we thought it’d be a great idea to open up the floor for feedback, and provide an easy way to let us know what you’d like to see.

With the help of Product Ideas, we’ve created a forum which allows you to submit and vote on new feature suggestions, gadget recommendations, and even Blogs of Note! The more feedback we get the better, so please take a moment to check it out, and then tell your friends.

We’ll be keeping a close eye on all of the responses, so please stay tuned! We’ll keep the forum open until Friday, May 14th.

The fine print: All support issues should still be directed to the help group. Off-topic submissions may be removed by the team. And Blogs of Note is for Blogger blogs only  

posted by brett at 11:13 AM links to this post 

April 14, 2009


Post On The Go

Our newest graduate from the Blogger in Draft testing ground improves the experience of blogging on the go. In this release, we’ve updated the Dashboard to simplify setting up email and mobile posting for your blogs.

Enabling mobile posting is a great way to open up your blog to all sorts of instantaneous, real-world updates from wherever you find yourself. Stumble across something awesome that you want to share with the world right away? Snap a perfect picture on your phone that would be great addition to your photo blog? Our new mobile service supports SMS, MMS, and email posting, so there are plenty of options for ‘mobilizing’ your blog.

To set up SMS or MMS posting, simply click the phone icon next to a specific blog from your dashboard.


We’ll then show you a claim code, which you can send to BLOGGR (256447) via SMS (or go@blogger.com via MMS) to associate the blog to your device. (At the moment, SMS posting is only available in the US.)



To set up email posting, simply click the envelope icon next to a specific blog from your dashboard. You’ll then be prompted to create a secret email address for your blog. Emails sent to this address will be posted to your blog, and photo attachments will be inserted between the post’s title and body.


iPhone tip: SMS does not support photos, and the iPhone does not support MMS. To post pictures from your iPhone to your blog, set up email posting and email the photos to your blog’s secret email address. (For help on setting up email on your iPhone, see Apple’s “Email account setup” help article.)
You can even create a blog directly from your mobile device, by following the instructions outlined here. You will be able to claim it later once you are back at your computer.

So go ahead and take your blog on the go, and if you run across something cool, please tell us about it!

posted by Henry at 11:19 AM links to this post 


Monetize!

You may have noticed that about a week ago a new tab showed up in Blogger for your blog. The tab is called Monetize, and in case it isn’t clear what that means: it’s now easier than ever to make money with your blog! (There’s also a “Monetize” link from your Dashboard as well.)

The current Monetize tab allows you to apply for an AdSense account (or link your Blogger blog to an existing AdSense account). You can then choose where to place ads on your blog, and once ads start appearing on your blog, review your earnings. We use the AdSense API to pull your live earnings data from your AdSense account, so now it’s easy to check how your revenues are doing without leaving the Blogger interface.

Please note that new applications may take a few days to process, and not every site will be approved (for more on the eligibility criteria for an AdSense account, please see here). Details about the monetize tab and the information presented there is available in Blogger’s Help section.

Labels: adsense

posted by Rick Klau at 8:19 AM links to this post 

March 06, 2009


Blogger & Google Reader Party @ SXSW




Going to be in Austin, Texas for South By Southwest? Blogger is! And we’re throwing a party with our friends from Google Reader. Come, drink, and talk blogs.

Party is at Six Lounge (117 W 4th St @ Colorado) on Sunday, March 15th from 10pm - 1am. Bring your SXSW Interactive Badge, or find a Blogger or Google Reader team member at the conference and ask for an invitation. You’ll recognize us by our schwag. 

See you there! 

posted by Siobhan Quinn at 7:44 PM links to this post 

March 03, 2009

Plinky: An answer to “blogger’s block”

The fact that there are tens of thousands of results for “blogger’s block” suggests that more than a few of you have struggled to think of what to say on your blog at one time or another. If that sounds like you, you might want to take a look at Plinky. Plinky is the brainchild of one of the original Blogger team-members, Jason Shellen, and we’ve enjoyed seeing what people have come up with in the first few weeks of answering Plinky prompts.

What’s a Plinky prompt? Glad you asked! Here’s their explanation:

Every day we provide a prompt (i.e. a question or challenge) and you answer. We make it simple to add rich media and share your answers on Facebook, Twitter and blogs.

Not only does Plinky provide help with what to post to your Blogger blog, but it also helps your answers look good in the process. Depending on the prompt, answers contain rich media elements like maps, photos, lists and cover art for books, movies and albums. It’s easy to tell Plinky that you use Blogger and all your answers posted through Plinky can go right to your blog.

What are you waiting for? Go answer a prompt! (And say hi to Shellen while you’re there.)

No comments:

Post a Comment