Do I need a Cookie consent on a basic WordPress site?

IMHO, If your site stores cookies on the visitor’s local computer, or if it captures any personal information (newsletter signup, contact forms that ask for name/email), or if the hosting place captures requests in a log, then you need GDPR compliance. Of if you use any analytics information, as in Google Analytics You can look … Read more

How to change WordPress cookies to be session-only

The wp_generate_auth_cookie() function is a pluggable function, meaning you can define a function with the same name in a plugin and your version will be used instead of the WordPress core function. The number of pluggable functions is limited, however. If you want a broad solution that works for all cookies, your lower-level Lua approach … Read more

I am unable to login into my wp-admin

You can fix this by changes site_url and home_url in your database. If you have access to your database(phpmyadmin) go to options table and change site_url and home_url from HTTPS to HTTP. You can also change it through wp-config file. define(‘WP_HOME’,’http://www.example.com’); define(‘WP_SITEURL’,’http://www.example.com’); See: https://codex.wordpress.org/Changing_The_Site_URL for possible methods. Hope this helps.

How to control who can view certain pages in BuddyPress? [closed]

I am new to BuddyPress so I don’t know which functions and variables to use here. Read the codex – for example: http://codex.buddypress.org/developer-docs/the-bp-global/ You could create a function in your theme- functions.php or in bp-custom.php and call it from template files and pass it parameters like allowed_users, etc. Or you code hard-code something like this … Read more

Stop Plugin Enumeration [closed]

There is no need to stop “plugin enumeration”, just use plugins from a good home and make sure you have restrictive file permission setting on your server. In theory you can use htaccess to mask the original location of the plugin on the disk and write some code to serve any JS and CSS file … Read more

What does selecting a page for GDPR privacy actually do?

It will add a link to the selected page to wp-login.php and a link to it is included in the Erase Personal Data confirmation email. It also makes it easy for themes and plugins to link to it using the the_privacy_policy_link() function. The default themes all use this to add a link to the selected … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)