Forum Moderators: open
Our visibility at Google dropped like crazy after Florida. It has not recovered despite solid effort. Yet MSN and Yahoo serve us quite well.
Would Google consider this "duplicate content" and penalize our site because of it? If so, should I consider getting rid of the html pages to reduce this possible risk? I realize that the other alternative is to change the content. This is lots of work to consider before knowing for sure.
Thanks for your help, Dboy.
PS. Is content still king at Google?
then after you have renamed all your .php files as .html, if you use apache, set up .htaccess to treat .html files as though they are php (i'm a windows iis guy, not apache, so i assume this is correct).
i'm not convinced that it matters whether you keep .php or .html but some believe that google might not like pages created in php as much because they are dynamic. it certainly can't hurt to go with .html files, and will eliminate endless worries you might have down the line about whether you should have used .php files.
Why not change a significant amount of text content on the html pages, leaving the PHP pages as they are. The graphics and table layout etc. would be the same, but the text is delivering the same message using completly different wording.
This would allow me to keep a larger number of pages on the site, modify some text for various keywords for testing purposes and reduce the site maintainence described above, which frankly speaking is above my skill level at this time.
Any further input is gratefully recieved. Just as a side note, is content still king at Google? Anyone have an opinion?
Take care and thanks again, Duhboy.
set up .htaccess to treat .html files as though they are php
I haven't had it explained to me fully, so can't give chapter and verse, but I understand that when this is done with a large number of pages it raises a performance issue on the server, and that it's technically better to use the .php file extension where php is required.
Thanks Patrick, I've just set up a couple of new site now parsing HTML and using php inludes - also started to parse HTML for PHP includes on another, older site. I'd better double-check before setting up anything further.
I know there's extra processing involved than with ordinary HTML pages, but ss it the fact that it's specially parsing the HTML files that puts the extra server load on, or is it the PHP itself?
There's a useful WW thread here: [webmasterworld.com...]
[edited by: Patrick_Taylor at 9:25 am (utc) on Aug. 25, 2004]
Also, I don't know where the idea comes from re it being technically better. In fact there are a number of reasons for doing it that go beyond SEO. One is to hide the technology behind your site.
duhboy, I have thousands of pages indexed using php with .html extensions. Before that some of them were .php. I simply 301 all .php to the new .html in the crossover and everything was fine. No duplicate content, just a page permanently moved to the new location.
I think the only consideration as far as extra load is concerned is that if you set apache to handle all html files as php, then any html files not containing php would use slightly more resources than when they were simply processed as html. The php parser would check the html file and find there is no php. That check would be the extra load on the server.
Quite negligable, suggest I would.