Testimonials
My working experience with Grossi Web was a very good one. I work with a lot of web development teams that have an easy time talking about what you want but not being able to pull it off. That was not the case with Grossi Web. There was good communication throughout the process and they were able to pull off what they promised. -- Mike Lewis :: Modern Hook |
How to 301 Redirect
How to implement a 301 Redirect
- First you need to create or modify your .htaccess file (See below), open notepad, name and save the file as .htaccess (there is no extension).
- If you already have a .htaccess file on your server, download it to your desktop for editing.
- Place this code in your .htaccess file: redirect 301 /youroriginalfileorfoldername.html http://www.yourwebsite.com/newfileorfoldername.html
- If the .htaccess file already has lines of code in it, skip a line, then add the above code.
- Save the .htaccess file
- Upload this file to the root directory of your server.
- Test it by typing in the old address to the page you've changed. You should be immediately taken to the new location.
What is a .htaccess file?
The .htaccess file resides on your server and contains specific instructions for certain requests, including security, redirection issues and how to handle certain errors. You should be able to find it on the root directory where your website resides. When the search engines spider your site again they will follow the rule you have created in your .htaccess file. The search engine spider doesn't actually read the .htaccess file, but recognizes the response from the server as valid.
Important Notes:
Don't add "http://www" to the first part of the statement - place the path from the top level of your site to the page. Also ensure that you leave a single space between these elements:
During the next site crawl by the Search Engine, 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, plus some fluctuations in rankings. According to Google, it could take 6-8 weeks to see the changes reflected on your pages.