Installing a theme on localhost, Ubuntu 16.04

The directory /wp-content/ of your local installations needs permission to create directory. It is necessary to upload the package and unpack. rights Maybe this should helps, if the user is www-data. chown -R :www-data /var/www/html/wordpress/wp-content/uploads chown -R :www-data /var/www/html/wordpress/wp-content/upgrades Or full access to the wp-content directory sudo chmod -R 777 wp-content/ php.ini Also maybe the … Read more

Can local WordPress installs share /wp-content/ folder and database?

For wp-content folder you need to add WP_CONTENT_DIR with path to this folder to each wp-config.php file of each your sites. All of these WP_CONTENT_DIR constants should have the same path to one folder. Read more about it here: http://codex.wordpress.org/Editing_wp-config.php#Moving_wp-content To share the same database, you just need to setup the same database settings in … Read more

Accessing private posts through REST API, same code that works in remote doesn’t in local

The problem was that I didn’t completely clone the wp site, and I forgot to install the plugin that I used to manage user roles The plugin is Members (“User Role Editor by Members – Best User, Role and Capability Management Plugin for WordPress”) by MemberPress, and there I can allow the roles that I … Read more

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