Tag Info

New answers tagged

0

Google indexes the text after the page is fully ready. I have a password creation site that uses JavaScript to write random passwords into the page on jQuery's $(document).ready. Googlebot was indexing those randomly generated passwords. I ask how to prevent that indexing because random passwords aren't text that should be indexed: How do I prevent ...


0

An article I'd read earlier this month revealed tests that have seen Googlebot execute Javascript and process the resulting Document Object Model (DOM), rather than simply looking at the HTML source code, you might find this a helpful read: SearchEngineLand: Tested Googlebot Crawls Javascript (May 2015)


-1

It doesn't matter. Google reads your markup and doesn't render the content. If they read your javascript, then they can tell if its manipulating those headings, no matter when it happens.


1

Is there a way you can take advantage of iframes? Google is able to just look at the source of an iframe, but it can't crawl an iframe directly into the parent page, as far as I know. So, the iframe source should be noindex.


0

As of 2015, Googlebot is rendering pages including running JavaScript. It is then indexing all the content it sees: static and generated. To make sure that your JavaScript generated content is seen by Googlebot: Ensure that your CSS and JS files are not blocked by robots.txt Use the "Fetch and Render" feature of Fetch as Google in Google Webmaster ...


5

robots.txt can block JavaScript files from Googlebot. http://www.robotstxt.org/ has more information about how to construct a robots.txt file. You could put your JavaScript that shows the password into an external JavaScript file (called showlists.js): $(document).ready(function(){ showLists(); }); Call that JavaScript file in the page head: ...


2

Your web server contains a configuration file with a configuration that directs traffic from certain sources to pages with the suspicious script. If you're using apache, start with the .htaccess files in your document root folder and every folder recursively within it. Look for any lines containing "user_agent" or "remote_addr" or even google or other ...


1

I created a cloaking function in JavaScript: function isBot(){ return /bot|crawl|slurp|spider/i.test(navigator.userAgent) } Then I use that function to either show the passwords onload, or to show a message saying why no passwords were generated: if (isBot()){ $('#isbot').show(); } else { showLists(); } Now when I use the "Fetch and Render" ...


0

The user has to refresh the page continuously to find that someone is replying to his post or not. I learned that JavaScript can be used to auto reload the page. Is auto refresh done in client side or in my webapp server? Reloading a website is always initiated by the client. All the server does is accept a request for data, check the disk for the ...


1

You need to make sure that both servers have the exact same document root folder defined in the configuration files. In a fresh install of apache, look at httpd.conf and find contents similar to this: # # DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and ...


0

SO we are using clickfunnels, and it generates the HTML pages for you, but when we look at the HTML they provided, we realize that the HTML is generated from javascript through their site. ... SEO is a huge concern for us. Google won't be happy with indexing your site. Google likes unique content. According to ...


1

Google has a spec for AJAX (SPA) applications, https://developers.google.com/webmasters/ajax-crawling/docs/specification. basically you need to provide the server the same content, but by using classic web site (request-response) technology. I call it a core site.


0

Only recently did Google start looking through javascript but no one knows exactly what they do with it. Suffice to say they aren't going to render a lot of HTML for anyone's sake. Generating HTML for most of your page is never a good idea for SEO.



Top 50 recent answers are included