My domain www.digitalproductshopping.com is on a WordPress installation, Can I add a sub-directory that is html5

Can I have a HTML5 Sub Directory as part of my WordPress installation. I have put the subdirectory in public.html folder, but when i enter the URL www.digitalproductshopping.com/affiliatemoneysecret, I get a page not found 404 error on this URL.

Related posts

3 comments

  1. The issue is basically due to .htacess rewrite rule
    1)Try adding

    ErrorDocument 401 default
    

    to your htacess file , in most of the cases this should work if not then try adding

    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_URI} ^/subdirectoryname1/(.*)$ [OR]
    RewriteCond %{REQUEST_URI} ^/subdirectoryname2/(.*)$ [OR]
    RewriteRule ^.*$ - [L]
    
  2. the sub directory was different, not in spelling but in capitalisation, in different documents, subdirectories must be spelled and capitalised exactly the same or the above error occurs.
    Thanks for the effort everyone.

Comments are closed.