Page is a not externally linkable
enigma1 - 3:41 pm on Jun 29, 2010 (gmt 0)
webmasters *do* want bots like Googlebot to see the site the way that users do
which is?
Unless you know with what browser each and every visitor browses your site and what his configuration is at every time, your best bet will be to follow the HTML compatibility. To give you a simple example:
// HTML header section
function popupWindow() {
// javascript code to popup window spider may or may not decode correctly
}
// Body
<a href="#" rel="nofollow" onclick="popupWindow('http://www.example.com/popup_page.html')">click to popup</a>
No, HTML only works when js is enabled spiders can misinterpret the code, not good.
Here is what can work for both.
// HTML header section
<script language="javascript" type="text/javascript" src="some_ajax_framework.js"></script>
// Body
<a href="http://www.example.com/popup_page.html" id="click_id_for_ajax">click to popup</a>
works in both cases when js is on or off, because the click handler is handled externally if js is enabled. And you can initiate the functions for this during "ready" or after the html portion is loaded with a script line. So you avoid cases where a spider misinterprets js code. You also support all users with or without active scripting.
And it is irrelevant if you have dynamically generated pages.