Menu Close

How to solve WordPress subdirectory page not found Error

  • Creator
    Topic
  • #197
    Avatar photoEric Smith
    Keymaster
      Up
      0
      Down
      ::

      I have a WordPress website installed in plublic_html root directory. But I have another non-WordPress Website installed in a sub folder of root directory. public_html/subfolder.

      When I click http://mywebsite.com/subfolder/ I always get an not found error. I know the subfolder exist. How to solve this error ?

    Viewing 1 replies (of 1 total)
    • Author
      Replies
    • #198
      Anonymous
        Up
        0
        Down
        ::

        This has worked for me in the past for a similar situation :

        Put this on top of .htaccess

        ErrorDocument 401 default

        The htaccess file should be in the root directory of your website. On the end of the top of your htaccess file in your root folder.

      Viewing 1 replies (of 1 total)
      • You must be logged in to reply to this topic.