Please note that I have installed dynamic web pages (PHP) in the directory *public_html/old/* in order to create the web site www.example.com. Actually I have created a PHPBB forum and thus the URL of a topic is:
or the URL of the index file is:
What I would like to do is to change the name of directory “old” to “new”. I have been consulted that it can be done by editing the file .htaccess that exists in the directory *public_html* and write inside:
Redirect permanent /old http://example.com/new
Could you please let me know if is this correct or should I write www.example.com instead of example.com. Moreover could you please let me know whether this effects any aspect of my web site?
In addition I have been informed that if I change the name of the directory then it may break my web site (since I will have changed the path or location of the script) unless I configure it to work correctly. Could you please let me know what should the configurations be?