301 Redirect - The SEO way to rename or move files or folders



Get Web Design Tips and Tricks on mps-web-design.com. 301 Redirect - The SEO way to rename or move files or folders topic will increase your understanding on Web Design Tips and Tricks. We at mps-web-design.com only provide news, articles, information in Web Design Tips and Tricks. Web Design Tips and Tricks at mps-web-design.com provides the most up to date news and articles. If you have questions please do not hesitate to contact us.

In this article I will discuss page redirection techniques, what works and what to avoid.

What is page redirection and why would you want to use it?

Let's say you rename a page on your website, for whatever reason. Perhaps you decided to revamp your entire naming convention, perhaps you decided to restructure your site and need to move pages into different folders, or you just realized that you are missing valuable keywords.

Let's elaborate a bit on the keywords issue, since it is part of your search engine ranking success.

Let's say the page in question is about customized USB drives and you named it page1.htm. Then you read some SEO (Search Engine Optimization) articles and you found out that some search engines use words in the actual file name as search keywords. Next time you do a Google search, take a look at the results, most will have words in the actual file name (in the URL section) bolded, denoting a keyword match. Your USB drives page will definitely benefit if named something like custom_usb_drives.htm instead.

Now that you renamed your page, you just created a symphony of issues for yourself, for your users and for your position in search engine results.

Linking issues:

You will have to point every link on your site to the new page name. If your site is small, it should not be a big deal, but if your site is large, you will inevitably make mistakes, mainly forgetting a link or two. This will result in visitors getting the dreaded '404 page not found' error when clicking on your links, robots (also know as crawlers or spiders) avoiding you, etc. Also, if you are heavily relying on visitors from search engines, then again, people will get a '404 page not found error'.

Let's use the previous example, for a long time your page1.htm was indexed by major search engines. If someone types 'custom usb drives' in a search engine box, your page shows up on the first search results screen. That is fantastic, only if someone clicks on the link, they will be pointed to page1.htm, not to custom_usb_drives.htm, because the first page is the one in the search engine's index. It will take time, sometimes months, before the search engines update their indexes with your new page name.

Lost Page Rank (PR) issues:

Google developed a proprietary algorithm that assigns a Page Rank (PR) to every page on the web. PR is a number from 1 to 10 (10 being the ideal) and is intended to be a representation of how useful and popular a given page is. PR is influenced by many factors, one of the crucial ones being Link Popularity. Link Popularity is a representation of how many 'quality' or 'relevant' sites link to your page. Without getting into too much detail, it is increasingly difficult and time consuming to achieve a high PR for your pages, especially if you don't have a really unique website with exceptional and highly sought after content. If you are merely operating a commercial site, in a competitive market (such as selling custom branded USB drives, as in our example), then it takes a lot of time and hard work to build a good page PR.

When you rename a page and discard the old page, you also discard the PR of the page. Your renamed page will be seen as a totally new page, with 0 PR.

What is the solution?

I will start by enumerating some of the methods used by the non-initiated.

Not recommended solution 1: Duplicate content.

First thing that probably comes in you mind is: well, why can't you just duplicate the page and let nature take its course. In other words, you will have two identical pages, one named page1.htm and one custom_usb_drives.htm. This gives you time to update all links and the search engines will eventually index the new page.

This solution is not viable because search engines will penalize you quite badly, 'thinking' that you are trying to scam them by using the 'duplicate content' technique.

Not recommended solution 2: Custom error message.

You could create a custom error page. However, you will lose rankings on the next search engine update as the file will appear to be non-existent. As discussed above, it could be some time before the page with the new name will be indexed and will appear in people's searches. Also, your web site visitors will be frustrated by the fact that they now have to dig through your site to find the desired information.

Not recommended solution 3: An HTML Meta redirect.

You could implement a so called Meta refresh in a blank or customized page that has the name of the old page (in our example, page1.htm) that points to the new page. The redirect can be instant, or delayed by a predetermine amount of time. The delayed redirect has the advantage that you can place an extra message, such as 'please be aware that the page you are looking for changed location..... etc., etc.... you will be redirected automatically to the new location'

In the past, this was probably the most used technique.

Without getting into the mechanics of the Meta redirect, which is basically a META tag statement you ad to your HEADER section, know that there are also Java Script techniques that achieve similar results.

