How to Implement 301 Redirects on Your Website

It goes without saying that if your site isn’t ranking well on major search engines, nobody will be able to find you. If you’ve worked hard at improving your ranking, then change your URL or move your website, it can all be unravelled in a flash.

301 redirects automatically send visitors and search engines to your new URL, and making appropriate use of them is vital for maintaining your current search ranking. What’s more, plugins such as Pretty Link Pro can make implementing them a snap.

In this post, we’ll explain what 301 redirects are, the process of implementing them manually, and how Pretty Link Pro can help. Let’s get started!

What 301 Redirects Are

Put simply, a 301 redirect is a permanent redirection from one URL to another – such as www.yoursite.com/version1 to www.yoursite.com/version2. The number refers to the HTTP status code for this type of redirect. Once implemented, any visitor or search bot visiting the original URL would be funneled directly to the new one.

It’s worth pointing out that 301 redirects should only be used as a means for permanent redirection, and is normally used to preserve the user’s experience while search engines catch up with your changes.

Why You Should Use 301 Redirects

Changing your URL without using a 301 redirect is similar to moving your business to a new address and not notifying customers. They’ll keep turning up to the old location for a while, but after some time, will eventually go elsewhere – leaving your business in ruins.

It’s the same thing with Search Engine Optimization (SEO) – if no one knows where to find you, you can’t gain traffic.

When moving domain, 301 redirects are ideal for the following reasons:

 

  1. You can resolve different URLs to the same location. People have their individual habits when it comes to inputting web addresses – some preferring to enter www, others not. 301 redirects make sure all instances take visitors to the right site.
  2. You can rebrand a website with a different URL. There are a myriad of reasons to change your URL. Whatever the reason, you can do this while preserving most of your PageRank.
  3. You can redirect traffic from different URLs owned by the same company. Some companies may need multiple domains to redirect to the same site. With 301 redirects, you’re free to do so.

 

While using 301 redirects isn’t rocket science, it can be confusing if you haven’t done it before. Don’t sweat it – we have you covered! Let’s take a look at how to do it.

How to Implement 301 Redirects on Your Website

Implementing 301 redirects manually is normally carried out through your .htaccess file. In short, this is a server configuration file that stores important settings related to your WordPress website. It can be found within your site’s root directory (normally called public_html or www), or in the top-level directory of your WordPress installation.

You’ll certainly need to access your site via File Transfer Protocol (FTP) in order to edit .htaccess. In this article we’ll be using the popular (and free) FileZilla application. If you’re uneasy about using FTP, consult both the documentation and your web host’s instructions before you get cracking.

Once you’re logged into your server, you may not see your .htaccess file. That can be remedied by selecting Server > Force showing hidden files from the FileZilla menu.

If you’re still struggling, you may not even have a .htaccess file. To fix this, log into your WordPress dashboard, navigate to Settings > Permalinks, choose any of the permalink settings, then save your changes. This forces WordPress to create a new .htaccess file. Make sure you revert back to your original permalink settings afterwards!

From here, you’ll want to carry out one more task before getting started: backing up your site.

Simply put, you should always back up before making any changes to your WordPress installation. That way, you have a good, clean version of your site to revert to in case the worst happens. Our recommendation is the UpdraftPlus plugin:

Using the plugin is a breeze – so there’s really no excuse for skipping this step. Alternatively, you can also opt for a premium option, such as VaultPress.

Next, log into your server using FileZilla, locate your .htaccess file, and edit it using your favorite plain text editor – any other application could potentially ‘break’ it. It’s important not to edit any pre-existing code too (i.e. everything between BEGIN WordPress and END WordPress).

To implement a 301 redirect, you’ll need to add the following code to the very bottom of your file:

 

# BEGIN 301 Redirects

Redirect 301 /old-post/ http://www.yourwebsite.com/new-post/

# END 301 Redirects

 

Simply replace /old-post/ with your old URL, then add the new URL to replace http://www.yourwebsite.com/new-post/. Save your changes, and that’s it!

How Pretty Link Pro Can Help With 301 Redirects

Our Pretty Link Pro plugin is more than just another URL shortener. It enables you to shorten, shrink, cloak, track, organize, share, and test all of your links:

In addition to shortening your URLs, Pretty Link Pro also offers multiple redirect options, including 301 redirects – all set directly from within your WordPress dashboard:

So, while the manual method has its place, Pretty Link Pro offers just as much power, without you having to touch a single line of code.

Conclusion

Moving your website or changing your URL can wreak havoc with your search engine rankings. It’s a good job, therefore, that 301 redirects can help reduce the pain involved. What’s more, Pretty Link Pro can help you implement them on your site quickly and easily.

In this post, we’ve shown you how to implement 301 redirects manually on your site. Let’s recap the necessary steps:

  1. Back up your site (we recommend UpdraftPlus or VaultPress).
  2. Log into your server via FTP (with a tool such as FileZilla).
  3. Add the necessary code to your .htaccess file, and save your changes.

