I have a small LightSail instance with wordpress installed on it. And it is a bitnami
wordpress.
So inside the htdocs
I have created a new folder called blogs
and put all the files under htdocs
there. so the new directory looks like below:
htdocs/
blogs/
// all the content
Now I have configured a domain name as well. it is blog.somedomain.com
When I access blog.somedomain.com/blogs
it works fine as expected. But when I access blog.somedomain.com
it gives me this error page:
Forbidden You don't have permission to access this resource.
How can I do this redirection? When I try to access blog.somedomain.com
it should force direct to blog.somedomain.com/blogs
so the error wouldn't be seen by the users.