What is bad about this is that this is a technique often used by spammers to trick search engines and it should be avoided, unless the page is in a section of your site that isn't indexed (also known as spidered or crawled). Search engine spammers create a page that is optimized for certain keywords and phrases - it usually has no real content. The page is then picked up by some search engines, but when a visitor clicks on the search engine entry, they are redirected to another site, often unrelated. Most search engines have filters to detect this. Using this form of search engine deception will see a site eventually banned or penalized by major players such as Google.

The recommended redirect strategy - 301 Redirect

A 301 redirect is the most efficient, visitor friendly, robot (spider, crawler) friendly and search engine friendly solution around for web sites that are hosted on servers running Apache. If you are not sure, check with your hosting provider.

A 301 redirect is just a set of commands you type into your .htaccess file.

When a visitor (whether human or robotic) requests a web page via any means, your web server checks for a .htaccess file. The .htaccess file contains specific instructions for certain requests, including security, redirection issues and how to handle certain errors.

The code '301' is interpreted as 'moved permanently'. After the code, the URL of the missing or renamed page is noted, followed by a space, then followed by the new location or file name.

First of all, you'll need to find the .htaccess file in the root directory of where all your web pages are stored. If there is no .htaccess file there, you can create one with Notepad or a similar application. Make sure when you name the file that you remember to put the '.' at the beginning of the file name. This file has no tail extension.

Some hosting providers offer redirect services through their 'control panels', so you don't have to perform low level changes on the .htaccess file itself. Instead, they provide a user friendly interface for this. Check with your hosting provider to see what the optimal way to perform a 301 redirect is in your case. I will continue the article with the barebones solution.

If there is a .htaccess file already in existence with lines of code present, be very careful not to change any existing line unless you are familiar with the functions of the file.

Scroll down past all the existing code, leave a line space, then create a new line that follows this example:

redirect 301 /folder/page1.htm http://www.you.com/folder/custom_usb_drives.htm

It's as easy as that. Save the file, upload it back into your web and test it out by typing in the old address to the page you've changed. You should be instantly and seamlessly transported to the new location.

Notes: Be sure not to add 'http://www' to the first part of the statement - just put the path from the top level of your site to the page. Also ensure that you leave a single space between these elements:

redirect 301 (the instruction that the page has moved)

/folder/page1.htm (the original folder path and file name)

http://www.you.com/folder/custom_usb_drives.htm (new path and file name)

The same format applies not only to renamed files, but also to files moved to a different location.

The 301 redirect is the safest way to preserve your rankings. On the next indexing (crawling, spidering), the search engine robot will obey the rule indicated in your .htaccess file and index the new page name every time a link or its internal database tries to access the old page. In the next update (again, this could take months), the old file name and path will be dropped and replaced with the new one. Sometimes you may see alternating old/new file names during the transition period, along with some possible fluctuations in rankings as things settle. Don't panic, this is normal.

What if your site is hosted on a Microsoft IIS server instead?

If you have access to the server, do this: In internet services manager, right click on the file or folder you wish to redirect. Select the radio titled 'a redirection to a URL'. Enter the redirection page, check 'The exact url entered above' and the 'A permanent redirection for this resource'. Click 'Apply'.

If you do not have access to the server, ask your host to point you into the right direction.

In conclusion, the best and the most transparent way (to both human and robotic users) to rename and move files on your web site, while preserving your search engine ranks is the 301 redirect.


My Unlimited Movies. - Download unlimited movies, music, games, videos, software, Tv shows, cartoons and more. Get access to over 15 billion files
Registry Toolkit - Registry Cleaner Tool. - Increase computer speed and stability by removing corrupted registry files with Registry Toolkit. We have Conversion Tracking!

Lately I've taken to subscribing to many newsletters and the "free" programs being offered by internet marketers - think Frank Kern, Yanik Silver et al. - and people like Aaron Wall and Shoemoney and that Brian fellow over at Copyblogger.

If you, like me, receive some of these emails, you may have noticed how their sales methods have taken the typical long web page sales pitch and turned it on its side. They've spliced it into emails and videos and feed that info to us in a much more interactive and entertaining manner then the long winded sales pages of old.

