Hey all, if I use include for my main div and just switch between pages there - basically my index.php page will always be present with just the 1 div changing the whole time. Does this hinder SEO for the new pages? I wont have a <head> in the new pages just search results, related topics etc but the index.php will be constantly on the screen. Are includes good? If so what for? Speed? Bandwidth or is a negative SEO problems? Thanks, Leo
If you make a page like index.php and then all your pages are based off of that like index.php?page=about would load the about page, etc then yes that will hurt your SEO. It has pretty much nothing to do with includes though. Includes are good for adding the same content to multiple pages. Like a header/footer/ad code. php includes are similar to SSI if you're familiar with that. It doesn't affect bandwidth or anything because the include happens on the server side and therefor the client doesn't even know there's include involved.
I know the client doenst know the page is included but in essense you're saying if i have page=about etc then YES it does hurt it? So... should I just design the site with individual pages? all title and meta tags etc...
Yes. Or at least it should appear to users/spiders that there are individual pages. You can always mod-rewrite it to use the system you're talking about under the covers. You really want each page to have title and meta tags of its own though.
Ok thanks for that - do u know much about mod_rewrite? Do they slow up the resources much? Speed of the site?
I don't think it does. But then again, I'm don't know that much about MOD_Rewrite. But whenever I've used it, it doesn't seem to slow down my server/site(s).