Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 19, 2009 04:44 AM by Danny117
Jan 09, 2009 04:31 PM|LINK
If you set page title in a codebehind:
page.Title = "My title";
when it should be
This is less than ideal for some SEO optimization. On a large scale, though, it's an example of ASP taking full control of our HTML away from us. A language should not be making this kind of decision.
There was a connect issue opened about this:
Their answer in the connect issue is dancing around the issue--at least give us a way to control whether or not the newlines are added, and leave them by default. Or when 3.5 came out this could have been fixed then.
Maybe I'm missing a larger design concept here?
Jan 09, 2009 10:01 PM|LINK
White space doesn't matter in html or xml. spaces are You're talking about two line carrige return line feeds. Good luck with getting the html to not prettyprint on every browser in the world and making it work on world wide scale.
Jan 12, 2009 03:41 PM|LINK
You didn't read my post fully--newlines in titles can affect SEO optimization, or so several SEO marketing firms have said. I understand whitespace in HTML and realize the page still loads.
Jan 19, 2009 04:44 AM|LINK
I can sell you some SEO snake oil too. Good Luck