Legal Redirect

Joined
Apr 17, 2009
Messages
27
Reaction score
0
Hello respectable members,

I have a doubt in redirecting. Is this code below is a legal redirect from the .htm page to .php page for the same page? That is redirect from

http://www.example.com/myname.htm
to
http://www.example.com/myname.php

If it is not; please explain in brief...:confused:

The code is

<META HTTP-EQUIV="Refresh"
CONTENT="0; URL=contactus.php">


Thank you in advance...
 
Hello respectable members,

I have a doubt in redirecting. Is this code below is a legal redirect from the .htm page to .php page for the same page? That is redirect from

http://www.example.com/myname.htm
to
http://www.example.com/myname.php

If it is not; please explain in brief...:confused:

The code is

<META HTTP-EQUIV="Refresh"
CONTENT="0; URL=contactus.php">


Thank you in advance...


Can any one help me out...
Still waiting!!!!!!!!!
 
<META HTTP-EQUIV="Refresh" CONTENT="0; URL=[my-new-page-name].php">
 
If you want a permanent redirect that tells the search engines that the page has moved for good, you should use the .htaccess file. If you don't have one, create a text file called .htaccess (starts with a dot).

The file should look like this:
RewriteEngine on

Redirect 301 /old.html http://www.mysite.com/new.html


I see your file extensions are .htm which suggests a windows server - not a good idea. The above works with Apache, any OS as far as I know. The 301 tells the crawler that your page has moved for good. They will update your index and transfer serp rankings to the new page.
 
Back
Top