Can any one help me to get or understand clear structure about ht access in php as i am beginner to php

What you want to do in php in order to change htaccess file.

i want to hide all the url after domain eg www.google.com/pubilc.php?cat_id=2
it should come like www.google.com alone rest things should hide

You could do it from PHP level, or you could use the rewrite rules of htaccess (which is not PHP)...

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.