I want to hide/rewrite the URL of my php project.
I found many forums regarding this.
I have a doubt in .htaccess file.
Is it need to create a new .htaccess inside my project folder ?

Recommended Answers

All 3 Replies

Yes. You need to create new .htaccess file and place it at root of your project.
There are many sites which can create code for htaccess.
Personally i like this site: http://www.generateit.net/mod-rewrite/

Member Avatar

given that it's xampp, it's probably a local installation and you have access to the httpd.conf file. you don't really need a .htaccess file, you can simply go into the
you will need experience with regular expressions before using Apache's mod_rewrite module.

I have already completed the application.
Is it possible to hide url without changing url path in my php code.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.