• Resolved priya2594

    (@priya2594)


    Hey! I am also facing the same issue Blank sitemap –
    Have tried deactivating the plugins
    Switching themes
    flushing cache
    set permalinks
    I am unable to see my sitemap anymore.I have even tried using another plugin but nothing worked. Contacted Go daddy they said there is no issue from their end please help me solving the issue

    The page I need help with: [log in to see the link]

Viewing 14 replies - 1 through 14 (of 14 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Errors like this are logged. Check the error log on your server. If you can’t find the log, please contact your host.

    Meantime, enable wp_debug and wp_debug_log and after an error, look at wp-content/debug.log to see if anything gets logged there. https://codex.www.ads-software.com/Debugging_in_WordPress

    You can also try this: Please attempt to disable all plugins (except Yoast), and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.

    If you cannot access wp-admin, there are other ways to deactivate plugins.

    Thread Starter priya2594

    (@priya2594)

    Thankyouu Steven sir for the reply but i have tried disabling all the plugins except yoast but nothing is working.!

    Even i have tried installing google xml sitemap to view my sitemap urls but that is also showing blank.

    I am using manage wordpress site so is it possible checking log files on my server?sorry for the lame question but i have basic knowledge of wordpress only!

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Please contact your host if you cannot find your errror logs.

    Thread Starter priya2594

    (@priya2594)

    07-Oct-2018 02:59:15 UTC] PHP Deprecated: parse_str(): Calling parse_str() without the result argument is deprecated in /home/content/n3pnexwpnas04_data02/87/41793787/html/wp-content/mu-plugins/gd-system-plugin/includes/admin/class-bar.php on line 119
    [07-Oct-2018 02:59:15 UTC] PHP Deprecated: parse_str(): Calling parse_str() without the result argument is deprecated in /home/content/n3pnexwpnas04_data02/87/41793787/html/wp-content/mu-plugins/gd-system-plugin/includes/admin/class-bar.php on line 119
    [07-Oct-2018 02:59:27 UTC] PHP Deprecated: parse_str(): Calling parse_str() without the result argument is deprecated in /home/content/n3pnexwpnas04_data02/87/41793787/html/wp-content/mu-plugins/gd-system-plugin/includes/admin/class-bar.php on line 119
    [07-Oct-2018 02:59:27 UTC] PHP Deprecated: parse_str(): Calling parse_str() without the result argument is deprecated in /home/content/n3pnexwpnas04_data02/87/41793787/html/wp-content/mu-plugins/gd-system-plugin/includes/admin/class-bar.php on line 119

    I am getting this error I contacted my hosting service they resolved the issue but my debug.log file still showing these errors & my sitemap is still blank. Please help me resolving it I am really worried!

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Those warnings are from a GoDaddy installed plugin and are probably irrelevant to this issue.

    I see you still have Yoast installed, so I think they’d be the best folks to figure this out. https://www.ads-software.com/support/plugin/wordpress-seo

    Thread Starter priya2594

    (@priya2594)

    Thankyouu so mch sir for your assistance but it’s not only about yoast i deactivated it and installed xml sitemap for google but this plugin is also showing blank page!

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    What’s in your .htaccess file?

    Plugin Support amboutwe

    (@amboutwe)

    The Yoast sitemap is created dynamically and a completely empty sitemap with no code is most likely caused by a physical file uploaded to your website with the sitemap_index.xml name. Please remove the physical file from your server.

    A quick way to confirm this is to activate Yoast SEO and go to the non-pretty permalink: https://torchindark.co.in/?sitemap=1

    If that loads a sitemap, the function is working but something on the server prevents the redirect from that non-pretty permalink to the pretty permalink of sitemap_index.xml

    There are a few more less common causes explained here: https://kb.yoast.com/kb/my-sitemap-is-blank-what-s-wrong/

    Thread Starter priya2594

    (@priya2594)

    My .htaccess file shows this

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    Thread Starter priya2594

    (@priya2594)

    Hello, amboutwe… I followed the procedure and my https://torchindark.co.in/?sitemap=1
    loads sitemap but there is no such file name sitemp_index.xml file exists on my server!

    You might want to remove the duplicate section in your .htaccess. That might cause this.

    Thread Starter priya2594

    (@priya2594)

    Hello Sir, I tried removing the duplicate section but that too not helping

    Plugin Support amboutwe

    (@amboutwe)

    As https://torchindark.co.in/?sitemap=1 works, this confirms that Yoast SEO creates the sitemap but something on your server is not applying the redirect rules correctly.

    Please contact your web host for assistance implementing the redirect rules for your server.

    Yoast XML Sitemaps on Apache servers
    Yoast XML Sitemaps on NGINX servers

    Plugin Support Michael Ti?a

    (@mikes41720)

    Closing. No further response.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Blank Sitemap’ is closed to new replies.