two sites, same code, different presentation

After walking through the code and examining everything else, I (finally) revisited the page definition in the Dashboard. There I noticed that the page was not associated with the page template I was working with. I assume that during the migration from the development web site to the production web site, the association went missing. … Read more

Install WordPress MU outside htdocs

WordPress expects certain directory structure. Now, there are some constants available that you could change in you wp-config.php and it should work, in theory anyway. The thing is that many plugins expect the default directory structure (and names) and will break if you change this. I have never tried to do what you propose, my … Read more

Multiple WordPress on Virtual Host

Thanks for comments. I can manage to host two separate WordPress site on VirtualHost EC2 Linux AMI. My mistake is I have created the vhost.conf file in under /etc/httpd/conf.d. Correct way to enable VirtualHost on EC2 Linux AMI is as follow : go to /etc/httpd/conf open httpd.conf file go to end of file uncomment NameVirtualHost … Read more

WordPress Multisite with Wildcard Certificates not mapping correctly

It seems that I was getting wrong the virtual host configuration file to redirect all http requests to https This is my current working configuration: /etc/apache2/sites-available/a.com.conf <VirtualHost *:80> ServerAdmin [email protected] ServerName a.com ServerAlias *.a.com DocumentRoot /var/www/a.com/html ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined RewriteEngine on RewriteCond %{SERVER_NAME} =a1.a.com [OR] RewriteCond %{SERVER_NAME} =a.com RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] </VirtualHost> … Read more