-
Hello,
I have a Gallery page that I would like to Index but is not getting indexed. Could you please let me know why this page isn’t getting indexed?
https://imgur.com/a/0moyS2j
https://imgur.com/a/KL4qTx5
https://imgur.com/a/j4ICgaCThank you,
Steve
-
Hello,
We apologize for the issue you are facing with your Gallery page not getting indexed. There are several reasons why a page might not be indexed by Google. Here are some steps you can take to troubleshoot the issue:
-
Check for Noindex Attribute: Ensure that your Gallery page does not have a
noindex
attribute present in the HTML. This attribute tells search engines not to index the page. -
Verify URL Indexing: Use Google Search to check if your URL is indexed. You can do this by entering
site:yourdomain.com/gallery-page-url
in the search bar. If it appears, it is indexed; if not, it may not be indexed yet. -
Review WordPress Global Settings: Make sure that your WordPress settings allow search engines to index your site. You can find this under Settings > Reading in your WordPress dashboard.
-
Check Robots.txt File: Ensure that your
robots.txt
file does not block Google from crawling your Gallery page. You can check this by visitingyourdomain.com/robots.txt
. -
Crawled but Not Indexed: If Google has crawled your page but not indexed it, you can check this in Google Search Console using the URL Inspection Tool. This will provide insights into why it might be crawled but not indexed.
-
Content Quality: Ensure that the content on your Gallery page meets Google’s quality guidelines. Low-quality content or duplicate content can affect indexing.
-
Manual Indexing Request: If you’ve checked all of the above and still face issues, consider submitting a manual indexing request through Google Search Console.
If you continue to experience difficulties, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further. Thank you for raising this concern!
Hello,
Thank you for contacting us. We apologize for any inconvenience this issue may have caused.
Rank Math only automatically adds the noindex to the robots meta of myaccount, checkout, cart pages and empty category pages.
So if the gallery page is assigned any of those roles, that will explain why the noindex tag is added. You can try to modify and use the following filter on your website and see if that works for you:
add_filter( 'rank_math/frontend/robots', function( $robots ) { if( is_cart() || is_checkout() ) { $robots['index'] = 'index'; } return $robots; });
Here’s how you can add filter/hook to your WordPress site: https://rankmath.com/kb/wordpress-hooks-actions-filters/
Let us know how it goes. Looking forward to helping you.
Thank you.
Hello,
If you are using Woocommerce on your site you can check if any of that role was assigned to that page from WooCommerce > Settings > Advanced.
If that happens to be the situation please modify this code as suited:
add_filter( 'rank_math/frontend/robots', function( $robots ) { if( is_cart() || is_checkout() || is_account_page() ) { $robots['index'] = 'index'; } return $robots; });
If you’re not sure how to add this code, you can follow this guide:
https://rankmath.com/kb/wordpress-hooks-actions-filters/If you are still having difficulty, you can edit the first post on this ticket and include your WordPress logins in the designated Sensitive Data section for us to check this issue for you.
Please do take a complete backup of your website before sharing the information with us.
It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:
https://wordpress.org/plugins/temporary-login-without-password/
You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):
https://wordpress.org/plugins/wp-security-audit-log/
We really look forward to helping you.
Hello,
Sure, let us know how this goes.
Meanwhile, please don’t hesitate to contact us anytime if you have other questions to assist you further.
Looking forward to helping you.
Thank you.
Hello,
In addition to the original page we were having issues with, I also just noticed this morning that our homepage is also showing noindex.
Once confirmed, could you please let me know how you and your team fix these issues so I know in the future? Thank you.
Hello, when you have a moment, can you please confirm if the above credentials worked for your team? Thank you again.
Hello,
The option to
Discourage search engines from indexing this site
from WordPress Dashboard > Settings > Reading > Search engine visibility was enabled:
(See the image in the sensitive data section.)We have disabled that option and your pages are now set to index.
Please check and confirm that this issue is resolved for you.
Thanks.
Wow, that’s bad. Thank you for finding. I noticed only a few pages were not being indexed and not all of them. Any idea how that got checked, I’ve never had that checked before. Thank you again.
Hello,
You must have accidentally triggered this option as it cannot be done automatically.
Crawling and indexing can take anywhere from a few hours to a few days/weeks according to Google. Be patient and monitor the progress using the URL Inspection tool.
Let us know how it goes.
Thank you.
Thanks so much again for helping to troubleshoot this issue. Have a great rest of your day.
Marking as resolved.
Hello,
We are super happy that this issue is already resolved. If you have any other questions in the future, know that we are here to help you.
If you don’t mind us asking, could you please leave us a review (if you haven’t already) on
https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-postabout your overall experience with Rank Math? We appreciate your time and patience.
If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.
Thank you.
-
The ticket ‘No Index’ is closed to new replies.