how to secure wordpress website from google dorking

can anyone explain how can we secure any wordpress based website from google dorking? the wordpress website enables REST api like any other websites and it shows a JSON file always now the point is how can we secure website from google Dorking from exposing personal information eg. pdf files and db password or wp-config.php file information etc. is there any specific official wordpress patchset available for this? google dorking
Category: Web

Google Search Console: Index Coverage Error for /wp-includes/ php files

Recently, without changing anything on my website, Google search console started flagging 80 index coverage errors, shown as "Server error (5xx)". When I go look into it, what it's flagging are php files in the /wp-includes/ folder, which Google shouldn't be even trying to index. My xml sitemap doesn't include these files. I don't understand why google is trying to index and then flagging them. Any ideas on why this is happening and what I can do to stop it?
Category: Web

How to stop google from indexing spammed internal search results?

Google is indexing all kinds of spammed internal search results from my wordpress site, and I can't figure out how to put a stop to it. I added Disallow: /search/ to my robots.txt file, but that didn't stop google. They still index them, but now they say "Indexed, though blocked by robots.txt" What can I do to stop these from being indexed? And how do they even show up for google? Is there somewhere within wordpress that these are being …
Category: Web

Wordpress Schema.org Markup. What value does it add?

I've been adding all the "recommended" schema.org markup to my sites for awhile now. Most of the schema markup adds value to google searches. There's other markup though that I've been using and I'm not really sure who actually uses it (search engines, other sites, etc). Specifically, for this question, I'm wondering about the wordpress related schema.org markup: Header: <header itemscope itemtype="https://schema.org/WPHeader"> Sidebar: <aside itemscope itemtype="https://schema.org/WPSideBar"> Footer: <footer itemscope itemtype="https://schema.org/WPFooter"> Does anyone know what the purpose of this markup is? …
Category: Web

How to stop the custom post type URL from the google search?

I don't have any issue with custom post type in the admin panel. It's working perfectly. I have a small issue with search on google, I search my domain on google and I found the below output. Note: This is just an example for reference. My issue is, I don't want to show the below URL in the google search or any custom post type. Is there any way to stop? I am using the Yoast plugin for SEO. https://www.example.com/heroslider …
Category: Web

Can I replace the search bar with Programmable Search by Google?

I have the Savia theme which is no longer being supported by the developer. The search bar shows up on the top right-hand corner of the page, so I was thinking of adding the script Google provides when creating a custom search bar right where it's at. I'm not entirely sure where to put this code in my theme files, nor will it work. Has anyone done this before? If so, did it work? Any sort of help is appreciated. …
Category: Web

SEO Site Title appearing in google search despite not being added

I am using Yoast SEO plugin for my WordPress website. I have not added Site Title to SEO Title in Yoast Content-Type Post settings or the post itself but it is still showing Site Title when the post is searched on google such as https://homekitchenary.com/best-water-softeners/ is displayed as "Best Water Softener of 2019 - Buyer's Guide - Home Kitchenary". This is happening with most of the posts despite not having Site Title in them. The preview snippet does not show …
Category: Web

Search Engine Visibility checkbox after indexed

I have a client whose dev team set up a wordpress site for development (dev server on a subdomain), but didn't check the "Search Engine Visibility" checkbox when creating the site and now the site is showing up in the google search engine results. Will checking the box now remove it from google or are they screwed?
Category: Web

How do I host Wordpress on a hidden domain through a reverse proxy?

I have a reverse proxy for http://www.xxxx.com/guides/ pointing to Wordpress on another domain. I want to edit and administer it via the other domain, but I don't want the contents to be publicly available, so there is no duplicate content penalties from Google. How can I set this up? I was thinking of adding Add the following to your .htaccess file: RewriteEngine On RewriteCond %{HTTP_HOST} ^(www.)?YourDomain.com$ RewriteRule ^(/)?$ blog [L] But will that still allow the ability for administrators to …
Category: Web

Duplicate Australian E-Commerce site

I have a WordPress ECommerce site targetted for US customers. I am planning to launch a different site for Customers in Australia. As I will be selling the same products the website/information will be the same for the most part. The product prices will reflect the local pricing and competition. Overtime there will be more differences but to begin with I want to duplicate my US site and change the prices and a few pages. I definitely do not want …
Category: Web

Sitelinks Search box schema confusion

Trying to implement Sitelinks Search box schema in order to help Google show a search-box above my sitelinks I realized there is some confusion (for a newbie) in the current documentation I could find. This is the example provided by Google "@context": "http://schema.org", "@type": "WebSite", "url": "https://www.example.com/", "potentialAction": { "@type": "SearchAction", "target": "https://query.example.com/search?q={search_term_string}", "query-input": "required name=search_term_string" } First of all, for WP, we should replace the ?q with ?s However there are more questions 1. Use search_term_string or search_term Reading …
Category: Web

Why does Google Image Search still display my images?

I am having trouble with a few image files that I would like to block for Google Image search. I am using Yoast SEO Plugin, which allows me to directly edit the robots.txt file. A few people with portrait images on the site requested not to appear in image search, so we added entries like the following: User-Agent: Googlebot-Image Disallow: /wp-content/uploads/2019/03/domain.eu-adam.png Disallow: /wp-content/uploads/2020/02/domain.eu-team-eve.jpg Some time later, we noticed that this is not working anymore, as the images started to reappear …
Category: Web

Google indexing duplicate page content with Page #### in post title and /page-2 in permalink instead of the ones I set

I'm hoping someone familiar with this problem can help me. I have a WordPress site with thousands of posts, and Google is indexing pages that look like this: mysite.com/page/1 mysite.com/page/2 mysite.com/page/3 Each of these are showing a post title in the SERPs like this: Page 3423 - My Site Name ... When you click the link, it is going to a specific post that SHOULD be indexing with the permalink I set (not the page number permalink above), and the …
Category: Web

What makes WP so SEO friendly?

I keep hearing that Wordpress is the best SEO solution, better than most static websites because of multiple reasons. I then go on to hear contradicting information elsewhere. So: Is Wordpress generally more SEO friendly/ready then most static html websites? What makes it more SEO friendly? Can I take any SEO tips from a Wordpress installation to improve a static HTML page SEO?
Category: Web

Should I set a page as "No-index" if I include it's content within the front-Page.php via this method?

So I set my home page to "Your latest posts", and included this bit of code to get the info from a pre-defined page so that I can edit my home page, and get access to a "recent posts" grid with pagination at the same time. In addition, I can edit this post via the Gutenberg Block editor with this method. I'd like to eliminate the possibility of a "duplicate content" flag on my content, so should I no-index the …
Category: Web

WPML and Yoast SEO setup on a wordpress site is not working properly

I'm stuck with WPML+Yoast SEO on a website everything is translated in 2 languages even in page source the description and title is translated but in google searches google is messing up like for a spanish user it should show the spanish title and description. Maybe due to canonical and alternate tags its not honoring the request? Can anyone help? Update: Have submitted new sitemap but still in google searches its the same output Thanks
Category: Web

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.