Multiple wordpress installations on same server

Your .htaccess file needs to be updated as follows (change the obvious parts for site3): # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /site2/ RewriteRule ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /site2/index.php [L] </IfModule> # END WordPress I was having similar issues and saw that whenever I would log in … Read more

Rewrite Rules not redirecting rewrite

Ok managed to figure this out, instead of adding action for a rewrite. Because what I was wanting to rewrite was a taxonomy i should have been using something like this : ‘rewrite’ => array(‘slug’ => ‘listings/make’, ‘product_make_model’ => false) When registering the taxonomy, which basically rewrites the slug as the taxomomy is created/registered. Works … Read more

How to deny access to a particular wordpress site url

You can prevent access to the file in question by modifying your .htaccess file or creating one, should you have none, with content as follow: # BEGIN Prevent access to README <Files “README”> order allow, deny deny from all </Files> # END Prevent access to README Please note: your .htaccess file should be located in … Read more

Redirect all subdomains to root domain

The following .htaccess will only work if the subdomain is assigned in your DNS setting using either a single DNS record or a wildcard DNS record. If your DNS setting doesn’t have that record, request to your subdomain will not reach to your server. So the .htaccess will not work. If you don’t know how … Read more