I am using PHP and Apache Server, and I would like to know how I could change my navigation structure from www.website.com/?about to www.website.com/#about?
I am using PHP and Apache Server, and I would like to know how
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t.
#denotes the fragment identifier, and it’s resolved on the client-side (the browser simply scrolls to the anchor calledabout). It’s not sent to the server.However, if you want to use e.g.
www.website.com/about, then you can do that. You need to use *mod_rewrite*, see the Apache URL rewriting guide.