Permissions working but not working

Make sure the user running on behalf of the webserver’s PHP process has ownership permissions on /path/to/wordpress Example For Ubuntu 18.04 running Apache2 # Go to wordpress installation root directory cd /path/to/wordpress # Give ownership to Apache2’s PHP process sudo chown www-data:www-data . # Apply files and directories permissions sudo find . -type f -exec … Read more

How to rename a wordpress site from http://myserver.example.com/blog to http://myserver.example.com/somethingelse or just http://myserver.example.com

Those instructions are a little odd to my eye. I think you’re being forced to use /blog because of Step 3 in the instructions. The Apache directive Alias /blog /usr/share/wordpress …directs Apache to route any requests to /blog to the directory where you’ve installed WordPress. (See Apache’s docs on the Alias directive.) I don’t know … Read more

Is a local multisite installation equivalent to multiple VirtualHosts?

Simplifying the original question, so this answer is to my original, more specific question about Apache setup. Do Apache variable DOCUMENT_ROOT and PHP variable doc_root need to match exactly? In my local development setup under MAMP for Windows, in file httpd.conf I set DocumentRoot as DocumentRoot “C:/MAMP/htdocs” whereas in httpd-vhosts.conf I set DocumentRoot “C:/MAMP/htdocs/my-dev-install” This … Read more

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