Blocking admin-ajax.php from outside domain

If the point of the file is to allow the website to asynchronously post data why would it even be allowed to be accessed directly, especially from an ip that is not the ip of the site itself? AJAX requests come from the user’s IP address, not the site’s, because an AJAX request is by … Read more

How rename wp-content and wp-admin folders correctly

To rename the wp-content and wp-admin folders in WordPress, you can use constants defined in the wp-config.php file. The following constants can be used to rename wp-content folder: define(‘WP_CONTENT_FOLDERNAME’, ‘Folder_Name’); define(‘WP_CONTENT_DIR’, ABSPATH . WP_CONTENT_FOLDERNAME); define(‘WP_CONTENT_URL’, ‘http://’ . $_SERVER[‘HTTP_HOST’] . “https://wordpress.stackexchange.com/” . WP_CONTENT_FOLDERNAME); For wp-admin folder, renaming it using constants is not recommended as it may … Read more

Show shipping class in admin product list

You can add a new column to the product admin overview that displays the shipping class of each product. Here’s how you can do it: Add the following code to your theme’s functions.php file or a custom plugin: // Add new ‘Shipping Class’ column to the product admin overview add_filter( ‘manage_edit-product_columns’, ‘show_product_shipping_class_column’ ); function show_product_shipping_class_column( … Read more

Cannot Access wp-admin

Seems like you tried a lot of things, sorry you’re stuck like this. You didn’t mention anything about the database, though – have you also tried importing a whole new DB? An usermeta issue might explain this. I’d try deleting the database (while backing it up first) and renaming the plugin folder to something like … Read more