Welcome to WebmasterWorld Guest from 23.21.38.201

Forum Moderators: open

Google shows 404 for external file on cached page

   
5:37 pm on Jun 3, 2012 (gmt 0)

10+ Year Member



I have a menu that uses Ajax to load links in a remote file. I use window.location.hostname to reference that file, since it is called for from different directories on my site.

I've been having ranking issues with Google, and in researching this, Google's cache of pages with this menu says it can't find the file and is showing a 404.

I'm using "http://"+window.location.hostname+"/directory/file.htm" and Google's cache says /directory/file.htm doesn't exist.

Seems to work fine on all browsers, what do I need to do so that Google can locate this file?
6:18 am on Jun 4, 2012 (gmt 0)

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



have you tried a fetch as googlebot in GWT?
perhaps the user agent used to generate the cached page isn't processing the javascript.
7:12 pm on Jun 4, 2012 (gmt 0)

10+ Year Member



I'll try fetch as Googlebot and see what shows up, thanks for the suggestion I hadn't thought of that.
 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month