Redirect from different port to subdomain – htaccess

RewriteCond %{HTTP_HOST} ^(www\.)?example\.com:8082/wordpress\ The HTTP_HOST server variable contains the value of the Host HTTP request header – this does not include the URL-path (ie. /wordpress/). But why have you also include a backslash (\) at the end, instead of a (forward) slash (/)? Is that just a typo? (Although you’ve also carried that through to … Read more

Server crashed trying to restore wordpress multisite, images are not found pls help

Here is the default .htaccess generated by WordPress for Subdomain Multisite setup: # BEGIN WordPress RewriteEngine On RewriteBase / RewriteRule ^index\.php$ – [L] # uploaded files RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ – [L] RewriteRule . index.php [L] # END WordPress Let me know If this one doesn’t … Read more