In my root folder, I have installed WordPress. Now I have created a resources folder in the root and installed WordPress in that too.
I am able to login into the resources admin panel and created pages and posts. Now my issue is that all the posts are redirecting to the 404 pages. I am able to access the resources page. I have some posts in it and when I click on it them it's redirecting to 404
I have updated permalinks but still, have the same issue. Below is the htaccess file in the resources folder.
Any idea what is the issue? I am using the AWS server. Do I need to change anything?
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /resources/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /resources/index.php [L]
</IfModule>