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
-
Changing Platforms & HTTPS Same Time
Hi Everyone, We know this is a bad idea. Our owner purchased another website/company and we plan on moving it to Shopify. The site is a very old (not been updated in 4 years) Able Commerce site. My developer whom has been doing this for years with me couldn't get the current host to work with us in order to move the site to https. Looks like we would actually have to spend a lot of money to update the site in order to. So my question is this. If we move the site over to Shopify, they make it https right away. I am out of luck trying to redirect http pages to specific https pages? Jeff
Web Design | | vetofunk0 -
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 -
H1 tag within on top nav but css class styled appear at bottom
Hi, Sorry the similar question could have been ask previously but I couldn't get an exact answer. Someone put a h1 tag on our homepage (which do not have before) and the is within the top nav. But it has a css style class in that h1 tag to make it appear at the bottom of the page so not everyone would be aware of that small h1 title. I personally do not think that's going to help with seo. However I want to know if this practice is going to be: beneficial, or not at all? or harmful instead? Thanks LM
Web Design | | LauraHT0 -
Pushstate and Infinite Scrolling Article Pages: Is it detrimental to not change URLs as the page is being scrolled?
I've noticed a recent trend of news sites using infinite scrolling on article pages to garner more pageviews and I can assume serve up more ads. Here is an overview. Here is an article from NBC news that uses this technique: http://www.nbcnews.com/pop-culture/music/grammys-2016-here-s-why-adele-s-performance-was-out-n519186 Studies have shown that this technique has decreased bounce rates by +15% for some sites. My question is: If a site is using the technique without changing URLs as the user scrolls down what overall negative effects does this have? Obviously you wouldn't be getting credit for the extra pageviews but I was wondering if there were any indexation implications with this. Here is an example of article infinite scrolling without changing the URL: http://www.wftv.com/news/national-content/deputies-wife-attacks-husband-because-he-didnt-get-her-a-valentines-day-gift/87691927
Web Design | | Cox-Media-Group1 -
No cache meta tags - does it help Google get back and reindex faster?
I saw these meta tags on a site and am trying to figure out their benefit. These meta tags are on the home page, product pages, every page of the site. Will it cause search engine bots to come back and index pages faster? Will it cause slower page loading in browsers if nothing is cached? http-equiv="pragma" content="no-cache"/> http-equiv="cache-control" content="no-cache,no-store,must-revalidate"/> http-equiv="expires" content="0"/>
Web Design | | CFSSEO0 -
Spaces at beginning of title tag - negatively affect the optimization of the page?
For some reason, our title tags have a long space after the beginning title tag and before the text appears. The beginning title tag is on one line, then a break, a tab and then the content of the title tag. I'm pretty sure this is not good and is affecting optimization of the page. Am I correct or is this not an issue and does not need to be fixed? Example: | <title></span></p> <p> </p> </td> </tr> <tr> <td class="line-number"> </td> <td class="line-content"> First keyword</td> </tr> </tbody> </table></title> |
Web Design | | CFSSEO0 -
Please help. can't change widgets in wordpress
hey everyone, i am having a weird problem. for some reason. all of a sudden (without me changing ANYTHING) my widget page in the admin dashboard will not let me edit anything what i mean is, i login, go to the widgets page, and then the dropdown menus that you drag widgets into will not let me expand to drop widgets in them. was there a wordpress update i missed? who should i contact? what if i delete the theme and re-install. will i have to change ALL the settings back again?
Web Design | | TylerAbernethy0 -
Linking to an image with the keyword in the title and alt tags.
Hi guys, Just thought I'd ask for opinions about an ecommerce catalog I'm working on. I don't know if it's even worth worrying about, but here's the scenario. Let's say I'm linking to a category called 'Sale' using an image, I have the title tag of the link as 'Sale', the image title is also 'Sale' as well as the alt tag. The HTML looks like this: Sale The page itself is: http://www.fashionbasicsonline.com/catDisplay So my question is, do you think I'm stuffing the keyword in too many times there? It's CMS driven so I could have the alt tag as 'Sale Products' or one of the titles as 'Sale Catalog' perhaps, do you think there would be a benefit in doing that? Maybe it's microoptimisation and I should be looking at other low hanging fruit, but I'm just trying to come up with the best scenario. Would love to hear what you think. Cheers, Bruce p.s. Looking forward to meeting as many people as possible at MozCon next week 🙂
Web Design | | bruce_werdschinski0