Tag Info

Hot answers tagged

2

WordPress uses an HTTP class to make outbound requests. These requests are mainly for plugin, themes and core updates; pull news/rss content; and make third party API requests. There may be many different reasons for disabling outbound requests, security is the primary one. A WP instance with disabled outbound requests is more secure. Many institutions ...


2

The internet is a big mash of services communicating with each other. Semi dropping out of the network might have been a valid idea in 2000 but it sounds like a stupid idea in 2015 but the amount of damage depends on your site's functionality. If you don't need any 3rd party service on server side then you can do it, but as I said it is a very unlikely ...


1

Why not make a new account for this user which will generate a new database ID. Then delete the user with the ID of 1 and attribute all posts / content to the new user you created for them? Then you don't have to worry about queries or messing up your database. Also, as said before this makes absolutely no sense from a security standpoint as it's pointless. ...


1

You can add this to .htaccess file, it will redirect all author requests looking for a number ( Author ID ) to the homepage: #Disable Author Pages <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_URI} ^/$ RewriteCond %{QUERY_STRING} ^/?author=([0-9]*) [NC] RewriteRule ^(.*)$ http://%{HTTP_HOST}/? [L,R=301,NC] ...


1

The </head> tag is the giveaway; it should be in header.php.


1

wp-admin/admin-ajax.php is the script used by any plugin or theme using WP Ajax API and Ajax actions can be registered for non-logged in users. For example: //For logged in users add_action( 'wp_ajax_my_action', 'my_action_callback' ); //For non-logged in users add_action( 'wp_ajax_nopriv_my_action', 'my_action_callback' ); There is no problem on that. ...


1

It should work but it doesn't add even the tiniest security to the site (if the bad guy has enough permissions to alter the password of the admin he can probably create an admin user for himself). Don't forget to backup before running the queries.



Only top voted, non community-wiki answers of a minimum length are eligible