I have two html files, one for mobile and the other file for the other devices. I am detecting mobile devices by using PHP a if ($modile)
and this is followed by an include("example.html">
to determine which index is to be viewed.
Here's an example of my code:
<?php
if($modile) include("index_m.html");
else include("index.html");
?>
Each indexes are slightly different than one and another, and look like this in the address bar:
http://www.example.com/index.html
http://www.example.com/index_m.html
Question:
Since my site is using two index files, will search engines consider this bad SEO?