Jump to content

Automating the creation and naming of webpages


stubarny

Recommended Posts

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?factfile_id=13421648452", 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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.