Mind blowing SEO improving and Google rank increasing Signature Rotator SEO Tool.

Thread: 

HTML meta tag redirect

Ads
antony Offline referral

Posts: 478
Joined: Jul 2013
Reputation: 5

#1
Senior Member
I want to automatically redirect all visitors to a new page with meta tag redirect?
Any ideas?
invisibe_dude Offline referral

Posts: 820
Joined: May 2013
Reputation: 24

#2
Posting Freak
HTML meta tag redirect is called Meta Refresh Tag!
Place inside <head>

meta refresh tag example
Code:
<meta http-equiv="refresh" content="5; url=http://example.com/">
Redirect to http://example.com/ after 5 seconds:

<meta http-equiv="refresh" content="0; url=http://example.com/">
Redirect to http://example.com/ immediately:

Make sure to replace http://example.com with your domain name!
chod Offline referral

Posts: 860
Joined: Jul 2013
Reputation: 85

#3
Posting Freak
DO NOT USE THIS!!!! I can not warn you enough about this.

Google will HATE YOU WITH A PASSION if they scrape code and find that. You will be penalized hard, this has been a huge no no since '11 with Google.
www.AdminEmpire.com
www.BlimptonTech.com - Best Free Online JavaScript tool to minify JavaScript files.
marcus_avrelius Offline referral

Posts: 2,424
Joined: May 2013
Reputation: 102

#4
Support Team
Ohh, I didn't know that can you explain Chod?
chod Offline referral

Posts: 860
Joined: Jul 2013
Reputation: 85

#5
Posting Freak
It is just one of those things from Google from when they started all those Algo changes a couple years back. It is considered bad practice in general to redirect like that. You will also break the back button in most if not all browsers redirecting that way. While Google does not openly state that you should never use them, a bunch of their main guys have stated in their video posts if you use them it is more than recommended to "fix" them. I have found through the years any time things are stated like that as a "suggestion" it is for good reason, generally because an algo change is/has/will be done that brings that into play. Remember Google will never tell you everything they use/look for when they give you good SERPs/Rank.

HTTP is the "compliant" way to redirect. Complaint coding is not always the most convenient or easy but it will always help you. Such as keeping up with what meta tags to be using to influence who and what not to add to give negative effects to the ones you are trying to influence.
www.AdminEmpire.com
www.BlimptonTech.com - Best Free Online JavaScript tool to minify JavaScript files.
jamesvaaz Offline referral

Posts: 2
Joined: Aug 2013
Reputation: 1

#6
Junior Member
I think you should not do any such activity that google does not allow you to do .
jamesvaaz Offline referral

Posts: 2
Joined: Aug 2013
Reputation: 1

#7
Junior Member
you can also use this tag :
<html>
<head>
<title>IU Webmaster redirect</title>
<META http-equiv="refresh" content="5;URL=http://www.indiana.edu/~account/new-directory">
</head>
<body bgcolor="#ffffff">
<center>The contents you are looking for have moved. You will be redirected to the new location automatically in 5 seconds. Please bookmark the correct page at <a href="http://www.indiana.edu/~wmhelp/new-directory"> http://www.indiana.edu/~wmhelp/new-directory</a>
</center>
</body>
</html>
marcus_avrelius Offline referral

Posts: 2,424
Joined: May 2013
Reputation: 102

#8
Support Team
So you recommend .htaccess redirect instead of Meta Refresh Tag?
chod Offline referral

Posts: 860
Joined: Jul 2013
Reputation: 85

#9
Posting Freak
(08-13-2013 07:32 AM)jamesvaaz Wrote:  you can also use this tag :
<html>
<head>
<title>IU Webmaster redirect</title>
<META http-equiv="refresh" content="5;URL=http://www.indiana.edu/~account/new-directory">
</head>
<body bgcolor="#ffffff">
<center>The contents you are looking for have moved. You will be redirected to the new location automatically in 5 seconds. Please bookmark the correct page at <a href="http://www.indiana.edu/~wmhelp/new-directory"> http://www.indiana.edu/~wmhelp/new-directory</a>
</center>
</body>
</html>
Bad example as that is a meta tag refresh

(08-13-2013 08:22 AM)marcus_avrelius Wrote:  So you recommend .htaccess redirect instead of Meta Refresh Tag?
Yes rewrite rules or just use a 301 redirect. Using what the current accepted methods are will always prove better for you. Especially when trying to keep the beast that is Google happy.

I will use PHP 9 out of 10 times something like this works perfectly and keeps everyone happy
Code:
header('HTTP/1.1 301 Moved Permanently');
header('Location: http://www.example.com/');
exit();
www.AdminEmpire.com
www.BlimptonTech.com - Best Free Online JavaScript tool to minify JavaScript files.
maya Offline referral

Posts: 1,058
Joined: May 2013
Reputation: 34

#10
Posting Freak
Yes, 301 redirect is the most search engine optimization (SEO) friendly method
letsplay Offline referral

Posts: 274
Joined: Jul 2013
Reputation: 1

#11
Senior Member
I think it's better to use 301 .htaccess redirect which is more SEO friendly than meta tag redirect method Smile





User(s) browsing this thread: 1 Guest(s)