Tag Info

Hot answers tagged


This occurs because the .htaccess will be inherited in all child directories. This is a common issue when using add-on domains because each domain shares the same path environment. This can be resolved by any of the following: Use more secure hosting with jailed accounts Use a .htaccess in each add-on domain child directory Use %{HTTP_HOST} ...


If the /account subfolder is intended to be outside of WordPress then you can do something like closetnoc suggests, however, you also need to enable the rewrite engine to prevent the WordPress rewrites in the parent .htaccess from taking over. So, in /account/.htaccess: ErrorDocument 404 /error.php # Enable the rewrite engine in the subdirectory to ...

Only top voted, non community-wiki answers of a minimum length are eligible