Hi..
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 for jmichae3

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.
http://www.regular-expressions.info/quickstart.html
http://www.regular-expressions.info/repeat.html
http://www.regular-expressions.info/refadv.html
http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html
http://articles.sitepoint.com/article/guide-url-rewriting/2

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, networking, learning, and sharing knowledge.