Question with loading 403/ 404 error pages and htaccess

it create a never-ending loop as WordPress tries to find the 403.php page Not WordPress, but Apache. WordPress never even sees the request. You need to make an exception for your custom 403 error document, otherwise, the directives you have posted would issue another 403 for the error document itself… an endless loop. If your … Read more

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