i have a website that is in essence one page that gets its content depending what is in the query string... Eg. ?page=home. Using apache rewrite rule i have the pages 'site.com/home' rewritte to 'site.com?page=home' which gets its content from text files.... My question is will google index: the text files, the pages with the query string, and the pages with the fake directories... I only wish for the last 1 to be true
You really missed the mark there, Donatello, that wasn't the OP's question.
To the OP, if you only wish for search engines to index the one like site.com/home then you must be sure that that is the only link available to that page on your site.
For instance, if you go out and litter blog posts, forums, and other places on the web with site.com/?page=home, then google will see that link, follow it and index the content. If you instead make sure that anybody linking to you uses site.com/home, then that's the only one google will see.
Google will never index the text files if there are no direct links to them. This will hopefully provide you a clue that google's search engine only has results that have links to them. If I put a site up online and turned it into an island, without any incoming or outgoing links then, from my understanding of it, google would never index it because it would never know about it.
Hope that answer is sufficient.
I've switched careers...
I'm NO LONGER a scientist,
but now a web developer...
No matter what you enter, you will never ever get a "Page Does Not Exis!"... But instead a copy of the homepage that rather than encourage a searcher to hit the back button, entices them with the homepage content as well as the main menu. Try it by adding any nonsense to the url ...
You can take this a bit further by making your 404 page handle queries usingQSA as I inappropriately answered you (Jumped the gun) in my first post.