Hello
I have a website which sells 200 products. Currently I use a results.aspx page to display and the querystring tells the databas which prodcut to show!
However, not so good for Google (IMO). So, I want to create 200 pages, each page called the same as the product name.
So, it was once results.aspx?s= batman and results.aspx?s= batman2
It will now been seen as batman.aspx and batman2.aspx
I want to share the code behind file with all 200 pages so I don't have to re-write everything each time an update is required. The code behind will use a Request.ServerV ariables["URL"] to work out the page name which will then be used to query the databases.
My question is: is this bad practice? My concern is too many resources requiring this one page will slow the site/server down too much! Don't get me wrong, this only has 4000 - 5000 visitors per month (it's not Amazon) but I still want best practices!
Any suggestions
Thank you
Dave
I have a website which sells 200 products. Currently I use a results.aspx page to display and the querystring tells the databas which prodcut to show!
However, not so good for Google (IMO). So, I want to create 200 pages, each page called the same as the product name.
So, it was once results.aspx?s= batman and results.aspx?s= batman2
It will now been seen as batman.aspx and batman2.aspx
I want to share the code behind file with all 200 pages so I don't have to re-write everything each time an update is required. The code behind will use a Request.ServerV ariables["URL"] to work out the page name which will then be used to query the databases.
My question is: is this bad practice? My concern is too many resources requiring this one page will slow the site/server down too much! Don't get me wrong, this only has 4000 - 5000 visitors per month (it's not Amazon) but I still want best practices!
Any suggestions
Thank you
Dave
Comment