So this morning while trying to convince my 21 month old son to go to the park (that's right, to convince him to go to the park) I found that the usual things were not working. That is when it hit me.

Parental persuasion ala Frank Kern

Please note that I have not met nor do I know Frank Kern, and I am only singling him out because his name stuck with me. I suppose this parody below could be recognizable to Jeff Walker's children as well. One last note, I have found the free info they give away as they get you to the offer/pitch/monthly service to be quite valuable.

  • Dad: Hey son, want to go to the park with your favorite car and play on the swings?
  • Son: No!
  • Dad: Oh, did I mention that I found some extra strawberries, your favorite fruit? I figured you would want them and washed some for you. Want to go to the park with your favorite car and play on the swings and have some strawberries?
  • Son: My car...? No!
  • Dad: We can take the little soccer ball and some balloons. We know you like balloons so we bought some extras last night. Want to go to the park with your favorite car and play on the swings, with the ball and the balloons and have some strawberries? You don't have to do anything, just have fun!
  • Son: Balloons...? Where's my car? No!
  • Dad: Hey listen. Its 8:00, the street cleaner will pass soon. If we go now we can also see the street cleaner! You love the street cleaner and if we don't go now who knows when he will pass again.. Maybe never! Want to go downstairs and see the street cleaner, then go to the park with your favorite car and play on the swings, with the ball and the balloons and have some strawberries?
  • Son: Street cleaner...? Balloons...? Where's my car? Hmm... (asks for shoes, walks over to the car...) No!
  • Dad: Listen. If we go down now, we can stop at the bakery. I'll order an espresso (you love the noise from the espresso machine!) and get you some toast and jam (I'll pay; you get this fre.e!) and we can sit at a table outside and watch the street cleaner. Then we can go to the park with your favorite car and play on the swings, with the ball and the balloons and have some strawberries? And one last BONUS: we can stop at the fountain and throw in some rocks!!

    Look, if you don't have fun doing this, later I will take you to the pool.
    YOU CAN"T LOSE!!

  • Son: (getting up on the car...) Yes! Lets do it! (makes some vroom vroom noises with the car).

Father and son head down the elevator out to the bakery. Son demands the water fountain in the park so we head straight there, where strawberries are eaten and some rocks thrown in. Then he says "casa" (hey, we live in Spain) and demands to go home. We stop to watch the street cleaner pass by and head home, not having visited the swings, played with the balloon or balls or had breakfast at the bakery.

(Okay, so in the end I also pick on we folks who buy these things - be they live the internet lifestyle products or self-help books - and don't implement them to the fullest :)



Article Index: | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79


More Articles:


1. How Do You Make A Website? By Sarah Tanner
No, that's not the real question. The real question is "How in the Heck Do You Make a Website???"You do not have to buy software. You do not have to invest $300 in a special online program, either. You can do this for free.My websites were created for free and I did them myself. I knew almost nothing about making a website. I did not use any store-bought programs whatsoever. (Actually, I did buy “Front Page.” I never got around to figuring it out. My daughter zipped out a website on “F…

2. 11 Tips to Energize Your Website Copy
Imagine; you spend thousands of dollars designing your website and no one comes. Why? It could be that you forgot about the content or you didn't invest enough in the message. Good website content delivers the right message in the right way. Tip #1 -The most important rule to remember is that writing for the web is not like writing for print. Tip #2 - Brochures contain a tremendous amount of information in a small amount of space. You can't successfully post the wording from a brochure on yo…

3. How To Choose Good Search Engine Optimisers
SEO usually stands for 'Search Engine Optimiser' or 'Search Engine Optimisation'. Search Engine Optimisation is important to anyone who wants their website to rank well in major search engines. SEO is a complex process. Outsourcing your site to a SEO specialist or firm can be a good solution if you are busy and do not want to pay the penalty of being blacklisted by search engines in case you have done something 'unethical' unknowingly. This article outlines some important criteria to look for in…

4. Print Design vs Web Design - Part 1
Despite the lucrative business opportunities on the web, many web site design companies create web sites that receive such low sales that do not even cover online costs. The problem here though is not the web, but an inability of inexperienced graphic and web site designers to distinguish web site design and promotion from everything that's come before it. When some people turn on their computer, they actually think they're seeing a printed page on their screen. They then assign print strategies…