Do you have any questions about 301 redirects or how Pretty Link Pro can help? Ask away in the comments section below!

Link Shortening: The Secret Weapon in Social Media Marketing

url

Hidden behind the scenes of digital marketing is a little detail that has made the world of difference. The Uniform Resource Locator (URL) is at the heart of the internet’s evolution, and yet it’s an often overlooked element until its format presents a problem.

Unwieldy URLs can become something of an eyesore – and a hassle – particularly for social media marketing. Long, unintelligible strings of text distract the reader’s attention, upstage your content, and are also difficult to track. That’s where link shortening (and tracking) comes in – and it’s the secret weapon in your social media marketing.

In this post, we’ll examine the origin of link shortening, illustrate why it’s so important to your current social media marketing campaigns, and finally show you how to harness its potential for your gain. Let’s get started!

A Very Brief History of the URL

To put link shortening into the proper context, let’s take a quick look at how it fits into the overall history of the internet.

Between 1989 and 1991 Sir Tim Berners-Lee invented the web, developing HyperText Markup Language (HTML), Hypertext Transfer Protocol (HTTP), and of course, the URL. Together, these form the basis of all we do online. Soon after, the public were invited to link to the first prototype, and the internet grew from there.

Ten years later, the first URL redirection service (V3.com) was set up. This enabled URL shortening, prevented broken links, and helped guide navigation into and out of web pages through a memorable, short URL.

Social media expanded rapidly from the early 2000s, with sites such as Photobucket and Flickr facilitating online photo sharing. YouTube arrived in the first half of the decade, followed by Facebook. Digital marketers soon found these to be the perfect platform for sharing links and content.

Twitter launched around the same time with its 140 character limit – which presented a brand new challenge for long URLs, adding more motivation for finding a way to shorten them, revamp them, and (of course) track them.

In early 2000, mobile phones started to access high-speed 3G networks, enabling them to connect to the internet. Display sizes soon became a burning issue. Before 2011, the display area on virtually every phone on the market measured between 2.5 and 4 inches. Since 2013, phones with displays under four inches are rare, yet display size still remains a problem for web designers.

The internet has now evolved into a versatile, powerful marketing tool – strung together by that one small detail we tend to forget about – the URL.

Why URL Shortening Has Become Vital

In the early days of the web, the average person didn’t have to worry about URLs too much. Those mysterious strings of text had a job to do, and were never given a second thought. Unless you were creating software, you didn’t really need to bother about using, cloaking, or tracking them.

Gradually that has changed. At first, longer and more complex URLs became a problem when pasting them into an email. Because the string of text would often be too long for a single line, text wrapping would break things, and clicking on the link didn’t always work.

With the explosion of social media, the problem became even more urgent. Now, URLs form part of your link building and sharing strategy, and they also need to fit into a limited space. Link shortening makes the whole process more manageable, and enables you to squeeze more links into the same space.

Besides just looking better on the screen, you can also tap into another very useful property of the shortened URL: It’s now possible to track what happens to your link – and that information is invaluable for your digital marketing campaigns.

Simply put, it lets you understand your audience, figure out what they’re doing with your content, and enables you to create better campaigns in the future.

The Perfect WordPress Link Shortening Tool

Using a third-party service has its advantages, but you’ll lose a certain amount of control over the process. For a start, there’s no guarantee you’ll always have access to your links, and that means there’s a risk to your credibility if a service ceases to exist.

In contrast, WordPress users come in all shapes and sizes. Some are able to code their own redirection software, but most don’t have the background – the vast majority are bloggers and small business owners. Therefore, the perfect solution should offer power and flexibility, while being easy to navigate and use.

The answer is to use a plugin such as Pretty Link Pro. It offers hassle-free link shortening, giving you the control you require, and also offers the tracking functionality you’ll need. Social links, redirects, and affiliate links are all taken care of, and no coding experience is required. It’s simply a matter of purchasing, installing, and activating the plugin.

What’s more, the software will automatically create short links for all of your pages and posts. You also get the ability to automatically tweet a customizable message to multiple Twitter accounts when a post is published.

Conclusion

The web has given us lots of scope for expansion. Whether we’re part of a worldwide team or running a small business, it’s important to keep up with any changes. If there’s a way to get the edge on the competition, it should be explored.

The URL is at the heart of web technology, and by extension, link shortening. A versatile, inexpensive tool such as Pretty Link Pro that unlocks its potential is vital to any WordPress user. To recap:

  1. The URL is often overlooked, but in reality it’s at the heart of web connectivity. Link shortening and cloaking is a secret weapon in modern social media marketing.
  2. With the evolution of the web, link shortening has become vital to better manage URLs.
  3. Unwieldy URLs should be replaced with short, pretty ones, and tracking and managing them needs to be easy.

Do you have any questions about URL shortening and Pretty Link Pro? Ask away in the comments section below!