I have configured my Blog on http://blog.example.com. For this I have an Apache Conf file which direct the user to /blog directory.
I have two major issues:
1.) After installation, when I try to open admin panel from http://blog.example.com/admin/login, it throws 500 Internal Server Error. It seems the rewrite engine is not properly coded in the .htaccess file.
Also when I try to open the admin link, it takes me to: http://www.example.com/admin/login in place of http://blog.example.com/admin/login. This is bound to throw an error.
2.) When I open the site, http://blog.example.com, it opens normally, but when I click on the default 1st blog, again the Server throw 500 Internal Error and takes me to http://www.example.com/posts/my-blog in place of http://blog.example.com/posts/my-blog.
I think it has something to do with .htaccess file which sends rewrite information to server, which is incorrect.
Can you please advice what should be the edit for:
RewriteRule ^(.*)$ index.php/$1 [L]
so that I can remove index.php from the URL as well as keep the link to http://blog.example.com/ while browsing the blog?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart.
If you run into issues leave a comment, or add your own answer to help others.