I inherited a website last July that was all done in frames and images (ie. text was actually a photo of text), but the file extensions were .html. There were no meta-tags, no page titles, and the only pages that had real text were the home page (a few sentences) and about-us page. Nevertheless, the site had a page-rank of 3 (!). I rewrote the entire site using SEO-friendly practices (added meta-tags, used all real text, removed all tables and did everything in pure css using php includes, added a ton of content, used <h1> tags etc).
Because of Yahoo's hosting limitations (no .htaccess), I had to change all the file extensions to .php. I did redirects for all the html files in the only way I could without server access or an .htaccess file:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>HTTP/1.1 301 Moved Permanently</title>
<meta http-equiv="refresh" content="0;URL=http://www.sargentsfineart.com/index.php">
</head>
<body>
</body>
</html>
After all that effort, you would think the page rank would have gone way up, but instead it went down to 2!!
So my question is, do the Google search engines rank .html page extensions higher than .php file extensions? Or do they assume that .php means that the file is all code and just skip them? Or how do you explain the drop in the page rank? It is very discouraging to say the least. I figure if anyone would know, it would be you guys, so please elucidate this for me.
Thanks very much. erin
PS. In case this is a factor, I should mention that I created all the pages (except the homepage, about us etc) as dynamic pages loading the content data from a mySQL database into templates filled with php variables. But I was told that bots view the pages in their rendered states, just as a viewer would see them. I hope this is true. (?)




Reply With Quote

Bookmarks