-
hello
i’ve a news website. everything normal until version 1.0.48.2. my problem is about sitemap . sitemap not working stable.i’m adding new post. but i’m not see new posts when refresh sitemap. i’m using wp-rocket. i’ve tried disable all plugins. I could not solve the problem. I installed old version. problem versiyon rank math 1.49
i’m thinking write permissions of source of problem. i found a article ticket.
i’m suggest you look. maybe Software team can fix this problem at new version.
thank you.https://core.trac.wordpress.org/ticket/48689
my debug results : [16-Oct-2020 08:58:48 UTC] PHP Warning: ftp_nlist() expects parameter 1 to be resource, null given in /var/www/html/wp-admin/includes/class-wp-filesystem-ftpext.php on line 420
[16-Oct-2020 08:58:48 UTC] PHP Warning: ftp_pwd() expects parameter 1 to be resource, null given in /var/www/html/wp-admin/includes/class-wp-filesystem-ftpext.php on line 230Rankmath snippet
<?php
public static function get_htaccess_data() {
$wp_filesystem = WordPress::get_filesystem();
$htaccess_file = get_home_path() . ‘.htaccess’;return ! $wp_filesystem->exists( $htaccess_file ) ? false : [
‘content’ => $wp_filesystem->get_contents( $htaccess_file ),
‘writable’ => $wp_filesystem->is_writable( $htaccess_file ),
];
}
-
Hello
Thank you for contacting the support and sorry for any inconvenience that might have been caused due to that.
The redirection set on your website is not correct.
Please get in touch with your hosting guys and request them to add a 301 redirection so all your versions redirect to the HTTPS version.
Meaning:
http://website.com/ http://website.com http://www.website.com/ http://www.website.com https://www.website.com/ https://www.website.com
Redirect to
https://website.com/
Hope that helps.
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 ‘sitemap rendering problem and file permission’ is closed to new replies.