Forum Moderators: coopster
I dont know if this is the right place to be posting this, but would appreciate any help :)
I had a purely HTML site that was doing well with a Page 1 rank for certain keywords in Google, Altavista, MSN etc, without any optimization techniques at all!
The site was modified two months back and now it uses PHP. Unfortunately it has completely dropped from all the SE's. Now all I can see is the new home page ( which has the same URL as before) and the old html pages in G's ( and other SE) indexes.
Can someone tell me why the spiders are not crawling the entire site? Is a PHP site not crawler friendly? What can I do to get all my pages back into the SERPs?
Thanks!
Now where your problems may exist are in the URL structure. You don't really want URLs like this:
/file.php?id=hghj8w4574554557&iid=87589340450943875
I do my best to not have any query strings in my URLs. I use mod_rewrite to convert friendly URLs back to the original query string URL that the script needs to function.
There is also a way to do it purely with PHP, but I think mod_rewrite is the way to go.
So, if you think your URLs are not friendly, get someone to work some Apache(mod_rewrite) magic to make them so and also be sure to get permanent redirects on all the old .html URLs so the search engines know for sure that they are gone and can be found at the new URL.
Hope that helped,
Birdman
john_pinx
Sorry john_pinx you are wrong I have over 3,500 pages index by google with .php?someid=somevalue.
You need to keep your urls as short as possible and use clean html links which appear on main pages.
Url's like .php?id=value&iid=value&iiid=value could struggle to get into Google.
Golden rule keep it to one and have a well structured web site.
FYI I had another site with 30 pages indexed also using similar but this had 2 values in the url :)
Oh and I have seen more and more .asp?with sessions added to Googles index.
Its getting easier all the time.
I know brett isn't adding everypage by hand. It's not SEO'd to it's fullest but it works.