I have a forum written in php and is located in the directory /forum. I wish to make the address bar of the browser to display a static url (say, site/forum/index.php). Can any one guide me? Also, please tell where I need to add the script for getting this
What forum software do you have? Do you want to have static html pages instead of for example viewtopic.php?mode=reply&t=23423... If yes you need to use mod rewrite. First you have to change all your links in the forum to those you want to have with a preg_replace() function. Then you must change the .htaccess file so that it changes the links back to php for appache. This way from the exterior all the links will be static htmls..
but I need a common url to be shown for all pages , say sitename.com/forum/index.php And I am using phpbb.. Any way thanks for the reply Please help me further