Does include negate SEO?

Discussion in 'PHP' started by le007, Oct 15, 2007.

  1. #1
    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
     
    le007, Oct 15, 2007 IP
  2. jnestor

    jnestor Peon

    Messages:
    133
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #2
    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.
     
    jnestor, Oct 15, 2007 IP
  3. le007

    le007 Well-Known Member

    Messages:
    481
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #3
    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...
     
    le007, Oct 15, 2007 IP
  4. jnestor

    jnestor Peon

    Messages:
    133
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #4
    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.
     
    jnestor, Oct 15, 2007 IP
  5. le007

    le007 Well-Known Member

    Messages:
    481
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #5
    Ok thanks for that - do u know much about mod_rewrite? Do they slow up the resources much? Speed of the site?
     
    le007, Oct 15, 2007 IP
  6. Invent

    Invent Peon

    Messages:
    109
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    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).
     
    Invent, Oct 15, 2007 IP