Blog

15 SEO Best Practices for Structuring URLs

subdomain vs. subfolders

Posted by randfish

It's been a long time since we covered one of the most fundamental building blocks of SEO—the structure of domain names and URLs—and I think it's high time to revisit. But, an important caveat before we begin: the optimal structures and practices I'll be describing in the tips below are NOT absolutely critical on any/every page you create. This list should serve as an "it would be great if we could," not an "if we don't do things this way, the search engines will never rank us well." Google and Bing have come a long way and can handle a lot of technical challenges, but as always in SEO, the easier we make things for them (and for users), the better the results tend to be.

#1: Whenever possible, use a single domain & subdomain

It's hard to argue this given the preponderance of evidence and examples of folks moving their content from a subdomain to subfolder and seeing improved results (or, worse, moving content to a subdomain and losing traffic). Whatever heuristics the engines use to judge whether content should inherit the ranking ability of its parent domain seem to have trouble consistently passing to subdomains.

That's not to say it can't work, and if a subdomain is the only way you can set up a blog or produce the content you need, then it's better than nothing. But your blog is far more likely to perform well in the rankings and to help the rest of your site's content perform well if it's all together on one sub and root domain.

For more details and plenty of examples (in the post and comments), check out this recent Whiteboard Friday on the topic.

#2: The more readable by human beings, the better

It should come as no surprise that the easier a URL is to read for humans, the better it is for search engines. Accessibility has always been a part of SEO, but never more so than today, when engines can leverage advanced user and usage data signals to determine what people are engaging with vs. not.

Readability can be a subjective topic, but hopefully this illustration can help:

The requirement isn't that every aspect of the URL must be absolutely clean and perfect, but that at least it can be easily understood and, hopefully, compelling to those seeking its content.

#3: Keywords in URLs: still a good thing

It's still the case that using the keywords you're targeting for rankings in your URLs is a solid idea. This is true for several reasons.

First, keywords in the URL help indicate to those who see your URL on social media, in an email, or as they hover on a link to click that they're getting what they want and expect, as shown in the Metafilter example below (note how hovering on the link shows the URL in the bottom-left-hand corner):

keywords in urls

Second, URLs get copied and pasted regularly, and when there's no anchor text used in a link, the URL itself serves as that anchor text (which is still a powerful input for rankings), e.g.:

url as anchor text

Third, and finally, keywords in the URL show up in search results, and research has shown that the URL is one of the most prominent elements searchers consider when selecting which site to click.

urls in serps

#4: Multiple URLs serving the same content? Canonicalize 'em!

