.html and .php pages in same site

Discussion in 'Google' started by job123, Dec 8, 2009.

  1. #1
    I hope this is right place for this post. I have site with .html pages well indexed in Google. But for the ordering purpose I need .php page. Can I simply add one specific .php page or if I want to have that .php page in my site I need to convert all pages in .php format.

    I appreciate any advice.
     
    job123, Dec 8, 2009 IP
  2. nowimhere

    nowimhere Active Member

    Messages:
    869
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    60
    #2
    Sorry dude, you should post this in the computer speak section with coding and the like.
     
    nowimhere, Dec 8, 2009 IP
  3. Pudge1

    Pudge1 Well-Known Member

    Messages:
    912
    Likes Received:
    6
    Best Answers:
    1
    Trophy Points:
    140
    Digital Goods:
    1
    #3
    Yeah you can do that. But you should probably convert all of them anyway.
     
    Pudge1, Dec 8, 2009 IP
  4. mark5inc

    mark5inc Member

    Messages:
    148
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    30
    #4
    You can simply add php code to your html pages and execute it without changing anything. You will need to add some code to your .htaccess file
     
    mark5inc, Dec 8, 2009 IP
  5. im286

    im286 Active Member

    Messages:
    191
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #5
    use <LINK rel="canonical" href="" />
     
    im286, Dec 8, 2009 IP
  6. job123

    job123 Greenhorn

    Messages:
    40
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #6
    Thank you for reply. It is working like this. Even without adding any code to .htaccess .
     
    job123, Dec 8, 2009 IP