Use permanent 301 redirect to preserve search engines rank.
The code generator supports web pages redirection of html, php, asp, aspx files and .htaccess redirect.
Domain name |
Hosting server |
Redirect code placement |
---|---|---|
not changed | not changed | old page on same server |
not changed | changed | old page on new server |
changed | not changed | old page on same server |
changed | changed | old page on old server |
* Only with .htaccess redirect: add redirect code to httpd.conf file or to .htaccess file.
Redirect type | Redirect side | Old page file type |
Old URL server type | Is permanent 301 redirect? |
---|---|---|---|---|
PHP | Server-side | .php | Apache / Linux | yes |
ASP | Server-side | .asp | IIS / Windows | yes |
ASP.NET | Server-side | .aspx | IIS / Windows | yes |
Apache .htaccess | Server-side | all | Apache / Linux | yes |
IIS web.config | Server-side | all | IIS / Windows | yes |
HTML meta tag | Client-side | .html | all | no |
Javascript | Client-side | .html | all | no |
jQuery | Client-side | .html | all | no |