Should I create individual html pages for my php profile pages?

Discussion in 'PHP' started by toolsmith, Apr 6, 2011.

  1. #1
    My website currently has profile pages for each member written in PHP. These pages are not currently indexed by search engines so my question is what would be the best way to include them so they are indexed?

    My current structure is I pass a users ID to a view_profile.php page to render the page but this obviosuly won't get indexed by search engines.

    Do I create a static *.html page for each ID and redirect it to the view_profile.php page?

    Any thoughts how best to get all my profiles indexed in search engines?

    Thanks,
    -Paul
     
    toolsmith, Apr 6, 2011 IP
  2. ama

    ama Greenhorn

    Messages:
    35
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #2
    Changing them to html from php won't make a difference. There are other factors at work. Did you check the robots.txt file for example?
     
    ama, Apr 6, 2011 IP
  3. toolsmith

    toolsmith Well-Known Member

    Messages:
    725
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    128
    #3
    Here are the contents of the robots.txt file:

    User-agent: *
    Allow: /


    Should I add something so they get indexed?
     
    toolsmith, Apr 6, 2011 IP