Ok, So iv'e decided to remove all .php extentions from the url, and for this iv'e used the simple method:
Options MultiViews+
However, My profile page now displays almost nothing, with a black background because of the URL. If I input:
profile.php?username=Joe.Bills
It works perfectly fine, If however, I use:
profile?username=Joe.Bills
It automatic changes the url and adds a /
AFTER profile
Example:
profile/?username=Joe.Bills
And thus, thinking its in a "separate directory" causes the error. How can i remove it from adding the additional /
so it doesn't think its going to a separate directory
P.S. My link's are correct and currently is this:
<a href="profile?username=<?php echo $_SESSION['user_name']; ?>"><span class="bg">Profile</span></a>
Again, as I said, If I put
profile.php?username=Joe.Bills
It works completely fine, so I don't understand why the URL thinks its a directory when entered, So my question would be:
How can I remove .PHP extensions a different way to fix this, or is there a way I can fix this with what I currently have and how?