Changing H1 Tag based on referrer
-
Hello,
I need some quick help and advice. We're going through a website re-design, and we have a few H1 tags set on some of our inner pages. The team is ok with these, however they want to change the H1 tag if the user gets to that page from a page within the site.
Example:
When the referrer is our site (www.domain.com), the H1 tag = Go to Step 2When the referrer is anything else, the H1 tag = Welcome to our site
I'd like to keep the H1 tag as the SEO rich keyword text we agreed on (in this case "Welcome to Our Site"), however our developers don't think its directional enough and wants to change it based on the user path.
I'm ok with the suggestion, however I want to make sure that if we choose the option with the referrer that this doesn't impact our SEO efforts.
I'm assuming the referrer will changed based on how the bot gets to the page, but i'm not certain and was wondering if anyone had some thoughts on this..
Any help is greatly appreciated.
Thanks...
-
Changing the content to show a bot something different than regular user is always considered black hat and is frowned upon.
That being said, if you're trying to create different messages based on where the user came from, you may want to consider something like a bright box to provide direction and interaction to the visitor. Some general text in the page like that could be dynamic without being considered deceitful to Google.
I would have to recommend not trying to show Google something completely different than what users see in any regard.
-
Good question.. I'm not sure but inclined to say that googlebot wont accept sessions either. They used to have many problems with sessions and would index pages with session ids (don't see those anymore). Hopefully whatever they changed would help you too.
-
Hey,
Thank you..that helps..Welcome to our site isn't the keyword rich text i was referring to..lol..was just trying to keep it as general as possible...
Also, would this be the same if we used session instead?
-
I don't see how "Welcome to Our Site" is keyword rich but you can make the message changing cookie based instead. Since Googlebot doesn't accept cookies, it will always see "Welcome to Our Site".
Googlebot can't read cookie experiment - http://www.danclarkie.co.uk/googlebot-javascript-ajax-and-cookies-its-complicated.html
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
In Wordpress getting marked as duplicate content for tags
Moz is marking 11 high priority items for duplicate content. Just switched to wordpress and publishing articles for the site but only have a few. The problem is on the tag pages. Since there aren't very many articles so when you go to the tag pages it lists one or two articles and hence there are pages with duplicate content. Most of the articles have the same tags / categories. Perhaps I'm using too many tags and categories? I'm using about 7 tags and around 2 categories for each post / event. I've read the solution is using canonical tags but a little confused on which page I should use for the tag and then I believe I need to point the duplicate pages to the correct page. For example, I have two events that are for dances and both have the same tags. So when you visit, site.com/tags/dance or site.com/events both pages have the same articles listed. Which page do I select as having the original content? Does it matter? Does that make sense? Someone was also saying I could use the Yoast plugin to fix, but not really seeing anything in the Yoast tools. I also see 301 redirects mentioned as a solution but the tag pages will be changing as we add new articles and they have a purpose so not really seeing that as a solution.
Web Design | | limited70 -
Major home page change!
Hi Mozzers, Making a major homepage change on my site Orangeoctop.us. I am going from featuring content to featuring products, similar to how moz and hubspot feature their content on the homepage. Just to give you some numbers, the homepage only sees 2.6% of the total traffic and of that traffic half is direct. The homepage is going to be changed to OrangeOctop.us/guides. My Question: Is there anything that should be added to the homepage to ensure that I keep the same domain authority/page authority?
Web Design | | orangeoctop.us0 -
Using H tags and its maximum Limits
hi..
Web Design | | funclub247
I want to Know what is a Maximum limit of using H tags in One Page : for Eg : I Know That I Can use Only One H1 Tag per Page, What about Other H tag Limit..
h1 - 1 time Maximum
h2 - ..?
h3 - ..?
h4 - ..?
h5 - ..?
h6 - ..?
h7 - ..?
.....
i want to target more than 30 key word using H tag as a header of the paragraph...1 -
Other tags inside an H1 tag
So I have a situation with the website I'm currently redesigning where the H1 titles are supposed to mix colors per the current brand strategy. The branding crew is adamant that this has to be done so there is no use in saying "just don't do it". To accomplish this I'm wrapping the words that need to be the other color in a . Additionally, some pages have a "sub text" as part of the title, floated to the right and in a smaller font but with the same multi color treatment. I'm wondering if the sub text should be in an H2 and positioned to the right or if it would be beneficial to have the text in the H1 as well. An example of what I'm talking about would be something like this: "Big Shoes for Big Guys - Nike Shoes" In that, the "Big Shoes" and "Nike" would be one color and the "for Big Guys" and "Shoes" would be another. I can imagine having the "Nike Shoes" as part of the H1 would be a good idea in some respect but I'm not certain of that. In order to make that happen I can only think of one way to do it: -H1-
Web Design | | EscaladeSports
Big Shoes
-span- for Big Guys -/span-
-div- Nike
-span- Shoes -/span-
-/div-
-/H1- So that brings me back to the original concern, do search engines care about tags inside the H1? The only other way to accomplish the color changes that I can think of would be to have a fairly large chunk of javascript setup to go through H1's to colorize them using the span tags. That is unless GoogleBot has started to execute javascript while crawling the sites now...1 -
Missing Meta Description Tag - Wordpress Tag
I am going through my crawl diagonostics issues and I have lots of "Missing Meta Description Tags". However when I look at the url's they are Wordpress Tags, which do not have a meta description. Shall I just ignore these errors or should I find a way to add a meta description? Is it important?
Web Design | | petewinter0 -
Rel Canonical tag usage on ECommerce website
Hello, I have read up on the rel canonical tag and I'm ready to apply it to my site's categorization structure. However, I'm concerned that, because my website does not have a "view all" button for our product pages, the rel canonical tag would not be appropriate. For example, if you come to my site's main category url, you come to mysite.com/main-category At this level - you get the top 12 items in the category. if you want to see the next page, you click a crawlable link that goes to mysite.com/main-category12-24 etc. etc. The site does not offer a view all function. Would applying the rel canonical tag be appropriate in this instance, or do I have to let Google crawl and index each page independantly? Thanks.
Web Design | | Blenny0 -
Template change, huge drop in rankings
We recently changed the template of our website but we kept the same url structure, most titles are the same, the content changed a little bit, the description is the same, and the same on-page SEO. Although we have been very careful and the actual template change took less than 5 minutes, we experienced a huge drop in rankings (even more than 10 positions in Google serp). Does anyone have any idea what could have caused such a drop? The weird thing is that Google still has the old website in cash and not the new one. We resubmitted the sitemap, made a few more redirects... but anyway... what else can we do? Any advice would be much appreciated. Thanks!
Web Design | | echo10 -
How to Add canonical tags on .ASPX pages?
What is the proper way (or is it possible) to add canonical tags on website pages that end in .aspx? If you add a canonical tag to the Master Page it will put that exact canonical tag on every page, which is bad. Is there a different version of the tag to put on individual pages? And one to put on the home page without the Master Page error?
Web Design | | Ryan-Bradley0