Juan
Forum Replies Created
-
Forum: Plugins
In reply to: [Polylang] slugs does not include language folderHi @guinery,
Thank you. I will check it to check if it solves our problem. It’s complicated when there are come plugins in our Stack to find the what is failing.
Did it affect to Polylang menu?
Regards
Forum: Plugins
In reply to: [Polylang] slugs does not include language folderForum: Plugins
In reply to: [Polylang] slugs does not include language folderHi!
I could find the problem and solve it locally. How can I notify it so it can be solved and deployed
In file links-directory.php line 72 on function add_language_to_link
$root = ( false === strpos( $url, ‘://’ ) ) ? $this->home_relative . $this->root : preg_replace( ‘#^https?://#’, ‘://’, $this->home . ‘/’ . $this->root );
The last part, $this->home . ‘/’ . $this->root is adding an extra slash at the end and then the process does not replace the URL including the code
We have solved using the following patch but I’m secure you can solve it a better way. Added after line 72
if (preg_match( ‘/\/\/$/’, $root)) {
$root = substr( $root, 0, -1 );
}Thanks
Forum: Plugins
In reply to: [Slim SEO - Fast & Automated WordPress SEO Plugin] Polylang and other issuesHi @rilwis,
The plugin update is working great. It takes into account Polylang languages and it shows the alternate links.
Thanks
Forum: Plugins
In reply to: [Slim SEO - Fast & Automated WordPress SEO Plugin] Polylang and other issuesThank you @rilwis ,
The Elementor issue is that in the sitemap.xml the following elements are included but when you click on them they link to an empty page because there are not content of the custom post type.
https://mydomain.com/sitemap-post-type-elementor_library.xml https://mydomain.com/sitemap-post-type-testimonial.xml
Best regards