If you want to redirect your Web pages without penalizing them in search engines you should use a 301 Server Redirect. But you don't need server programming to set one up, just a simple text file on your Apache Web server.
- If you don't have a .htaccess file in your root directory, open a new text file. If you do have one there, open it for editing.
- At the bottom of the file, add the line:
Redirect 301 /PATH_TO_REDIRECT NEW_LOCATION_URI
- Change "/PATH_TO_REDIRECT" to the directory path on your Web server you want redirected.
- Change "NEW_LOCATION_URI" to the URL path you want the pages redirected to.
- Save your .htaccess file and upload it to the root of your Web server.
- Test your redirect by going to the old path in a Web browser. You should be taken automatically to the new path.
- Always use 301 redirects rather than meta refresh tags. They are more search engine friendly.
- HTAccess

