Skip to content Skip to navigation

Better performance for XML sitemaps, new features for ImageSEO and more – SEOPress 5.8

Author Benjamin Denis
|
Posted on
Better performance for XML sitemaps, new features for ImageSEO and more – SEOPress 5.8

SEOPress 5.8 is now available. We encourage you to update your site as soon as possible to take advantage of the latest features and improvements.

🎉 New – Better integration with the Block Editor

As you probably know, thanks to our universal SEO metabox, SEOPress is fully integrated with all page builders including the Block Editor (aka Gutenberg). However, a point of frustration among our users was the primary category choice for posts.

This belongs to the past!

This new version allows you to select the main category of your choice directly from the Categories panel of the editor. Only the selected categories will be dynamically displayed in the select.

In a future update, we’ll also support this for Classic Editor, especially for WooCommerce products.

Choose a primary category with the Block Editor - SEOPress
Choose a primary category with the Block Editor – SEOPress

🎉 New – Automatic cleaning of media file names

To improve your image SEO, we now automatically clean your media filename when you upload some to the media library.

For example, this filename “ExãMple 1 cópy!.jpg” will be rewrite like this “example-1-copy.jpg“.

We remove spaces, accents, capital letters, force UTF-8 encoding and more.

Enable “Cleaning media filename” option from SEO, Advanced, Image SEO tab.

Practical, no?

Image SEO settings - SEOPress
Image SEO settings – SEOPress

🎉 New – Edit your htaccess without risk!

With SEOPress PRO, you can edit your htaccess file right from your WordPress admin. However, the main issue of this feature is to write a command incorrectly. The slightest syntax error will block your site when it is saved. Now with SEOPress 5.8, we automatically check that your new file does not generate a 500 error on your site. If so, we roll back to the previous version.

Safely edit your .htaccess file with SEOPress PRO
Safely edit your .htaccess file with SEOPress PRO

🎉 New – Significant performance improvement for XML sitemaps

We have changed the way we load your content, which has the effect of significantly improving the generation of XML sub-sitemaps.

We also fixed a bug on the automatic sitemap for YouTube videos.
Result: much faster regeneration than before.

We continue update after update to optimize, clean, refactor our code to always make it more efficient. Future updates will be as well.

⚠️ INFO – Important changes for XML sitemaps

With this new update, we have change the sub-sitemaps URL to better follow the official guidelines of Google.

You have nothing to do, Google will automatically update your URLs by crawling your XML index sitemap.

However, if you use NGINX as a web server, you will have to update your rewrite rules with the new ones below. We invite you to contact your host about this if you have any questions.

location ~ ([^/]*)sitemap(.*)\.x(m|s)l$ {
## SEOPress
rewrite ^.*/sitemaps\.xml$ /index.php?seopress_sitemap=1 last;
rewrite ^.*/news.xml$ /index.php?seopress_news=$1 last;
rewrite ^.*/video.xml$ /index.php?seopress_video=$1 last;
rewrite ^.*/author.xml$ /index.php?seopress_author=$1 last;
rewrite ^.*/sitemaps_xsl\.xsl$ /index.php?seopress_sitemap_xsl=1 last;
rewrite ^.*/([^/]+?)-sitemap([0-9]+)?.xml$ /index.php?seopress_cpt=$1&seopress_paged=$2 last;
}

🎉 Other news

We have fixed:

  • several compatibility issues with Bricks Builder 1.4, Zion Builder and Social Icons Widget & Block by WPZOOM
  • a duplicated meta robots on search pages
  • Google Analytics 4 tracking script URL
  • image alt text analysis with the universal SEO metabox

We have also improved the way we connect your site with Google Inspect URL API, to drastically reduce 403 errors!

2 new hooks for developers:

1 updated hook “seopress_auto_image_title“: you can now filter the image title automatically generated when sending with two new arguments, custom post type key and post id for advanced conditional tags.
By the way, if you send an image when editing a WooCommerce product, the image title will be the product title instead of the image filename for better productivity.

This new update brings a significant amount of small changes that enhance the user experience and ease of use. Thank you again for your feedback which makes us progress!

Support us by rating the best SEO plugin on the official WordPress plugins repository: more than 800 reviews, and still rated 5 star. 😍

Changelog

This update contains the following changes (full changelog here):

* NEW Quickly edit your primary category for post and products with the Block Editor 🎉
* NEW Image SEO: cleaning image file when upload a media (e.g. "ExãMple 1 cópy!.jpg" => "example-1-copy.jpg") 🎉
* NEW Prevent 500 errors when editing / saving .htaccess file 🎉
* NEW Automatically use the Product title when sending images to set the image Title, Alt, Caption and Description (Product post type only)
* NEW Add link on term archives for html sitemap
* NEW Try to automatically override Storefront‘s default breadcrumbs with SEOPress one (PRO)
* NEW Add noindex on add-to-cart links in robots.txt file (go to SEO, PRO, robots.txt tab to add this new rule)
* NEW XML sub-sitemaps URL to better follow the official guidelines of Google (https://www.seopress.org/docs/xml-sitemap)
* NEW 'seopress_sitemaps_cpt' hook to filter list of custom post types of XML sitemaps settings (https://www.seopress.org/support/hooks/filter-list-of-post-types-from-xml-sitemap-options/)
* NEW 'seopress_sitemaps_tax' hook to filter list of taxonomies of XML sitemaps settings (https://www.seopress.org/support/hooks/filter-list-of-taxonomies-from-xml-sitemap-options/)
* INFO Improve SEO Dashboard
* INFO Optimize video xml sitemap regeneration performance
* INFO Improve Alt text missing UI in Content Analysis
* INFO Improve word counter for Content Analysis
* INFO Add CPT key and Post ID to "seopress_auto_image_title" hook (https://www.seopress.org/support/hooks/filter-automatic-image-title/)
* INFO Automatic handling of the site url to avoid errors with Google Inspect URL
* INFO Stop pinging Bing for XML sitemaps since it's officially deprecated
* INFO Use the Site icon if no image available for Open Graph Image tag
* INFO Improve block FAQ schema logic
* INFO Update updater
* FIX Bricks (1.4) compatibility issue with our content analysis feature
* FIX Archives indexing for our Wizard if no post type archives available
* FIX SEOPress blocks icons alignment in Gutenberg blocks panel
* FIX Duplicated meta robots on search archive page
* FIX Knowledge graph option (Person or Organization) option with French translation
* FIX GA4 tracking script URL
* FIX Import / Export Indexing options
* FIX Zion Builder compatibility for Content Analysis
* FIX Social Icons Widget & Block by WPZOOM compatibility issue with Block Editor and SEOPress PRO
* FIX Video xml sitemap missing video caused by a transient issue
* FIX Missing alt text for images analysis with Universal SEO metabox
* FIX UI: Remove GA tab from SEO dashboard if disabled
* FIX Primary post / product categories in XML sitemaps
* FIX Missing sameAs properties for Article automatic schema
* FIX i18n
By Benjamin Denis

CEO of SEOPress. 15 years of experience with WordPress. Founder of WP Admin UI & WP Cloudy plugins. Co-organizer of WordCamp Biarritz 2023 & WP BootCamp. WordPress Core Contributor.