-
Hello
I am from Hong Kong
I made a website with wordpress and the hosting is sitegroundI don’t know why my page can’t get into Google’s search engine
In the google search console, it always shows that it is excluded by the “noindex” tagI’m new to wordpress and don’t know how to solve it
My website is :cutekid.com.hkIn addition, I found that in rankmath—> sitemap setting, my sitemap index is https://cutekid.com.hk/?sitemap=1 instead of the general /?sitemap_index.xml ending
What is the problem please? How can I solve it?
PS. I can also found 2 “noindex” within the code but I dun know why and how to fix it
https://www.loom.com/share/38fbe9e3821243a09b3e850f909ca46d
-
Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
Since the sitemap is loading on that URL it means that the server configuration is not configured to handle the redirection correctly and you should apply these rules depending on the type of server.
Apache: https://rankmath.com/kb/fix-sitemap-issues/#apache-error
Nginx: https://rankmath.com/kb/fix-sitemap-issues/#nginx-server-errorAlso, the issue you see on Google Search Console is related to the first from the sitemap, so fixing that will also fix the
noindexissue on that URL since it will be removed.Don’t hesitate to get in touch if you have any other questions.
Thanks for your reply, I have no idea what kind of server I am using. I am using siteground’s woocomerce hosting plan–> grow big
https://www.siteground.com/woocommerce-hosting.htmSecondly,
If I need to edit the htaccess. Am i need to go to rankmath–>general setting–>Edit .htaccess to edit it?
If so,
The original code in htaccess is as below:# SGS XMLRPC Disable Service
<Files xmlrpc.php>
order deny,allow
deny from all
</Files>
# SGS XMLRPC Disable Service END
# BEGIN WordPress
# 在含有 BEGIN WordPress 及 END WordPress 標記的這兩行間的指示詞內容為動態產生,
# 且應僅有 WordPress 篩選器能進行修改。對這兩行間任何指示詞內容的變更,
# 都會遭到系統覆寫。# END WordPress
———————————
I need to add the code inside or I just need to replace them?# START of Rank Math Sitemap Rewrite Rules
RewriteEngine On
RewriteBase /
RewriteRule ^sitemap_index.xml$ /index.php?sitemap=1 [L]
RewriteRule ^([^/]+?)-sitemap([0-9]+)?.xml$ /index.php?sitemap=$1&sitemap_n=$2 [L]
RewriteRule ^([a-z]+)?-?sitemap.xsl$ /index.php?xsl=$1 [L]
# END of Rank Math Sitemap Rewrite RulesPlease help me
Thanks!I have asked siteground already, they are using Apache Web-Server
So I need to add the new code into htaccess lioke this?
# SGS XMLRPC Disable Service
<Files xmlrpc.php>
order deny,allow
deny from all
</Files>
# SGS XMLRPC Disable Service END
# BEGIN WordPress
# 在含有 BEGIN WordPress 及 END WordPress 標記的這兩行間的指示詞內容為動態產生,
# 且應僅有 WordPress 篩選器能進行修改。對這兩行間任何指示詞內容的變更,
# 都會遭到系統覆寫。# END WordPress
# START of Rank Math Sitemap Rewrite Rules
RewriteEngine On
RewriteBase /
RewriteRule ^sitemap_index.xml$ /index.php?sitemap=1 [L]
RewriteRule ^([^/]+?)-sitemap([0-9]+)?.xml$ /index.php?sitemap=$1&sitemap_n=$2 [L]
RewriteRule ^([a-z]+)?-?sitemap.xsl$ /index.php?xsl=$1 [L]
# END of Rank Math Sitemap Rewrite Rules————————
or just replace it into# START of Rank Math Sitemap Rewrite Rules
RewriteEngine On
RewriteBase /
RewriteRule ^sitemap_index.xml$ /index.php?sitemap=1 [L]
RewriteRule ^([^/]+?)-sitemap([0-9]+)?.xml$ /index.php?sitemap=$1&sitemap_n=$2 [L]
RewriteRule ^([a-z]+)?-?sitemap.xsl$ /index.php?xsl=$1 [L]
# END of Rank Math Sitemap Rewrite RulesHello,
You can add the Rank Math rewrite rules below the existing .htaccess rules.
Please take a backup of the .htaccess file before editing.
Hope that helps.
Thank you.
how can I back up a .htaccess file before i edit it?
also, how can i changes back using the backup .htaccess file if there is any problem
ThanksI have edit .htaccess file already
But it still not workHello,
In this case, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.
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/
For the No Index in the page’s source code from your screencast, it is a pretty common mistake to open the page source and search for a noindex tag to see if the page is marked as noindex or not. In your case, you saw the mention of noindex and assumed that the page is set as noindex. The actual noindex tag is added like this:
<meta robots="noindex">But, the one shown in your screencast refers to the No Index option that Rank Math offers in the admin menu bar:
https://rankmath.com/kb/quick-actions/#mark-this-page-postWe really look forward to helping you.
Thank you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
I can check that you are using the plain permalink structure and when using that structure the sitemap gets accessible on the /?sitemap=1 URL so there is nothing wrong with your sitemap and it is working completely fine.
For the URL, please share the exact URL that is returning a noindex error so we can check and assist you further.
Looking forward to helping you.
Thanks, but the problem is Google cannot search my website, and it still cannot search now. —>cutekid.com.hk
How can I upload the sitemap with /?sitemap=1 ending?
I just want to add my website into google search engine.
But I dun know how to do it
Can you please give me some suggestions to do it?Hello,
You just need to submit the URL in the sitemap section of your GSC account.
And for the URLs, please check the homepage URL with the URL inspection tool of your GSC account and share the result here. You can use a tool like https://imgbb.com/ to share the screenshots.
Looking forward to helping you.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.
The ticket ‘the sitemap doesn’t work and google search console show noindex’ is closed to new replies.