Disable/ Remove canonical tag generated by wordpress

There is problem in my wordpress site. It is showing duplicate canonical URL issue because yoast and wordpress or some other plugin both are creating canonical tag. I have tried to remove the canonical tag generated by yoast on a specific page but that started showing other duplicate content issues. So I want to disable the canonical tag generated by WordPress or any other plugin. I have tried remove_action(‘wp_head’, ‘rel_canonical’); which is not working.

Why make it difficult to disable MFA tokens?

Some websites make it easy to enrol multiple TOTP apps at the same time but make it difficult to disable these apps. For instance, the user would have to completely reset the MFA settings instead of just disabling one TOTP app, or the user would have to provide a state-issued ID to have this done by user support.

What type of threat scenario does this address? After all, an attacker who would be able to authenticate as a legitimate user would then be able to change the password and lock the legitimate user out, so what is the difference?

If I’m currently on a website and disable my VPN, is my ISP or the web server immediately aware of the change or does a page refresh have to occur?

For example: I’m browsing my favorite website with my favorite VPN enabled. I disable my VPN while I’m still on a page of the website. I haven’t clicked any links yet, I haven’t went back to the previous page, I’m just on the page, touching nothing. At this point, are the web server and ISP now aware of this change? Or does a page refresh / new request have to occur?

If I had to guess, it would be no, because it would be theoretically the same thing as viewing the webpage and disconnecting your internet completely. Am I on the right track?

What to disable on my second router as switch?

I’m extending my network coverage to the basement and I took the dust off my old router and am now converting it to a network switch. Wireless will probably be turned off so that it only support wired LAN connections.

Following tutorials online, I did not change anything on my main router. I played around with a few settings on the second router: turned DHCP server off and changed the IP to something different than my main router. Now because the information is not very clear when reading different tutorials, I am confused as to what to do with certain settings.

On my second router should:

  • NAT be disabled?
  • firewalls be disabled? Firewall options on the router are IPv6 SPI Firewall Protection, IPv4 SPI Firewall Protection, Filter Anonymous Internet Requests, Filter Multicast, Filter Internet NAT Redirection for IPv4 Internet Only, IPSec Passthrough, PPTP Passthrough, L2TP Passthrough.

Correct me if I’m wrong but it makes sense for me to disable all of those options because the main router handles all the security features already. As a note, my main router is the Asus RT-AC68U and my secondary router is the Linksys E2500. Might not be very important but I should also mention that I’m using my second router as a wireless access point at the moment but that’s only because I am still waiting for ethernet cables to ship. I will probably turn wireless off to improve performance through LAN once I get the cables.

Any tool to help disable Windows defender? by creating a file to send to the victim VM and test? [closed]

I am using two VMs on my computer , A Kali Linux, and a Windows 10 machine.

I was able to exploit the windows machine without any problem. however I had to disable windows defender first.

I was wondering if there is any tool in Linux Kali that can either remotely disable windows defender, or I can create a file that then move to the windows machine and execute to disable windows defender to simulate a real life scenario.

Thank you!!

Is it safe to disable SATA ports in the BIOS to isolate the corresponding hard drives from malware?

I have three SATA hard drives that I use every day. Suppose I disable the corresponding SATA ports of these hard drives through my BIOS, add another storage device to my PC, install another instance of Windows 10 and run unsafe executables on it – would my three SATA hard drives be completely isolated and safe?

As I understand it, unmounted partitions are at risk, but not partitions that I exclude by disabling the corresponding SATA ports.

Is this correct?

Disable Cloudflare Rocket Loader for jQuery javascript and make it load first

I use Cloudflare Rocket Loader to speed up Javascript on my site.

The problem is, it loads certain scripts that need jQuery before loading jQuery itself making them not working correctly.

As soon as it is possible to disable Rocket Loader for specific script adding data-cfasync="false" to the <script src=""> I would like to know how can I add it to jQuery scripts as WordPress doesn’t simply load the jQuery via the script tag I guess.

At the moment my website loads jquery-migrate.min.js and jquery.js

PS there is a similar question but it’s almost 7yrs ago so, it may be outdated at this point Cloudflare's Rocket Loader + WordPress -> Ignore scripts?

Disable Fields in Custom Meta Boxes inside Custom Post Type

I want to create an Options page for my plugin.

I have two custom post types. Both habe metaboxes with fields inside. They are perfectly saving now (thanks to you guys on stackexchange).

Now, I want to create an Options Page (already done) and want to allow the admin to disable or enable every single field of every metabox

For example

Post Type: np-food Metabox: nutrition-info fields: energy_kcal, energy_kilojoule, etc


Enable energy_kcal yes/no dropdown Enable energy_kilojoule yes/no dropdown

Saving removes them if disabled and let them appear if enabled.

Glad for any help 🙂

Have a great Day