Automating the creation and naming of webpages
Posted: Sat Mar 14, 2009 12:46 pm
Hi eveyone,
I have a website with lots of factfiles - all have the same structure. The only difference is the text contained within each field of the factfiles.
At the moment each factfile is hosted at "www.websitename.com/factfile.php?factfi ... 3421648452", where factfile_id tells factfile.php what content should be displayed.
To improve the pages' positions in search engines I'd like to change the webaddress to "www.websitename.com/FACTFILE_NAME"
So my questions are:
1. How do I make all the factfiles work from a single uploaded file? (there are over 400 factfiles and at present all factfiles run from "factfile.php")
2. When a user submits data via a webform to create a new factfile (this creates a new row in my database table) how can I automatically create a new webpage? - I don't want to be uploading a new file everytime a new factfile is setup.
Thanks for your help!
Regards,
Stubarny
I have a website with lots of factfiles - all have the same structure. The only difference is the text contained within each field of the factfiles.
At the moment each factfile is hosted at "www.websitename.com/factfile.php?factfi ... 3421648452", where factfile_id tells factfile.php what content should be displayed.
To improve the pages' positions in search engines I'd like to change the webaddress to "www.websitename.com/FACTFILE_NAME"
So my questions are:
1. How do I make all the factfiles work from a single uploaded file? (there are over 400 factfiles and at present all factfiles run from "factfile.php")
2. When a user submits data via a webform to create a new factfile (this creates a new row in my database table) how can I automatically create a new webpage? - I don't want to be uploading a new file everytime a new factfile is setup.
Thanks for your help!
Regards,
Stubarny