When saved, WordPress editor automatically adds "rel=nofollow" to every external link - wordpress

currently I'm running into this issue, where external links are automatically set to no-follow by WordPress. As of now I wasn't able to detect the source of this behaviour.
The page uses the Classic Editor (v1.6.2) Plugin - however, the problem still occurs without the use of this Plugin.
There are a bunch of other plugins installed but those are not directly involved with the post editin feature of WordPress. Are there any clues which might cause this issue?
If you need any information I can provide.

Which other Plugins are you using?
Are you maybe using RankMath or another SEO Plugin?
These have a setting to make all external links with "rel=nofollow". You would need to deactivate this or add an exceptions for specific domains.
Check the settings.

Related

Remove unwanted Url variable when WooCommerce is active in Wordpress

I've been facing some issues lately with our new business website. Basically, when the homepage is loaded www.motionitalia.it it looks like to redirect to another page https://www.motionitalia.it/?v=e0c86157e86f. I've asked a friend and he suggested that it might be related to the cache.
I tested the website using Site Health's tool called diagnostic mode and I deactivated all the plugins. It turned out that the ?v=e0c86157e86f appears when I activate Woocommerce.
I would like to remove it from the URL because it slows down the website and it doesn't even look professional. Has anyone of you ever experienced it? If so, could you suggest to me a way to fix it?
This is due to WooCommerce geolocation with page caching support enabled
To disable ?v=e0c86157e86f like from WordPress Urls when WooCommerce plugin is active, Go to WooCommerce Settings > General (tab), then for "Default customer location" select "Geolocate" instead of "Geolocate (with page caching support)", then save.
As you will see, the Urls are now clean without ?v=e0c86157e86f like.

WordPress 5.0 Update Issue

I was doing a routine update procedure on a WordPress website and then I just simply updated the WordPress website and everything started to fell, well all the links are now not loading from the domain itself but instead form a weird domain that seems to be like a CDN but it's actually nothing I have attached console logs so anyone can help me as the styles and all the CSS files are not loading that is making everything worse.
Thanks
The wp.com domain is owned by Automattic, a popular Wordpress commercial service provider (Wordpress.com, WooCommerce, WooThemes, and others). Are you using their plugin Jetpack ? I have been reading forum threads lately of people having similar issues and they were all using the Jetpack plugin with its CDN option enabled.
There is a setting to disable the CDN in Jetpack that may fix this issue. However, some are not able to resolve the issue this way. In this case, I've seen Automattic staff members encouraging people to file a support ticket for one-on-one support.
You are using jetpack plugin
disable CDN option
or you can paste the CSS into Appearance > Customize > Additional CSS to provide a temporary fix.

Plugin content type URLs break after Wordpress plugin upgrades

We use a plugin that creates a content type and dynamically generates pages for that type. It works fine except that when when we upgrade plugins (especially The Event Calendar, which also creates a content type, but doesn't experience this problem), this sometimes (but not reliably) causes all of the page URLs generated by the plugin to stop existing. When you go to those URLs, you get a 404 error.
This problem can be fixed by going to the site's permalinks page and (without making any changes) saving the settings.
I looked for a solution that would prevent the problem from happening, but have not been able to find one. I wasn't able to figure out a way to mimic what happens when you save the permalinks settings for each site, and I haven't been able to figure out what might be triggering the problem. I currently "solve" the problem by using a Selenium script to go through each permalinks page in our multisite and click the save button on each automatically after I update plugins.
How can I:
Track down the source of the problem.
Set up a content type that will not unset itself in the wrong circumstances.
Failing either of those things, implement a backend solution that will do what I am currently doing on the frontend, but in a fully automatic way.

WP Plugin idea/search: Selectively activate certain plugins on certain wp-admin pages

We use a lot of plugins and unfortunately can't remove more of them.
Our backend is slow.
Wordpress is built to load each plugin on every page load, also in the wp-admin backend. So even if you are on pages, where no plugin would be needed, woocommerce, contact form 7 etc. will be loaded. They put their CSS in the page but also do PHP stuff and slow everything down.
We know plugin organizer - a plugin that makes it possible to selectively load certain plugins on certain pages. They have a feature to do it on the backend - but it's a already a hell to work with it on the frontend. We use plugin logic in the frontend now.
Is there already a plugin or a hand crafted solution to select which plugins should be deactivated/activated on with wp-admin pages?
I guess it's needed to load every plugin on every wp-admin page to get the admin menu (the left side menu) - so I might be needed to built this menu and cache it somehow.
And then selectively activate plugins for certain pages.
We use custom fields - so ACF plugin has to be activated on some pages - also on some woocommercer pages. Polylang (for multilang) must be activated on a lot of pages.
But for example woocommerce doesn't need to be loaded on the event calendar pages and vis versa.
Do you know of existing solutions to lower the time needed to build the backend.
Are there any caching options?
You cannot activate/deactivate plugins individually for particular pages. Each plugin is either active or not when your site loads.
Here's something to try: In your staging environment, deactivate all of the plugins to see if that solves your problem with the slow admin menu. If it does, reactivate each plugin one by one until you find the problematic plugin. Then troubleshoot from there to determine the root of the issue.
You could also check your server's error logs to see if there are any warnings indicating issues with the site.
If that doesn't help, one final piece of advice I would offer is to contact your hosting company directly to inquire about any potential server issues that are slowing down your site's performance.

Google Analytics code in wordpress

I need to edit the existing GA code on our WordPress website with a different code and i intend to do the same by using add header/footer script plugin but i don't know if that will replace the present code. I tried to find the same on the server to change via FTP (as with our magento site) but was unsuccessful, can anybody update me on the same please?
You should be able to edit this via the admin itself. If you use as plugin like this https://wordpress.org/plugins/google-analytics-for-wordpress/
Otherwise, to edit GA, is not in the files itself, but within the admin. I would look within your admin, there is a lot of resource out there with wordpress integrations. You should almost never need to look in the code to find this. (that's the purpose of wordpress). I couldn't exactly say where yours is, but take a look at all your wordpress plugins/integrations and configurations.

Resources