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!

5 Reasons to Redirect Your Links with Pretty Link Pro

As an affiliate marketer, link redirects and cloaking have a number of advantages. Besides the pure aesthetics of a short, descriptive link, it can also have a considerable impact on the success of your business venture. It’s seemingly a small detail, but one that adds a seal of quality and professionalism to your marketing content.

What a reader sees when hovering over a link in the body of your text, or when a URL appears in the address bar, can be a deciding factor. It has a subliminal influence on whether the reader follows the link, and that fraction of a second can make all the difference.

Finding a way to create, organize and manage redirects for all your links – especially in a way that fits seamlessly into your WordPress environment – can be problematic. Pretty Link Pro was created specifically to solve that problem.

With that in mind, this post reveals five compelling reasons why setting up redirects for your links with Pretty Link Pro is a smart addition to your affiliate marketing strategy.

Let’s get cracking!

1. Increase Click-Through Rates

Your affiliate ID is the unique number used to track and record activity on your affiliate account. An affiliate link (with your ID included) typically looks something like this:

http://yoursite.com/?ref=123 click?id=exyzzyQzKg/F4&offerid=12345.10121&type=2&subid=0

Each time a customer clicks on a link of yours, the data is stored in a cookie, and you get the commission.

Unfortunately, an obvious affiliate link can harm your credibility. If that unsightly link appears in the browser’s address bar, it could quite possibly have a negative impact on your marketing efforts.

Psychologically, asking your readers to click a super long affiliate link with plenty of url parameters may send the wrong message – that you’re ‘in it for the money’ or even that you’re ‘tracking every move they make.’  No matter how well-written your copy is, and how attractive your images are, if your link gives the wrong kind of impression about your motives, your click-through rate can suffer.

Creating redirects for your links is easy with Pretty Link Pro – simply paste the URL you want to setup a redirect for into the Target URL box and the plugin does the rest. You’ll see your new short, descriptive link below the original, along with a four character slug (of course you can modify your link slug to anything you’d like).

To be clear this approach should never be used to obscure the fact that your link is an affiliate link. Before creating a pretty link redirect for your affiliate link you should check with your affiliate program to determine what their rules are on redirects and cloaking. But above all make sure you disclose each of your affiliate links — FTC rules state that you must fully disclose each affiliate link you have on your website (including on each page where you use the affiliate link). Whether your link is a direct affiliate link or redirects to an affiliate link it must be disclosed.

2. Avoid Ranking Penalties

Ranking penalties relate to how likely your page is to be found on a search engine such as Google. Search engines have complex algorithms that take lots of factors into consideration, and one of those factors is the number of affiliate links on your page.

Obviously, search engine traffic directly affects the commission from your affiliate links, so you can’t afford to jeopardize your page’s ability to be found.

Fortunately, there are ways around the issue of ranking penalties as they pertain to affiliate links. You could manually add “rel=nofollow” every time you create an affiliate link, but that’s a tedious way to go about it.

Pretty Link Pro makes the whole process much easier. It gives you the option to ‘nofollow’ your pretty links from within the plugin’s interface, without having to add a single line of code (these nofollows happen in the http headers rather than html so don’t be alarmed if you don’t see the nofollow in the link html). This means that when search engines crawl your site, they should skip over your affiliate links. While having too many affiliate or sponsored links can result in a penalty from Google, when they’re redirected, your rankings will remain unaffected.

With Pretty Link Pro, it’s a walk in the park. Head to the plugin’s dashboard, and navigate to Options > SEO Options. Tick ‘Nofollow’ this link, after creating your shortened link, and you’re good to go:

In addition to being able to add no-follows to the http headers of your pretty links, you can also add a ‘rel=”nofollow”‘ to all of your affiliate links when generating them using Pretty Link’s keyword replacement feature.

3. Prevent Link Theft

Link theft or link swapping is when your affiliate link is deliberately removed or swapped for another before your customer’s purchase is registered. An individual with bad intentions (and an affiliate account), could substitute your link with their own. The result is that you would lose the commission you would otherwise have earned.

Affiliate marketing has come a long way, and measures are taken to ensure that both companies and marketers comply with fair trade practices and Federal Trade Commission (FTC) regulations. Still, there will always be those individuals who try to find unscrupulous ways to milk the system.

Creating pretty link redirects for your links with Pretty Link Pro protects you. Since your affiliate link isn’t visible in the html, it can’t easily be removed or swapped by anyone other than you, and your commission earnings remain safe.

4. Outsmart Ad Blockers

Nobody likes to be bombarded by adverts. Because of this, some of your readers might be using browser extensions such as AdBlock Plus. Unfortunately, those kinds of browser extensions can suppress your page because of your affiliate links.

Setting up redirects your links is the solution – often making your page available on browsers with ad blockers installed.

To ensure banner ads display correctly, you’ll need to take one more precaution: Instead of hot-linking banners from the merchant’s domain, download them, and host them directly from your own site preferably using an awesome ad-management plugin like AdSanity.

5. Make Link Management Easier

Product links expire and affiliate programs change, or even close for business. If you’re trying to keep track of all your links with a spreadsheet, keeping up with all those changes can become a nightmare.

If you’re a member of more than one affiliate program, you might find that you lose track of which products belong to the different programs. That means logging in and going through each one until you find what you’re looking for.

Pretty Link Pro makes it easy to update your links automatically, no matter how many times you’ve included them in your content. There’s no need to keep a separate log.

You can also add a descriptive title for each link you create. This isn’t displayed as part of your short link, it’s simply there to help you stay organized when you’re keeping track of your links. What’s more, there’s also the option to create groups for all your links – keeping everything nice and tidy:

You’ll be able to see this information at a glance in the Links section. Here, your latest links are displayed first, along with the descriptive title you specified and the groups you’ve assigned:

6. Conclusion

Ultimately, the most important reason to set up pretty link redirects your links is to protect and to boost your commission earnings. While there are manual ways to get around the above problems, an automated solution will save you a great deal of time and give you peace of mind.

To summarize, here’s why setting up redirects with Pretty Link Pro makes sense … you can:

  1. Replace an unsightly URL link with a descriptive one that sits well with your audience and encourages click-throughs (but making sure to always comply with FTC rules by disclosing each affiliate link you use, on the page the link is listed on).
  2. Minimize the risk of ranking penalties from search engines.
  3. Protect your links from theft and swapping.
  4. Bypass ad-blocking apps.
  5. Make the whole process easier and more efficient.

Do you have an opinion on how link cloaking impacts your affiliate marketing? Share your thoughts 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!