throttle/limit a logged in user’s http requests to specific page on a per day basis

First, check for get_current_user_id. Then create a log of visits by adding information to a user’s metadata with update_user_meta & get_user_meta. On every page hit that you care about you can run a function to determine rate/limit of usage per user. If they break the rules, you can redirect to a page that doesn’t contain … Read more

How to switch static files back to using HTTP instead of HTTPS?

Rocky. You can try these: make sure the values changed in database If you can’t login to wp-admin > settings to confirm that, you can go to database, wp_options table and look for siteurl and home values add code to wp-config.php Add these lines to wp-config.php define(‘WP_HOME’,’http://example.com’); define(‘WP_SITEURL’,’http://example.com’); Clear your cache Make sure that you … Read more

Navigation Bar displays vertically on Mozilla

The problem is, browsers are blocking assets due to mixed content issues. while the user is visiting the site using SSL (https), much of the content, for example, some stylesheets, are being requested as non-ssl links (http). Check out your console in chrome dev tools for a listing of these issues. Basically, you’ll want to … Read more

My WP Website Shows HTTP ERROR 500

For future reference you could use the define( ‘WP_DEBUG’, true ); at your wp_config to easily spot errors and turn to false when you are done. Enabling WP_DEBUG will cause all PHP errors, notices and warnings to be displayed. This is likely to modify the default behaviour of PHP which only displays fatal errors and/or … Read more