I have a website, say http://www.example.com (not actual name).
In this website I have
index.php (first page of website before login) and home.php (first
page of website after login)
As my DirectoryIndex index.php(in .htaccess), index.php does not appear in address bar. But when logged in, it shows home.php as a part of link.
I don’t want to show “home.php” in url. I was thinking to use some url rewrite rules in .htaccess, but I’m stuck.
Is there any easy solution for this?
Please let me know if you guys need any other system/server related info, if required.
//Edit
I got this idea from facebook.com.
The easiest way, imho, is to have the single landing page
index.php, which should includepublic.phporprivate.php(home.phpin your case) depending from logged out/logged in state.