Are your URLs search engine friendly? If not, you need to make some changes moving forward. Before you create another page on your website, here’s what you need to know about writing SEO-friendly URLs.
Once in a while, Google hosts hangout sessions where a top employee will answer questions about search engine optimization. In the past, these sessions were hosted by Matt Cutts. Today, they’re hosted by Google’s Senior Webmaster Trends Analyst John Mueller.
It’s important to pay attention to what Google employees say about SEO. However, use your own discernment before acting on their advice. Although Google’s employees are a wealth of information and advice, they often provide limited answers to important questions.
I believe that’s a very small ranking factor.
Note that Mueller’s answer wasn’t derived from factual assertions about Google’s algorithm. He stated a belief about the ranking power of using keywords in URLs. It’s possible that sharing a definite answer would give away Google’s secret algorithm. However, it’s equally possible that he doesn’t know the answer and is giving his educated opinion.
It’s not that Google’s employees are intentionally being vague. They’ve all signed non-disclosure agreements and have strict parameters regarding how much information they can provide when answering even the most basic questions.
Regardless, one thing is clear: nobody – not even Google’s employees – can publicly verify or deny with absolute certainty how much power keywords have in a URL. Although, that doesn’t mean you should avoid using keywords in. your URLs.
Using keywords in your URLs is helpful for visitors regardless of their SEO power. Even though search engines and mobile browsers don’t generally display full URLs anymore, users might want to find a webpage in their browser’s history and will search by keyword.
The best approach is to use between one and three targeted keywords related to your page content. However, format your URLs for your visitors first. When you do that, you won’t need to know how much ranking power exists to get whatever ranking benefits might be available for your keywords.
It’s important to structure your URLs within certain technical parameters to get full SEO benefits. Here are three basic URL structuring tips.
Dynamic URLs are fun for programmers, but not for search engines. You want to use static URLs for the best results. If you’re not sure what a dynamic vs. URL is, here’s an example:
Dynamic URLs are stored in your website’s database so they can be generated in multiple configurations on command.
Because of their structure and the way search engines read URLs, search engines see dynamic URLs as duplicate URLs rather than unique. When a search engine comes across a dynamic URL with a question mark, for example, it will truncate the URL at the question mark.
Since dynamic URLs store category and unique page data at the end of the URL, the truncating process removes all the information that makes each URL unique.
The search engine will then truncate all other URLs for the domain name, which makes all URLs appear the same and prevents them from being indexed because they appear to be duplicates.
With a static URL, search engines look at the entire URL and know it’s unique.
There’s only one reason you’d have to worry about using dynamic URLs and that is if your content management system (CMS) generates dynamic URLs.
Thankfully, most modern content management systems use static URLs. This includes WordPress, Joomla, Magento, and more. If you’re using a legacy CMS that uses dynamic URLs, like Subdreamer, switch to a new platform.
Keep in mind that you may need to adjust your settings to generate static URLs. For instance, with Magento, you need to actively configure static URLs for your media files.
Search engines, especially Google, use every bit of information possible to determine the context of all content. Your URL may play a significant role in that process.
Use your URL structure to describe page content. However, you don’t need to use complete sentences or make your URL match the title of your articles. Here are some examples of article titles and a strong, relevant URL:
Title: 7 SEO Strategies That Don’t Work in 2021
Title: Why You Should Use DuckDuckGo as Your Primary Search Engine
Title: These 5 Marketing Gurus Want to Share Their Secrets with Entrepreneurs
Title: How to Learn 3 New Programming Languages in Three Months
Notice that sometimes the URLs don’t mimic the title. The idea is to make your URLs as short as possible. You can use synonyms and shorten ideas to get your point across in just a few words.
Again, search engines use URL structure to determine the context and relevance of page content. Even if the words used in your URL have no direct influence on ranking, they will influence ranking by informing search engines about your page content.
URLs are for users. Although Google stopped automatically showing the URL in search results, your URLs still serve an important function to users if you’ve got a content marketing campaign.
Think about how your webpages will be linked across the web. Users will probably hover over your link to see where it leads before clicking. If you want to get clicks from content marketing, it’s critical to ensure your URLs accurately represent page content.
Informative pages should have shorter URLs than your blogs. For example:
Informative page URL: https://www.yoursite.com/services/
Blog page URL: https://www.yoursite.com/how-to-perform-seo/
Blog URLs should be as short as possible, but will naturally need to be more descriptive than informative pages.
The technical structure of your URLs matter. Here are 5 tips to optimize the technical aspect of your URLs.
Capital letters should be avoided in URLs and directory names with few exceptions. Unlike domain names, URLs are case sensitive. There is a host of potential problems that can occur if you use capital letters in your URLs.
Keep your URLs simple by using all lowercase letters. This applies to your directories as well.
Hyphens are the preferred method for separating words in a URL. Underscores can be used, but they don’t look as professional. With a bare link (when the anchor text is the full URL), the fact that the link is underlined makes the underscores blend in with the underline. This makes users misinterpret the full URL of the bare link, which can prevent clicks.
Although hyphens are better than underscores, they should be used sparingly. If you keep your URLs short with as few words as possible, you won’t need to worry about overusing hyphens.
Subdomains are treated as separate domain names by most search engines. Technically, that’s the purpose subdomains are intended to serve. To avoid having to run a separate SEO campaign for a subdomain, don’t use subdomains if you don’t absolutely need them.
Directories, on the other hand, are okay to use in URLs, but should be used sparingly for a few reasons.
If you have multiple directories, those directories may not get crawled, which means the pages won’t get indexed.
If you’re using directories just to create an organized URL structure, use a CMS with categories instead. Both will make a URL appear organized, however, categories don’t create subfolders that require maintenance and security.
Technically, it doesn’t matter if you use .html or .htm as your page extensions. Google doesn’t care about page extensions. However, using .htm can create several problems.
If you use .htm for your web pages and you end up switching to a CMS that produces pages with the .html extension, you’ll have to create 301 redirects for all of your .htm pages. If you don’t create redirects, your pages will be 404 errors and will eventually be de-indexed from the search engines.
Since .html is the current standard, it’s best to start with .html to avoid any problems in the future.
If you have a website that uses PHP, you might have some pages that are pure HTML. Even though those pages are pure HTML, it’s a good idea to use the .php extension uniformly throughout your site.
Visitor might notice some of your links are .html and some are .php and while they may not have a conscious reaction, they might subconsciously feel the incongruity.
The main reason you should use .php extensions throughout your entire site is to avoid future 404 errors that can tank your SEO efforts and ranking.
Right now, if you have pure HTML pages, those pages are indexed and ranked in the search engines in their .html form. The second you change the extension to .php, search engines see the URL as an entirely different page.
If you want to add PHP to your HTML pages later on, you’ll need to change the extension to .php. If you set up your pages as .php from the beginning, you won’t have to change the extension, which means you won’t need to create 301 redirects to fix 404 errors.
If you use WordPress, there are several ways to format your URLs within the WordPress CMS. Here are 4 tips for managing your WordPress URLs.
This format is the closest you’ll get to a proper, standard URL. It’s simple, descriptive, and will provide search engines and users with all the necessary information.
There are other combinations you can use, and you might have a good reason to use a different format. However, if you don’t have a specific reason to use another format, use the /category/postname structure.
Short URLs are good URLs. In WordPress, keeping your category slugs short helps keep your URLs short. Category slugs are displayed as part of each page URL. The shorter, the better.
It’s possible to add subcategories to your URLs, but that may not be a good idea. All this does is make your URL longer. However, you might have a specific reason to use two categories in your URLs. In that case, you may want to pass your idea by an SEO specialist to make sure your reasoning is sound.
WordPress is great for SEO, but you’ll need to make some changes to leverage this power. The system automatically generates a URL that matches the title of your post or page. If your title is long, your automatically-generated URL will also be long.
Instead of using the automatically-generated URL, create your own. You can use the generated URL as a starting point and delete all the words that are unnecessary, however, it’s faster and easier to just type in a shorter version of the title.
Like many other components of SEO, having SEO-friendly URLs creates a strong foundation for a successful SEO campaign.
Now that you know how to write SEO-friendly URLs, are you looking for more powerful ways to gain rank in the search engines? If so, we can help. Our team of SEO experts want to partner with you to take your site to the top of the SERPs where your pages will be visible to your potential clients, customers, and readers.
If you’ve already invested time and money into SEO, we can perform an in-depth site audit to help you pinpoint exactly where you can improve your SEO efforts. If you’re not sure about a full site audit, start with a free SEO site audit to get a general overview.
If you’re ready to move ahead with an SEO campaign that gets results, contact us directly – we want to help you get the rankings and visibility you deserve.