Improving Google Quality Score With Hidden Navigation
If you have a quick read of a post I did back in August called “Content Stuffing Your Landing Pages…“, you’ll learn how to hide content with hidden div tags and css stylings.
Taking that same process a step further, you could do exactly the same thing and hide navigational menus that will help the Google bot spider your site, but at the same time, not give unnecessary links to follow for your real visitors.
Google wants to see links to a terms of service, page contact us, privacy policy. Also, having an xml sitemap, links to other internal pages such, and a few outgoing links to high quality resource sites can all improve your quality score. But depending upon the style of landing page you use, these links can be unsightly and lead to visitor “leakage”.
My typical landing page structure includes as many external calls to to php files as possible. This makes it easy to have a central location from which to update code on multiple pages. For example, lets say my navigational menu across all pages looks like this:
Home | About Us | Contact | Disclaimer | Privacy Policy | Terms of Service | Sitemap | Wikipedia Link | Resource Page
If I included the html code for this structure on each of my landing pages on my site, it could be quite cumbersome if I need to change a link (for example the Wiki article), not to mention prone to error. If I had 15 landing pages, I’d have to edit 15 html files individually to change a single link. Instead, I can put the same code into a file called “navmenu.php”. Then when I wanted to use it on my site, I’d call it:
<?php include_once(”http://yourdomain.com/inc/navmenu.php”) ?>
And when I want the bots to see my nav menu, but hide it from my real visitors, I’d create a div tag called “navigation”, set its attributes in my external css file to hide the content:
<div id=”navigation”>
<?php include_once(”http://yourdomain.com/inc/navmenu.php”) ?>
</div>Inside style.css:
.navigation {
display: none;
visibility: hidden;
}
A search engine bot that comes to your site first reads your opening document type and html tags. It then reads code left to right. So what I like to do is include a call to a navigational menu right near the top of my landing page.
So after my closing </head> tag, I’d have my opening <body> tag, then sometimes a wrapper. Then I’d have my header div, in which I would create my navigational div and call my navigation menu:
<body>
<div id=”wrapper”>
<div id=”header”>
<div id=”navigation”>
<?php include_once(”http://yourdomain.com/inc/navmenu.php”) ?>
</div>
</div>
By calling the navigational menu in the header, this will be some of the first code the bot sees upon visiting your site and can quickly spider the rest of your links. (make you’re all your links work, or your quality score may suffer)
I’ll then have the rest of my content in a content div <div id=”content”>, and finally include a footer div, with yet again another call to my navigtational menu:
<div id=”footer>
<div id=”navigation”>
<?php include_once(”http://yourdomain.com/inc/navmenu.php”) ?>
</div>
</div>
So the bot visits my site, spiders my “required pages” via my hidden navigation in the header, as well as in the footer. From my experimentation with this, I’ve seen improved quality score and time in which my pages get indexed. As an added step to help Google spider my site quickly, once I create an XML sitemap, I’ll manually submit it to Google’s sitemap submission service.
Since the code posted above may not make perfect sense scattered throughout the post, I’ve included a sample landing page that you can use as a template and modify:
Tagged with: black hat • CSS • google bot • google spider • html • landing page design • Landing Pages • pay per click • php tricks • quality score • sitemap • Web Design • xml sitemap
Filed under: Blackhat • Google • Landing Pages • Tutorials
Like this post? Subscribe to my RSS feed and get loads more!
Possibly related posts
- Content Stuffing Your Landing Pages For A Little Extra Google Loving
- 5 Key Optimization Tips For Maximum Adwords Quality Scores
- Prosper202 Self-Hosted Apps: 10 Best Practices To Securing Your Prosper202 Installation
- Speed PPC Pro 40% Discount Ends Today (with bonuses)
- New AdWords Technique for Competitive Spy Intelligence




Wes…I can’t believe you’ve given this away…its a Really cool idea and will help me greatly as I have no Knowledge at all with php. Thank you so much! I also want to add that your site is a fantastic resource of ideas. Please keep sharing!
BTW Can you answer a couple of really newbie questions on php?
1. I’ve only ever used DW and Xsite Pro, with index.html for my LPages. Can I just change this when setting up a basic LP to index.php and will the spiders index this better than an (old fashioned!) .html? Whats the difference here?
2. Is DW the best proggie to use to design/code php in?
Thanks in advance….David
Thanks for the kind comments. Some of these posts are quite time intensive, so getting a few nice comments once in a while make it worth the time spent. Nice to know I have readers…I was starting to wonder..lol
To answer your questions:
1) I’ve only ever used DW and Xsite Pro, with index.html for my LPages. Can I just change this when setting up a basic LP to index.php and will the spiders index this better than an (old fashioned!) .html? Whats the difference here?
If you make this mod to your .htaccess, you can leave your pages in .html and still parse the php in the code: (may be different for some webhosts)
AddType application/x-httpd-php .html
I don’t think the spiders have a preference of php over html. What is happening that by using php includes, once the browser generate the webpage, youre site will have an html navigation menu that the spiders like. Make snse?
2. Is DW the best proggie to use to design/code php in?
I sometimes use Dream Weaver, but mostly I do it with advanced text editors. Maybe DW CS4 has some major improvements, but mainly I like text based editors.
My favorite is UltraEdit which you can download here:
http://masterlesssamurai.com/recommends/ultraedit
Hi Wes, Thanks for the kind reply. One of the main reasons I left a comment is exactly as you stated….why nobody is leaving you kudos. This I cannot understand, but take hope… as you continue to share original content you will get noticed, it is the way of things!
BTW Are you a fellow member of PPCF & PPVF? My handle is UKCousins if you are!
The other item I would mention is that I can tell you now that keeping in touch with Matt is the wisest move you could make. The guy is simply a Genius. He makes money work for him combined with incredible programming knowledge. He has teamed up with a gentleman called Chris who has designed software called Adgrenade that works with Commission Blueprint. Check his other threads out on this!
Please let us keep in touch,
Best Wishes to you & your family,
David
Kudos are nice…so thanks for commenting.
No, I’m not a member of PPCF or PPVF. I have a small ebook of PPV, which is what sparked my interest. I had Matt’s LaserURL tool for the longest time, not realizing it was made for PPV.
Yeah, Matt is a great marketer. I talked with him back in Jan on some ideas. I love site sniper pro though, so I’m all ears when Matt releases new software.
– Wes
Amazing post !
Thanks so much for taking your time and writing this:)
You got yourself a subscriber.
Thank you very much
I will appreciate if you provide more details on this. Thanks.
Hey Wes
I’ve been following your stuff for quite awhile – all excellent and definitely appreciate all the little tidbits you provide
cheers
Tavis