I am a beginner of php. I am trying to create a website using php. I have pages called index.php, about.php, contact.php, etc.. I have a menus called home, About, Contact, etc.. I want the menus link should be like this http://localhost/mysite/about, http://localhost/mysite/contactus, etc.. I want to call the corresponding page to that particular link. What I tried is,
<a href="index.php">Home</a>
<a href="about.php">About</a>
<a href="contact.php">Contact</a>
When I click the home menu its going to the page with URL like http://localhost/mysite/index.php and about menu going to http://localhost/mysite/about.php but what I need is When I click About menu, its going to that page with URL like http://localhost/mysite/about. Without php extension, its going to that page.
Any help would be appreciated. Thanks