Smekla
Forum Replies Created
-
Forum: Plugins
In reply to: [Yoast SEO] ‘x’ in url – no meta descriptionI figured out where was a problem.
There was some conflict in url.
I am using some script to create content, and was set that content of this script should be under domainname.com/x/.
Changed that ‘x’ to some word and everything now works fine.Thanks for help!
Forum: Plugins
In reply to: [Yoast SEO] ‘x’ in url – no meta descriptionI am using all the latest.
I should update that i did more tests and found that on other site it is working fine with ‘x’ in domain and ‘x’ in url slug.So both sites has identical setup – themes, plugins etc.
Both sites has ‘x’ in domain.
On one site i am getting empty custom page meta description if i use ‘x’ in that page url slug.
If ‘x’ does not exists in url slug – everything is fine.Forum: Plugins
In reply to: [Yoast SEO] Limit the number of sitemap entries to 100It seems google visits my site :
[17/Dec/2019:10:23:46 +0100] "GET /sitemap_index.xml HTTP/1.1" 200 843 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +https://www.google.com/bot.html)"
I will test do more tests later.
Thanks.Forum: Plugins
In reply to: [Yoast SEO] Limit the number of sitemap entries to 100This
}
at the end closes whole php file.My theme is UltimaTube from wp-script (adult).
I added in db
create index type_status_modified on wp_posts(post_type,post_status,post_modified_gmt);
Also removed from
class-post-type-sitemap-provider.php
lineAND {$wpdb->posts}.post_date != '0000-00-00 00:00:00'
After restarting MySQL Database Server, Apache Webserver, clearing all caches sitemap still loads slowly.
GSC sees 1 page of sitemap (total 81) with 1000 entries in it. Maybe i should wait some time ?Forum: Plugins
In reply to: [Yoast SEO] Limit the number of sitemap entries to 100Here is sample code from Yoast – https://kb.yoast.com/kb/enable-xml-sitemaps-in-the-wordpress-seo-plugin/
<?php /********* DO NOT COPY THE PARTS ABOVE THIS LINE *********/ /* Limit the number of sitemap entries for Yoast SEO * Credit: Yoast Developers * Last Tested: Jan 31 2019 using Yoast SEO 9.5 on WordPress 5.0.3 * Yoast SEO defaults to 1000 * Google allows up to 50000 URLs or 50MB (uncompressed) */ function max_entries_per_sitemap() { return 100; } add_filter( 'wpseo_sitemap_entries_per_page', 'max_entries_per_sitemap' );
And
}
exists before add_filter.The reason i am trying to split sitemap into smaller pieces i believe small sitemaps (100 pages in one) can be added in GSC. Now sitemap with 1000 entries in one page (i have 35k pages on site) gives an error – Couldn’t fetch.
I tested with Google XML Sitemaps plugin and i have same error , on this plugin i can not split sitemap in pieces.
On both plugins sitemaps are readable by accessing in browser , tested in https://www.xml-sitemaps.com/validate-xml-sitemap.html
Also tested plugin Delete Expired Transients – still the same.
Forum: Plugins
In reply to: [Yoast SEO] Limit the number of sitemap entries to 100I added it to my theme’s functions.php.
It looks like like this:<?php . . . /* Limit the number of site map entries (Yoast SEO plugin) */ function max_entries_per_sitemap() { return 100; } add_filter( 'wpseo_sitemap_entries_per_page', 'max_entries_per_sitemap' ); }
I am using WP Rocket for chaching, also Cloudflare.
Many times cleared WP Rocket , Cloudflare cache, browser cache, disabled and enabled Yoast Sitemap to regenerate new one – still same – 1000 entries per page.Forum: Plugins
In reply to: [Fast Velocity Minify] Unnecessary Code AddedRaul Peixoto
Thanks for tips , there was 2 non existing files in my theme.
I removed links to them and now seems everything is ok.
Thanks.Forum: Plugins
In reply to: [Fast Velocity Minify] Unnecessary Code AddedYes, i can confirm this too on a new version of FVM.
Also in header-b9f21f68-1546290084.min.js new version of plugin adds all website’s html code and this breaks all site layout.
header-b9f21f68-1546290084.min.js:16 Uncaught SyntaxError: Unexpected token <
And on line 16th we have : <!DOCTYPE html><html lang=”en-US -> the start of that html code added to js.Please delete this new version and revert it back to fine working one. Thanks.
Update:
If i completely disable processing of JS and leave only CSS processing – in generated header css file plugin adds all site’s html code + some of JS -> this breaks my site totally.- This reply was modified 6 years, 2 months ago by Smekla.