subdomain links not working properly

Avatar
  • Answered
I have created 2 different Wordpress installs. The first was playboxtt.com and the second a subdomain playboxtt.com/directory. Apparently whenever I create any page in playboxtt.com/directory and then I try to view the page it is going to playboxtt.com and showing as a 404 error no page found.
Avatar
anonymous
Hello Michelleald, This is because of the top level wordpress installation. You can put the following .htaccess code in your playboxtt.com's .htaccess to prevent this from happening. " RewriteRule ^directory(/|$) - [L,NC] " This is explained more in the following stack overflow thread. Best Regards, TJ Edens