andlin02
Forum Replies Created
-
Interesting stuff! @elioonwordpress
Yeah, my issue was not related to downloadable files at all, so that solution was probably not relevant.
Glad it worked out for you!Issue solved after updating Bussiness plugin to Version 1.2.6 , although I did still see some 404s, but have not had the time to dig. We can mark this as solved and I’ll digm ore when I have time.
@anghelemanuel99 Hello! I disabled Yoast SEO and downloaded rankmath, that fixed it! I figured it might have been a database issue where yoast did not fetch/update URLs but i’m just guessing.
Forum: Plugins
In reply to: [LiteSpeed Cache] JS in exclusion list does not get excluded from delayCould it be that I’m trying to exclude what is already optimised by Litespeed or something in that region?
Forum: Plugins
In reply to: [LiteSpeed Cache] JS in exclusion list does not get excluded from delayIHello qtwrk!
I am trying to exclude the js behind our mobile menu button, the fonts and the googleReviews.js.
So presumably, i tried to add: menu.min.js or menu.min.js?ver=3.2.4
googleReviews.js
webfontloader.min.jsThe goal is to delay all scripts except the three predefined exclusions, the font swapping, the menu button and the googleReviews.
EDIT: I fouind out that the /blog page URL is not translated in sitemap, as well as there has been duplicated created by TranslatePress.
Same page can be accessed from two unique URLs:
https://speakingofbikes.com/de/blog
https://speakingofbikes.com/de/bloggen (actual translation)I recieved this from translatepress support, it solved almodt all issues, thanks!
Hi, In order to disable the trailing slash you can use a custom code that can be created following the below steps: Create an empty plugin like this: https://gist.github.com/sareiodata/76f701e01db6685829db Add the following code to the end of it: add_filter( 'trp_get_url_for_language', 'trpc_remove_end_slash', 10, 6); function trpc_remove_end_slash($new_url, $url, $language, $abs_home, $lang_from_url_string, $lang_url_slug){ return untrailingslashit($new_url); } Install this plugin via FTP (copy it inside wp-content/plugins) or create a zip archive with it and install it via the WordPress plugin upload functionality Kind Regards,
@anghelemanuel99 Okay, thank you for taking the time.
I am using %/Postname% , so the only difference from normal is that i have removed the trailing slash at the end of all links. This is a common change, many of the big websites worldwide is using this and it is “as respected as using trailing slash” as per Googles guidelines.
I wont send photos, but i will explain where the issues can be found on my site which now has the plugin enabled for troubleshooting purpose.
As of right now, the trailing slash added by Translatepress can be found via the language switcher in my menubar. If you look at what “Swedish” links to, it’s a link with trailing slash.
The second location is in html body, where hreflang is created by Translatepress with a trailing slash in the URL, although these URLs have been seen with and without trailing slashes which is interesting.
The last place, where i sadly can’t see it now but now for certain that i have seen it before, is in my sitemap located at speakingofbikes.com/sitemap.xml , Here, all translated URLs had a trailing slash.
All in all, all URLs that the plugin creates are with a forward slash, they all then get redirected to a URL without trailing slash, as it should have been in the beginning.
Do you have everything you need to recreate the issues i’m experiencing? I don’t want to create another ticket as you or your colleauges have not helped me at all using “ask-a-presale-question”
Hello @anghelemanuel99 , I’m not sure that’s the case. It is the plugin that creates these URLs. Both the translated pages and all hreflang entities.
Please read through my message again and try to pinpoint what I’m experiencing.
The only solution i van think of now is to change my permalink structure to %/postname/% and i really don’t want to do that.
I am 100% sure the plugin adds all these trailing slashes. It is not WordPress’s fault.
Forum: Plugins
In reply to: [Translate Multilingual sites - TranslatePress] Url adress in breadcrumbsLet’s hope devs have a clue of what’s wrong, although, from being an SEO Consultant, i can tell you that your current page in breadcrumbs never never ever should link to itself. Let’s say you’re on products/a-brown-cup , the only element that should have a link behind it is products, and ofcourse everything before like startpage etc. Hope that brings some clarification.
Glad to help. mention me if you run into any issues
I would go into advanced settings or automatic translation (can’t remember) and uncheck the “stop crawlers from triggering translation” , then run a crawler through your entire site. This will make all pages crawled translate 100%, and if you crawl them again, the slugs should also be translated. When done, tick that checkbox again.
The dangers of this is that your translation budget will shoot right up. The perks is that you get exactly what you want.