Changing from index.html to .php affect SEO?

by 6 replies
8
I have some pages to which I want to add some dynamic content, so I have to turn them into .php files. They are all index pages as all my site is made of directories. Would this bother Google in any way? I noticed all the pages are cached as www.mysite.com/directory, not www.mysite.com/directory/index.html.
#search engine optimization #affect #changing #indexhtml #php #seo
  • Google this:

    html to php "SEO"

    Hope this helps!
    • [ 1 ] Thanks
  • You don't need to change .html to .php to run PHP code. You can run PHP code on HTML pages too by just adding some entry in .htaccess file. It is a simple process and may take just few seconds. Try googling - 'run php code on html pages' or try this link - How to Run PHP From HTML - PHP / MySQL
    • [ 1 ] Thanks
    • [1] reply
    • Thanks a bunch anwar001, that's a really neat trick to run php script inside a .html file.
  • Banned
    You don't have to show a file extension (ex: .html, .php) in your live webpage URL.
  • You dont have to do that. It doesn't affect anything in line with your SEO. But if you think it would, then follow the poster above.
  • it does not affect SEO but you must wait till the next crawl ti get your name upadated morever you can go down a bit for few days and come back to top

Next Topics on Trending Feed

  • 8

    I have some pages to which I want to add some dynamic content, so I have to turn them into .php files. They are all index pages as all my site is made of directories. Would this bother Google in any way? I noticed all the pages are cached as www.mysite.com/directory, not www.mysite.com/directory/index.html.