sitemap could not be read solution for all in one seo plugin and rankmath

 /home/mp3songs.fun/public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Sitemap


go to this above directory open the file and change noindex to index this is located in header  line


public function headers() {

                $charset = get_option( 'blog_charset' );

                header( "Content-Type: text/xml; charset=$charset", true );

                header( 'X-Robots-Tag: index, follow', true );


after doing this just index this page manually from google after some day this will be index directly and google will crawl all pages

For Rank math

includes/modules/sitemap/abstract-xml.php

        protected function send_headers( $headers = [], $is_xsl = false ) {
                $defaults = [
                        'X-Robots-Tag'  => 'index',



change no index to index in X-Robots-Tag

and add this as menu so taht google crawls it after checking in search console

https://mp3songs.fun/sitemap_index.xml/

add / at last then no 404

Comments

Post a Comment

Popular posts from this blog

cpanel exam CPSP Answers

How to install zimbra collaboration suite 8.8.11 on CentOS 7

awstats installation