Google Search Console: Index Coverage Error for /wp-includes/ php files
Check that wp-includes is excluded for index in robots.txt User-agent: * Disallow: /wp-admin/ Disallow: /wp-includes/
Check that wp-includes is excluded for index in robots.txt User-agent: * Disallow: /wp-admin/ Disallow: /wp-includes/
There are a couple of plugins that provide this functionality: Google Custom Search Plugin Google Ajax Search
You could try the Google CSE plugin. I’ve tried both the plugins you mentioned above, but I couldn’t get them to work in the way I wanted, so I settled with the Google CSE plugin, and I’m rather happy with how it works. It actually serves the results from your Google Custom Search Engine via … Read more
I’m sure you’ve googled ‘khabarnaak’ – it’s a Pakistani talk show. It’s more likely to be an automated scraper trying to find content rather than an attack. The request does not look like it has been crafted for a WordPress site. Two ways to stop it are: Block the IPs making the request. Add ‘Deny … Read more
It can be extended but not easily as the search searches just in the DB and shortcodes usually do some calculations in order to produce the final HTML. To use the Google Custom Search you just need to get the code and add it to the site as a widget or part of the theme’s … Read more
You should set rel alternate hreflangs on both sites – <link rel=”alternate” href=”http://example.com.au” hreflang=”en-au” />on example.com and <link rel=”alternate” href=”http://example.com” hreflang=”en-us” /> on example.com.au then you sholud set targeting site content to a specific country (geotargeting) in Google search console for – example.com – United States, for abc.com.au you don’t need to do anythong because … Read more
I just ran a test on my hosted dev site. I ran the following: echo ‘<pre>’; global $wpdb; print_r($wpdb); print_r($GLOBALS); echo ‘</pre>’; There was no ‘wp_query’, ‘[q]’, or ‘search’ variables to be found. Note that I was not able to search this through a search engine as it’s not web accessible. Just to give you … Read more
How about something like this on your functions.php: add_action(‘wp_head’, ‘no_robots_on_uncategorized_posts’); function no_robots_on_uncategorized_posts() { if(in_category(‘uncategorized’)) { wp_no_robots(); } } This will output the following line of code on the header of your ‘uncategorized’ posts: <meta name=”robots” content=”noindex,nofollow” /> What this means is that even though search engines will see the page, they will be told to … Read more
If your university webspace supports PHP and MySQL, you should be able to install WordPress at /~(myusername) (or at /~(myusername)/blog, if you don’t want to create your whole site with WP but use it for a blog, only). Typically you don’t need root access for that. But in any case, you should probably ask your … Read more
If you are using an SEO plugin such as Yoast, it automatically adds all Custom Post Types (and Taxonomies) to the sitemap that is used by Google & other search engines. You will need to explicitly exclude them from the sitemap e.g in Yoast, this is under the “Post Types”https://wordpress.stackexchange.com/”Taxomonies” tab in the “XML Sitemaps” … Read more