I've used Google Webmaster tools to get a report on my website and virtually every page throws up an error due to a particular line of code, here's a typical example:
The Webcrawler tries to access a page on my site called 85999 and gets a 404 error. However the Javascript code actually opens a new window taking the user to a new website inserting the number passed to "open" in the relevant place, eg:
Is there a way I can alter the <a href> link so that the webcrawler doesn't try to access it as a page on my site?
- Andy
___________________________________________________________________
If you think nobody cares you're alive, try missing a couple of mortgage payments
Code:
var site = '[URL unfurl="true"]http://www.mysite.com/showthread.php?t=#';[/URL]
...
<a href='javascript:open(85999);'>Open Link</a>
Code:
function open(thread)
{
window.location = site.replace("#", thread);
}
- Andy
___________________________________________________________________
If you think nobody cares you're alive, try missing a couple of mortgage payments