Going by that logic, RESTful URLs would fail SEO parameters because the pages don't actually exist. Actual fact contradicts that assertion completely. Your consultant is correct in his assertion, but you have taken his meaning in the wrong sense. And in doing so you have taken a very hazardous path. Writing out entire ASPX files and code behind files is not a practical solution at all.
The best principle to follow with URLs is to make them human friendly - in a way that they describe at a glance the content of the page. That will help your SEO rating more than anything else because search engine bots increasingly try to mimic human behaviour. Try to understand that as long as each product description has a unique URL, and there is a central page linking to each of these, your page indexing will work fine. I would fervently suggest that you look into a (RESTful) URL Rewriting system for your website (and do away with that (gross!) solution of writing physical files. On Sep 21, 11:11 pm, ptvvee <[email protected]> wrote: > They are product description pages. I've been working with an SEO > consultant who advised me that it is much stronger (for SEO indexing) > to have actual physical pages vs one page that is dynamically changed > based on a database entry. So, I have code that grabs the database > info about each product and loops through a 'for each' method and > writes pages using StringWriter. The pages all come out fine as I > create the directives and properly formatted aspx pages and also > create the codebehind pages. I just don't like the fact that I have > to do this in the development environment everytime the database > changes. I would greatly prefer to have the web application write out > another page but don't see how I can then compile it outside of my > IDE. Does that help clarify? > > On Sep 21, 9:32 am, Cerebrus <[email protected]> wrote: > > > > > Why would you create physical pages (files) via code? I cannot get > > past this assertion, let alone the rest of the question.- Hide quoted text - > > - Show quoted text -
