I have a site which is growing day by day. All I do is generate html files using perl codes connected to a mysql database. So if a small change is required, I have to change the perl codes, and generate the html pages again. I know this is very foolish. So now I want to make my site dynamic, without changing the URLs.
e.g. I have a URL like http://example.com/topic1/subtopic3.html
Can I have something in the background like
http://example.com/cgi-bin/display.pl?topic=topic1&subtopic=subtopic3.html which is invisible to the users and the search engine ?
All they will know is http://example.com/topic1/subtopic3.html
So basically, physically subtopic3.html will not exist in my webserver. I need to get rid of my static html files, at the same time don't want to change my old URLs.
If this is possible, please help.
Thanks in advance