Are looking for how to redirecting your old site to new website domain? They you must use search engine friendly method like use .htaccess file. If you are in development field then you must know this file. But you are SEO person and don’t know about it they don’t worry about it here you will get all information about how to tackle redirecting website.
.htaccess file is very popular these days because every one using this file for redirect old website to new website or rewriting URLs. If your website is like sub-domain and you want to convert to sub directory they you must use .htaccess file and also vise versa. .htaccess redirect is better than the Meta refresh or redirect tag because browser reads first .htaccess file and no delay happen as compare to meta refresh.
How .htaccess work:
What is redirects URL?
What is rewriting URL?
This problem special is coming to Joomla based website or like dynamic site. For example you URL is http://www.xyz.com/food=/es.gp?pageid=170 and now you want to static website URL like http://www.xyz.com/food/cafe-entry.php this type of change you need to take help of .htaccess file editing.
What type of error coming in website?
400 – Bad request Error
401 – Authorization Required Error
403 – Forbidden Error
404 – File not found error
500 – Internal Server Error
These types of errors are coming from links, bookmarks and search engines. And it’s very embarrassing of website to show these type errors. SO first you need to solve these errors for returning of you visitor.
How to write .htaccess redirect URL:
Go to website root folder, download the .htaccess file to your computer and edit it with a plain-text editor it is Notepad file. If you are using FTP Client software and you don’t see any .htaccess file on your server, double check your setting and make sure you have turn on invisible / system files.
To Redirect Entire Site:
Redirect 301 / http://www.new-site.com/
To Redirect Certain Page(s):
I just hope this guideline help you to solve your website problems.