SEO Analysis Issue

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    This issue only seems to affect a number of websites. You can however fix this by logging in to your database via phpMyAdmin and deleting the “rankmath_seo_analysis_results” entry from your options table as shown in the below example:
    Screenshot

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Hi Im Using WpGeodirectory I need to Include Location pages for Sitemap ther no Option for It Pleas Tell me How to Iclude

    Thank you

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    You can workaround this limitation by manually adding the page links to the sitemap via your functions.php file with the following code:

    /**
     * Filter to add extra URLs to the XML sitemap by type.
     *
     * Only runs for the first page, not on all.
     *
     * @param string $content String content to add, defaults to empty.
     */
    add_action( 'rank_math/sitemap/{$type}_content', function() {
      
    });
    function rank_math_add_custom_dynamic_url( $urls ) {
        $urls .= '
            http://www.mysite.com/dynamic-category1/
            2019-02-22T18:02:24+00:00
        ';
    
        $urls .= '
            http://www.mysite.com/dynamic-category2/
            2019-02-22T18:02:24+00:00
        ';
    
        return $urls;
    }

    Looking forward to helping you. Thank you.

    ​​​​​​​

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this ticket.