Root directory htaccess file stopping me from accessing WP Dashboard
-
Hello
We have created a WordPress site in a sub directory of our main Website.
https://www.csie.org.uk (main website)
https://www.csie.org.uk/wordpress ( wordpress test site which we want to keep separate from our main site at them moment)
The problem is that you cannot access the wordpress site – error message “not authorized to view this page [cfn #0004]”
I have got as far as realising it is to do with the .htaccess code in the root directory and the line
DirectoryIndex index.shtml
I have read up that I need to add index.php into the root directory but still cannot completely fix this issue. If I remove this DirectoryIndex index.shtml code in .htaccess file in root directory I can open WordPress site
Are you able to help, I know I have to place certain code in the root directory .htaccess file and the wordpress sub directory .htaccess file but just cannot work it out so that I can see both main website and WordPress site.
- You must be logged in to reply to this topic.