z01d
02-02-2004, 09:52 PM
I creating a simple MYSQL-driven site where a script outputs meta tags, keywords, and main content from a database. The pages look exactly alike, and I am using a template in the form of include files.
My problem: I would like the script to show the useragent different filenames depnding on the requested link on the template. This is opposed to running the same script with different variables. The obvious approach is to create a different script for each page, but since the scripts are exactly the same (except for the MYSQL query), I was wondering if there could be a shortcut. Perhaps sending some Apache header variables? Is such a thing at all possible?
I'll be clear about my intent: I am planning to link every page to my main site, to improve it SERP. This way i will have 20 or so links pointing to my main site, rather than an all-in-one page.
Your ideas are much appreciated!
z01d
My problem: I would like the script to show the useragent different filenames depnding on the requested link on the template. This is opposed to running the same script with different variables. The obvious approach is to create a different script for each page, but since the scripts are exactly the same (except for the MYSQL query), I was wondering if there could be a shortcut. Perhaps sending some Apache header variables? Is such a thing at all possible?
I'll be clear about my intent: I am planning to link every page to my main site, to improve it SERP. This way i will have 20 or so links pointing to my main site, rather than an all-in-one page.
Your ideas are much appreciated!
z01d