When index.html is a redirect to a .php homepage does it need metatags?

4 replies
  • SEO
  • |
My site is PHP driven and the index.html is a redirect to index.php. I just got an SEO report but it appeared to do all the evaluation on the all but empty index.html file which is nothing but a JavaScript redirect.

Do I need to populate this index.html redirect with metatags and content (even though no one will see it)?

This seems like a shortcoming of the report - but I wanted to check with the experts.
#homepage #indexhtml #metatags #php #redirect
  • Profile picture of the author kodshi
    In this case you don't need the index.html file, if it just redirect to the index.php file, you can delete it.
    {{ DiscussionBoard.errors[5562594].message }}
    • Profile picture of the author rihallix
      Won't users get "page not found" when they go to the domain without specifying a page URL?

      (I thought browsers only redirected to the index.html, not the index.php).
      {{ DiscussionBoard.errors[5562688].message }}
  • Profile picture of the author rihallix
    Doh! I took the leap of faith and deleted index.html and voila - the site redirects to index.php.

    [-2 doofus points for me]
    {{ DiscussionBoard.errors[5562709].message }}
  • Profile picture of the author kodshi
    I am glad that it worked for you
    {{ DiscussionBoard.errors[5562803].message }}

Trending Topics