If you have two URLs that serve very similar content, consider canonicalizing them, using either a 301 redirect (if there's no real reason to maintain the duplicate) or a rel=canonical (if you want to maintain slightly different versions for some visitors, e.g. a printer-friendly page).

Duplicate content isn't really a search engine penalty (at least, not until/unless you start duplicating at very large scales), but it can cause a split of ranking signals that can harm your search traffic potential. If Page A has some quantity of ranking ability and its duplicate, Page A2, has a similar quantity of ranking ability, by canonicalizing them, Page A can have a better chance to rank and earn visits.

#5: Exclude dynamic parameters when possible

This kind of junk is ugly:

dynamic parameters in urls

If you can avoid using URL parameters, do so. If you have more than two URL parameters, it's probably worth making a serious investment to rewrite them as static, readable, text.

Most CMS platforms have become savvy to this over the years, but a few laggards remain. Check out tools like mod_rewrite and ISAPI rewrite (for IIS) to help with this process.

Some dynamic parameters are used for tracking clicks (like those inserted by popular social sharing apps such as Buffer). In general, these don't cause a huge problem, but they may make for somewhat unsightly and awkwardly long URLs. Use your own judgement around whether the tracking parameter benefits outweigh the negatives.

vanity domain urls click volume

Research from a 2014 RadiumOne study suggests that social sharing (which has positive, but usually indirect impacts on SEO) with shorter URLs that clearly communicate the site and content perform better than non-branded shorteners or long, unclear URL strings.

#6: Shorter > longer

Shorter URLs are, generally speaking, preferable. You don't need to take this to the extreme, and if your URL is already less than 50-60 characters, don't worry about it at all. But if you have URLs pushing 100+ characters, there's probably an opportunity to rewrite them and gain value.

This isn't a direct problem with Google or Bing—the search engines can process long URLs without much trouble. The issue, instead, lies with usability and user experience. Shorter URLs are easier to parse, to copy and paste, to share on social media, and to embed, and while these might all add up to only a fractional improvement in sharing or amplification, every tweet, like, share, pin, email, and link matters (either directly or, often, indirectly).

#7: Match URLs to titles most of the time (when it makes sense)

This doesn't mean that if the title of your piece is "My Favorite 7 Bottles of Islay Whisky (and how one of them cost me my entire Lego collection)" that your URL has to be a perfect match. Something like

randswhisky.com/my-favorite-7-islay-whiskies

would be just fine. So, too would

randswhisky.com/blog/favorite-7-bottles-islay-whisky

or variations on these. The matching accomplishes a mostly human-centric goal, i.e. to imbue an excellent sense of what the web user will find on the page through the URL and then to deliver on that expectation with the headline/title.

It's for this same reason that we strongly recommend keeping the page title (which engines display prominently on their search results pages) and the visible headline on the page a close match as well—one creates an expectation, and the other delivers on it.

clear vs unclear url on facebook

For example, above, you'll see two URLs I shared on Facebook. In the first, it's wholly unclear what you might find on the page. It's in the news section the BBC's website, but beyond that, there's no way to know what you might find there. In the second, however, Pacific Standard magazine has made it easy for the URL to give insight into the article's content, and then the title of the piece delivers:

We should aim for a similar level of clarity in our own URLs and titles.

#8: Including stop words isn't necessary

If your title/headline includes stop words (and, or, but, of, the, a, etc.), it's not critical to put them in the URL. You don't have to leave them out, either, but it can sometimes help to make a URL shorter and more readable in some sharing contexts. Use your best judgement on whether to include or not based on the readability vs. length.

You can see in the URL of this particular post you're now reading, for example, that I've chosen to leave in "for" because I think it's easier to read with the stop word than without, and it doesn't extend the URL length too far.

#9: Remove/control for unwieldy punctuation characters

There are a number of text characters that become nasty bits of hard-to-read cruft when inserted in the URL string. In general, it's a best practice to remove or control for these. There's a great list of safe vs. unsafe characters available on Perishable Press:

safe vs unsafe characters in urls

It's not merely the poor readability these characters might cause, but also the potential for breaking certain browsers, crawlers, or proper parsing.

#10: Limit redirection hops to two or fewer

If a user or crawler requests URL A, which redirects to URL B. That's cool. It's even OK if URL B then redirects to URL C (not great—it would be more ideal to point URL A directly to URL C, but not terrible). However, if the URL redirect string continues past two hops, you could get into trouble.

Generally speaking, search engines will follow these longer redirect jumps, but they've recommended against the practice in the past, and for less "important" URLs (in their eyes), they may not follow or count the ranking signals of the redirecting URLs as completely.

The bigger trouble is browsers and users, who are both slowed down and sometimes even stymied (mobile browsers in particular can occasionally struggle with this) by longer redirect strings. Keep redirects to a minimum and you'll set yourself up for less problems.

#11: Fewer folders is generally better

Take a URL like this:

randswhisky.com/scotch/lagavulin/15yr/distillers-edition/pedro-ximenez-cask/750ml

And consider, instead, structuring it like this:

randswhisky.com/scotch/lagavulin-distillers-edition-750ml

It's not that the slashes (aka folders) will necessarily harm performance, but it can create a perception of site depth for both engines and users, as well as making edits to the URL string considerably more complex (at least, in most CMS' protocols).

