homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

Is php page considered as dynamic pages?
SE ranking issue

10+ Year Member

Msg#: 4525 posted 4:22 am on Jul 25, 2004 (gmt 0)

Hi all,

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.



10+ Year Member

Msg#: 4525 posted 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 :)


10+ Year Member

Msg#: 4525 posted 7:51 am on Jul 25, 2004 (gmt 0)

Hi jason,

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?



10+ Year Member

Msg#: 4525 posted 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.


10+ Year Member

Msg#: 4525 posted 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.


10+ Year Member

Msg#: 4525 posted 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.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved