At some point you might need to delete all the WordPress Subscribers for some reason, mostly spam users. Here is a quick script to do it. Simply create a file in the root of you server with the following code: Don’t forget to delete the file when done on the server so no one can […]
You might have some sections of your Wordpress site that are only accessible for your Wordpress user. Pretty easy to protect the page or post in Wordpress for only the registered user but what about the attachments of the post/page (files, images)?
In a recent project, I had to redirect a specific category archive to a Wordpress page. I wanted to show special content when people were accessing the category archive page. This is actually pretty easy using the Wordpress wp_redirect function.