There's no hard and fast requirement—this is another one where it's important to use your best judgement.

#12: Avoid hashes in URLs unless absolutely essential

The hash (or URL fragment identifier) has historically been a way to send a visitor to a specific location on a given page (e.g. Moz's blog posts use the hash to navigate you to a particular comment, like this one from my wife). Using URL hashes for something other than this, such as showing unique content than what's available on the page or wholly separate pages is generally a bad idea.

There are exceptions, like those Google enables for developers seeking to use the hashbang format for dynamic AJAX applications, but even these aren't nearly as clean, visitor-friendly, or simple from an SEO perspective as statically rewritten URLs. Sites from Amazon to Twitter have found tremendous benefit in simplifying their previously complex and hash/hashbang-employing URLs. If you can avoid it, do.

#13: Be wary of case sensitivity

A couple years back, John Sherrod of Search Discovery wrote an excellent piece noting the challenges and issues around case-sensitivity in URLs. Long story short—if you're using Microsoft/IIS servers, you're generally in the clear. If you're hosting with Linux/UNIX, you can get into trouble as they can interpret separate cases, and thus randswhisky.com/AbC could be a different piece of content from randswhisky.com/aBc. That's bad biscuits.

microsoft vs unix case sensitive urls

In an ideal world, you want URLs that use the wrong case to automatically redirect/canonicalize to the right one. There are htaccess rewrite protocols to assist ( like this one)—highly recommended if you're facing this problem.

#14: Hyphens and underscores are preferred word separators

Notably missing (for the first time in my many years updating this piece) is my recommendation to avoid underscores as word separators in URLs. In the last few years, the search engines have successfully overcome their previous challenges with this issue and now treat underscores and hyphens similarly.

Spaces can work, but they render awkwardly in URLs as %20, which detracts from the readability of your pages. Try to avoid them if possible (it's usually pretty easy in a modern CMS).

#15: Keyword stuffing and repetition are pointless and make your site look spammy

Check out the search result listing below, and you'll see a whole lot of "canoe puppies" in the URL. That's probably not ideal, and it could drive some searchers to bias against wanting to click.

keyword stuffing urls

Repetition like this doesn't help your search rankings—Google and Bing have moved far beyond algorithms that positively reward a keyword appearing multiple times in the URL string. Don't hurt your chances of earning a click (which CAN impact your rankings) by overdoing keyword matching/repetition in your URLs.


Best of luck with all your URL creation and optimization efforts! Please feel free to leave any additions, ideas, or observations in the comments below.


Sign up for The Moz Top 10, a semimonthly mailer updating you on the top ten hottest pieces of SEO news, tips, and rad links uncovered by the Moz team. Think of it as your exclusive digest of stuff you don't have time to hunt down but want to read!

By |February 24th, 2015|MOZ|1 Comment

These are Apple’s new, diverse emoji we’ve been waiting for

Diverseemojithumb
Feed-fb

Apple is rolling out the new beta of OS X to developers — and, for the first time, we have a close look at more diverse emoji.

Apple has openly acknowledged that emoji lack racial diversity; even the ones that do represent people of color are often criticized as stereotypical. Now, it looks like the Cupertino company is finally making steps in the right direction

Screenshot 2015-02-23 15.11.27

Screenshot 2015-02-23 15.10.17

Screenshot 2015-02-23 15.11.34

We got our first look at the new emoji in November, but examples were limited.

It looks as though these emoji will have interchangeable swatches that can change a Caucasian emoji to a variety of different skin colors. There are six different options for hair and skin, accessible through a dropdown menu on each icon in apps such as Messages for Mac. ...

More about Apple, Diversity, Social Media, Apps Software, and Mobile

By |February 23rd, 2015|Apps and Software|0 Comments

How to blow off an iPhone call with a snarky text response

Respondiphonecalltext
Feed-fb

Sometimes you just have to tell it like it is.

If someone is all up in your iPhone's recent calls and you just really don't want to talk, the only way to stop the craziness is to be blunt with a custom text response.

With two taps of your iPhone's screen, you can send a loud and clear SMS message that you aren't in the mood for a chat. Here's how.

Set up your custom response options.

1

Head to your Settings app, scroll down and tap "Phone." On the next screen, select "Respond with Text" for your options

2

You'll see Apple's vanilla default options in grayed-out text ...

More about Mobile, Iphone, How To, Features, and Tech

By |February 23rd, 2015|Apps and Software|0 Comments

Building Online Marketing Strategies for Small Businesses

Brand Images

Posted by MorganChessman

Building marketing strategies for small businesses is one of my favorite things. In my first marketing role, I worked in the marketing department for a small company before moving on to Distilled, where I've been lucky enough to continue working with small businesses that have enormous potential. Despite the various industries, locales, and personalities, one of the prevailing similarities between them is that small businesses often don't position their company or use the web as effectively as they could. While this is partially due to the time and resource crunch small business owners feel, it's also because, beyond building a website, they don't know where to begin.

It doesn't have to be so overwhelming though. I'll walk you through the preliminary steps I take my small business clients through.

1. Define the brand

A number of the small companies I've worked with didn't have a brand. That's not to say that they didn't have a name, a website, and a logo. It's that they didn't stand for something.

For example, what comes to mind when you think of Apple? Innovative and well-designed products? Exactly. So many small businesses are built from an individual wanting to work for themselves or because they see an opportunity to improve on an existing product. They figure, build the website and they will come.

But it's not that way. You need a brand. As we've seen throughout history, the companies that have staying power have a brand, something that differentiates them from their competitors, something that people connect with and, coupled with good products and customer service, something that keeps people coming back.

I'm sure you're thinking, "Well that's all fine and good, Morgan, but I don't know how you go about building a brand." That's fine. There are people who make careers out of building brands you could contact, market research surveys you could pass out, and focus groups you could run, but, realistically, small businesses don't usually have the financial resources to invest in these strategies. This doesn't mean you can't have a brand though; you'll just have to run a lightweight brand building exercise which goes something like this:

1. Think about your origin story

Ask yourself: "Why did I start this company? What am I proud of?" Oftentimes what drove you to start your own company and how it's reflected in your business practices is what makes you unique.

2. Talk to your customers

Ask your customers: "What do you like about our company? What don't you like? Why did you choose us over our competitors? What are your pain points?" When you listen to customers talk about your business, you'll have a better understanding of the aspects of your company that resonate with people and what should be reflected in your brand messaging.

3. Do competitor research

Take a look at your competitors' websites. Ask yourself: "What are they doing well? What aren't they doing well? How do they talk about their company?" You're looking for holes in your industry, a way to make your company different than your competitors.

4. Compile all information and develop a brand

Once you've researched your origin story, competitors' tactics, and customer sentiment, it's time to start building a brand. What from your origin story and customer conversations stood out and got you excited? How can you talk about those things in a way your competitors haven't? Once you have that figured out, you have a brand position.
Let's make this final step more concrete with an example. I worked with a tech consulting and recruiting firm that had a history of success in the immediate area, but was looking to attract people from the greater region as well as gain new client companies. In order to stand out from the other technical consulting firms and get people excited about working for them, we knew that they had to have more than a website that stated they were a consulting firm. They were going to have to develop a brand. We ran through the steps above with the following takeaways:
  • Origin Story: The owner started the company because he liked working with really competent developers, and realized that the best way to ensure he did so was to start his own company.
  • Customer Research: Customers preferred going with this particular company because the quality of work was always so high. People liked working for this company because there was always a lot of challenging work.
  • Competitor Research: The rest of the companies weren't run by people with technical backgrounds. This company was, though, and as a result was able to do more rigorous testing and find the best people.
The main theme here was that the company only hired the best (origin story), because they had the technical chops to know who the best were (competitor research), which meant that this company's employees did exceptional work (customer research), which in turn made sure they landed challenging contracts (customer research).
Due to this insight, we positioned the company as the elite option, heavily citing the fact that only 4% of people could pass the technical interview—to work for this company was to work with the best and that to hire them was to have the best working for you. This resonated well with both target audiences, and they saw a heightened brand awareness with both potential recruits and clients.

2. Review the website content and language

Although most small businesses have websites, it's necessary for owners to take a step back and review the website through the eyes of a consumer. Too often people assume that website visitors have a certain level of company knowledge, or that they speak the same jargon. That's not always the case. For example, the aforementioned tech company originally wrote so vaguely about their services using insider jargon that neither target audience understood the company's mission. Once the text was rewritten with specific consumers in mind, people started coming to the owner and saying "Now that you've redone your website, I finally understand what your company is about." In order to not find yourself in that position, ask yourself:

1. Does the website have the information my target audience needs?

A company website is useless if it doesn't have the information your target audience needs. On the most basic level, this should include what your company does, in-depth product or service information, prices associated with your services, and contact information. It's actually astonishing how often companies, both large and small, don't do this.
Just the other day, I was looking at marketing software and even now I couldn't tell you what their product does. If they had taken a step back and assumed that people didn't know what their company did, their website would be more effective and they'd likely increase leads.

2. Am I using the language my target audience would use?

Oftentimes, we get so wrapped up in our industry that we forget that others, especially customers, don't necessarily use the same terms as us. By using terms that are different from those of your target audience, your organic traffic will suffer and your website won't be nearly as effective. When you talk to your customers during the branding exercise, see what terms they use. Use keyword research to validate your findings and use this language on the website.
Remember that your brand position is at the heart of this language and content. You want to talk about your core competencies in a language that's accessible, but through the lens of what makes you different. The tech consulting firm I worked with, for example, rewrote their text so that there were pages dedicated to both their recruiting and consulting services. Both of those pages used the terms that those specific audiences would use, spoke in depth as to what these services were, and did so by concentrating on the 'elite' factor in a way that appealed to both sides. The content and language need to be there for your audience, but use the defining aspects of your brand to spice it up.

3. Develop overarching marketing strategy

So at this point, you have a website that reflects your brand and differentiates you from your competitors. I'm going to assume that your website is already optimized for search engines and that you have a good user experience. You're done, right? Yes and no. You could be done if you're not relying on online to be a huge source of business. If you are counting on online, it's time to start working on your overarching online marketing strategy.
This is the part that tends to feel the most overwhelming for small businesses. With so many different avenues out there, it can be stressful knowing what to pursue. My first piece of advice? Don't pursue them all. It's okay not to. You're a small business owner with limited resources, so only go with the ones that will have the biggest ROI.
So how do you know which ones are worth your time?

Content strategy

In the online marketing world, content is king. Google wants you to deliver value to your site visitors and unique content is one way of going about this. Building a content strategy isn't easy though. You don't want to write the same thing that everyone else in your industry is writing about. There's no unique value in that, and because your site likely isn't strong from a domain authority perspective (yet!), you'll usually find it difficult to rank against the big sites who are writing the same content.

Instead, you'll need to take stances on issues or solve your clients' unique problems, giving them a reason to keep coming back to your site. If you can do this, great, but don't just write content for the sake of it. If you're a small ice cream shop for example, it's going to be difficult to write content that's on-brand and relevant to your audience. In this case, focus on other marketing strategies.

Paid

Doing paid, whether search, display, or social, can be really effective if done correctly. The downside? It can take a lot of time and money to monitor and improve on your campaigns. Highly competitive terms can have extremely high cost-per-click (CPC) rates, and the cost-per-action (CPA) is usually even higher. For example, terms in the insurance industry can have CPCs of $50 in a search environment.
In order to be as cost efficient with this strategy, you'll have to constantly monitor your campaigns and see what is working well and what isn't. Even though it can eat through your time and money, it's a good option for people who aren't showing up in SERPs or driving traffic from other avenues.

Social

Social can be a really effective way of engaging consumers and building brand loyalty, but I normally only suggest starting a social strategy once a company has built out their brand and website. You're going to need unique content, images, or deals in order to have a social marketing strategy. It's often easier to start in other areas and build a catalog of resources before you launch into social.
Once you have content to share, decide which social platforms best fit your company's mission. For example, LinkedIn and Twitter are usually better for B2B while Facebook is better for B2C. Just like you don't have to chase every marketing strategy, you don't have to have a social campaign for every platform. Concentrate on the one or two that will best reach your audience. Make sure the content you're sharing will do well on that platform. For Facebook and Pinterest, you'll need image based content while Twitter and LinkedIn will be best for article-based content or quick updates.

Email

Email marketing isn't an effective method of gaining new customers, but is a great avenue for businesses trying to increase retention or brand loyalty. If this is your goal, make sure your emails contain value. For example, you open email from your doctor's office reminding you about an appointment or from a local ice cream shop that offers discounts because these emails contain value. When people open these emails, their lives get easier or they're given something that gives them tangible value. It's vital that your email marketing communications do the same whether it be content or deals.

Local

If you're a small business using the Internet to drive traffic to your store, I absolutely believe you should be invested in local. While there's the initial time investment to get it set up, there's a minimal time investment needed to keep it up-to-date.

Promotions

At Distilled, we have a whole team responsible for reaching out to bloggers and publications in order to get our clients and their content featured in the right places. Their work not only helps build brand awareness but, when our clients' work is covered and linked to, also has the added SEO benefit of natural links and, in turn, a stronger site.
Most small businesses don't have the resources for this kind of promotion, but if you want your brand and organic traffic to grow, it's vital that you partake in a variation of this. Instead of scoping out bloggers and target publications like the New York Times though, start small. Build relationships with other businesses in your area or be active in industry specific forums. Building those relationships and positioning yourself as a thought leader will help your business as well as your own name grow which can then result in brand awareness and links. For small businesses, it's important to network even in a way that isn't necessarily 'online first.'

There's a lot that goes into marketing for any size company, but it can be particularly overwhelming for small businesses which have limited time and resources. It'll be a lot of work, no doubt about it, but will feel a little more manageable, even for one-person teams, if you take it one step at a time.
Start by figuring out what makes your company different and communicating that. In my experience, this alone will put you ahead of many of your small business counterparts. Then it's time to think about your customers' needs and how you'll address them. Having content that's valuable to your customers and their problems, content they'll actually want to consume, is a huge part of the battle.
Now that you've got the content, decide which marketing strategies will be most likely to help you reach your target audience. Just remember that you don't have to overextend yourself and use every possible marketing channel to do this. So: Brand. Language. Content. Share. You've got this.
Tell me about your small business branding adventures in the comments below!

Sign up for The Moz Top 10, a semimonthly mailer updating you on the top ten hottest pieces of SEO news, tips, and rad links uncovered by the Moz team. Think of it as your exclusive digest of stuff you don't have time to hunt down but want to read!

By |February 23rd, 2015|MOZ|0 Comments

5 can’t-miss apps: ‘Alto’s Adventure,’ Storm, OneNote and more

Altosadventure-1
Feed-fb

With news that Lenovo's Superfish adware put users at risk and rumors of a possible Apple car swirling, you may have missed some of this week's best new apps.

Luckily, each weekend, we round up our favorite new and updated apps, so you won't miss out.

This week's list includes a gorgeous endless runner, Weather Underground's new storm-tracking app, Microsoft's latest OneNote update and a new video messaging app.

Check out the gallery, above, to see all the apps that made our list of top picks. And if you're looking for more, take a look at ...

More about Tech, Android Apps, Ios Apps, Apps Software, and Apps And Software

By |February 22nd, 2015|Apps and Software|0 Comments