Forum Moderators: open
On the topic of validation, my site validates now in xhtml but I have one problem I cant see around.
I use php include to bring in the different pages upon click with links in the format: "index.php?page=filename".
But when viewing the source, it does act as two different pages in a row, including the doctypes which make the site invalid because there is to doctype tags, two head tags etc ...
Anyway around this?
Thanks
I've seen it countless times before on projects where the rendered code will have 2 or 3 sets of body tags etc. because different developers created the pages and all decided to stick in html formatting.
What needs to be done at the beginning of any project is a thorough Information Architecture, which includes include pages. Taking this, a design model will specify what presentation layer code should be in which page (or file) and then duplicate tags are avoided.
You will need to look at your rendered pages (View Source is your friend here!) and then look at the source files and make the necessary corrections.
HTH
AFAIK profile URL's don't show up until after 80 or 100 posts!
For my site, I have now removed the head, html and body tags leaving only the content which seems to work great .... as all link s are linked as index.php?page=filename.
Surely google will index the url in that format and not the page (domain.com/filename.php) which would not be good as it would return a page with black text and no formatting ....