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
-
My visibility went from 14% to 3.33% this week. HTTPS Change?
So I am trying to figure out how my google rankings dropped from 3 to 9 This past week. Could it be the new HTTPS security issue? My site was created in HTTP not HTTPS. Is this an easy fix? Can I hire someone on this site to fix this?
Web Design | | Boodreaux2 -
Domain name change
Dear team, If a website with a domain name - example - raisins.com wishes to change to peanuts.com is this a dangerous task or a relatively simple one? I hope that by keeping my Q short, provides ease.
Web Design | | AdrianCGreen0 -
How would a redesign, content update and URL change affect ranking?
Hi guys, I have a question that I suspect there is no simple true or false answer to, but perhaps someone has done the same thing as we're pondering wether or not to do? We're taking over an existing site that ranks very well on all the important keywords and is obviously very well liked by Google. The site is today hosted on a sub-domain (xxx.domain.com). When taking over, we'll have to redesign the site and recreate most of the content on the site (unique). The site structure, URLs, incoming links etc. will remain exactly the same. Since we are recreating the site, we also have the opportunity to move the site off the sub-domain and on to the main domain (domain.com/xxx - 85/100 Moz rank) and do a 301 Permanent Redirect on all old URLs. Our long-time experience is that content on the main domain, ranks way better than the sub-domain. The big question is wether or not Google will punish us for both changing the content and the location of the site at the same time? Cheers!
Web Design | | mattbs
Matt0 -
Self-Referrals
Hi Guys, I am getting Self-Referrals in my Google analytics, how can I get rid of These?
Web Design | | Johnny_AppleSeed0 -
How to change the entire contents and design in my site without getting troubles with google?
Hello everyone This is my first post over here. In the next few weeks we going to change the entire content and design in our site. The site has 240 pages with poor contents and design. Except 301 redirects for all the old url’s I wanted to consult with you what is the right way to do it without harm my organic traffic that come from google? How google refers to this kind of changes? Which steps should I need to take to do it properly? Hope to get your help in the issue. Tahnks in advance.
Web Design | | JonsonSwartz0 -
Auto-Generated META tag on 404 Page
I'm currently creating a 404 error page for my site and I noticed that a similar site uses some sort of code to automatically generate a meta title. Is this useful? For instance type in electrolux.com/john This page does not exist but in the title you'll see John | Electrolux How can i do this on my site?
Web Design | | evacuumstoreSEO0 -
Changing my web design
When you redo your website, I assume that sometimes it might turn out worse. For example, users might just like your prior design better and thus your prior design might actually have better stats. My blog doesn't receive a lot of hits. I have about 1500 hits per months. I don't think that i have enough traffic for A/B testing. Is there a work around to see if my new blog design does better or worse?
Web Design | | jamesjd71 -
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