Popups a Spider Can Follow
Bobby | Friday, October 27, 2006
While talking with our team about SEO best practices, we discovered that the way Rails handles popups makes them not only more user-friendly (like allowing the ability to open the popup in a new full window or in a tab), but also allows a search engine spider to see the link and follow it to index the content of the popup.
Here is an example of what you may be used to seeing from a WYSIWYG editor when popping a new window:
And this is how we are popping new windows (with the help of Rails):
Since the HREF is intact, spiders are able to follow the links. Easy, peasy.
Bobby Uhlenbrock, Application Developer, Barefoot
Here is an example of what you may be used to seeing from a WYSIWYG editor when popping a new window:
<script type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
<a href="#"><img src="path/to/a.gif" width="124" height="45" border="0" onClick="MM_openBrWindow('path/to/page','','width=900,height=570')"></a>
And this is how we are popping new windows (with the help of Rails):
<a href="/path/to/page" onclick="window.open(this.href,'event_detail','height=450,width=700');return false;">
Since the HREF is intact, spiders are able to follow the links. Easy, peasy.
Bobby Uhlenbrock, Application Developer, Barefoot
Labels: SEO
0 comments
Post a Comment
« Home