|Is php page considered as dynamic pages?|
SE ranking issue
| 4:22 am on Jul 25, 2004 (gmt 0)|
I recently changed my site to php pages. Instead of using html pages, i changed all to php related pages such as [mysite.com...] But instead i am getting less visitors from SE because all these pages are not indexed. I was wondering whether SE will index these pages in time because i lose a lot of traffic comparing all the html pages that i use. All my html pages are not listed in SE anymore. I also heard that SE will not index session ids but i am not sure whether all these? related pages will be indexed. Therefore i need some advice on this case. PHP is really great but is it better to change back to plain html pages because without visitors, my site will be nothing worthy even though i think i did a good job in my site. :>
Thanks for any advice.
| 5:04 am on Jul 25, 2004 (gmt 0)|
You know, you don't NEED to use one index.php for every page on your site :)
| 7:51 am on Jul 25, 2004 (gmt 0)|
I do not know exactly what you mean here. Because i am running a directory website and i have like 30 different categories. So my pages will be like /index.php?action=displaycat&catid=1 and catid=2 and so on. PhP really makes this easier to run directory website. Therefore i do not understand what you mean by seperating the index page. Any other advice than this?
| 1:53 am on Jul 27, 2004 (gmt 0)|
If it helps, I know what you're talking about. I seem to be in the same boat. Since lots of websites that use php get good SearchEngine results, we must be doing something else that scares off the SE's - in particular, googlebot.
Googlebot seems to index a couple of my pages but stops after that.
| 2:16 am on Jul 27, 2004 (gmt 0)|
with mod rewrite, you can easily convert your pages into several that google can index without thinking it's all part of your index.php page.
I have a site that is made up of one big index.php file. The user goes to index.php and gets the main page. If they click on a link, they go to site.com/page-1, or site.com/keywordterm
The mod_rewrite page looks for page-(.*) and sends it to index.php?id=$1 instead (internally -- the user never knows this).
This is just one way to do it, there are many.
| 2:59 pm on Jul 27, 2004 (gmt 0)|
Exactly, just like Jason suggested, mod_rewrite will help you to create more 'plain' URLs, therefore, more SE friendly.
My website uses mod_rewrite to do that and all my PHP pages have an html extension.
So, they look very simple.
With mod_rewrite, you can keep your index.php and rewrite the URL to something like www.mysite.com/category/product_name.html
Like they say on the Apache website: mod_rewrite is voodoo, damn cool voodoo!
One more thing, make sure your categories and products are properly linked, so that a spider can effectively reach and index all your products.