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

How to point domain to wordpress page

You need to add that folder path in the .htaccess, your .htaccess should be in the folder as well. # BEGIN WordPress RewriteEngine On RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteBase /my-page/ RewriteRule ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /my-page/index.php [L] # END WordPress

Permalinks (don’t kill me) refuses to work..Yes, it results in a 404

From what you write it sounds like Apache isn’t reading/following the .htaccess at all. This can be the case if the AllowOverride setting is not active for that directory. (See this thread on StackOverflow for more information.) <Directory /var/www/> Options FollowSymLinks AllowOverride All Require all granted </Directory> Setting this (AllowOverride None -> AllowOverride All) and … Read more