Welcome to WebmasterWorld Guest from 22.214.171.124 , register , free tools , login , search , subscribe , help , library , announcements , recent posts , open posts Subscribe to WebmasterWorld
naming pages with php use .php in web page name? weddingm msg:4527641 3:56 am on Dec 13, 2012 (gmt 0) I just removed a cms on my website. In order to keep the php pages, I had to change the file names from .htm to .php. I did a 301 redirect on all pages. However, I noticed in webmaster tools that they were no longer indexed the next day and after a couple days only 10% were added back into index. Any suggestions?
lucy24 msg:4527655 5:36 am on Dec 13, 2012 (gmt 0)
You could yank the redirect and replace it with a rewrite. OR you could revert the pages to their original names, and insert a line* in your htaccess telling the server to parse .htm as .php. And then hope google decides it was just a momentary glitch and puts everything back the way it was. How much time are we talking about? * Don't look at me. But there was a post on this subject-- including exact wording-- within the last day or two, so someone will know. weddingm msg:4527656 5:41 am on Dec 13, 2012 (gmt 0)
We are only talking 5 days, swa66 msg:4527733 9:36 am on Dec 13, 2012 (gmt 0)
The googlebot works slowly, they should come back if the only change was the URL and it was 301 redirected from the old to the new. g1smd msg:4527737 10:10 am on Dec 13, 2012 (gmt 0)
When you change around the names and extensions of files as used inside the server, there is rarely a need to change the URLs that are used out on the web to access that content. The server configuration has many ways to achieve this. There was never any need to start messing around with redirects. caran1 msg:4527776 2:30 pm on Dec 13, 2012 (gmt 0)
Are you using a mySQL database or a flat file database?Which pages are currently being indexed? weddingm msg:4527781 2:34 pm on Dec 13, 2012 (gmt 0)
All pages that are not php are fine. Thanks for the feedback. I contacted my host and will read more about using the htaccess file.