Results 1 to 8 of 8
  1. #1
    The Eternal Optimist zimmy's Avatar
    Join Date
    January 18th, 2005
    Location
    NC
    Posts
    696
    Php question
    How important is it for my php pages to appear static? Does in make a difference in how the search engines see them?



    ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*

    The big shots are only the little shots who keep shooting.
    -Christopher Morley

  2. #2
    Affiliate Manager MINDsprinter's Avatar
    Join Date
    August 18th, 2006
    Location
    Washington, DC
    Posts
    1,436
    Depends on what you are doing. If my knowledge is correct, all the big search engines can deal with "dynamic" pages now, no problem. Still, there are things to watch out for. I'm sure you've seen this link before, but here are the basics...

    http://www.google.com/support/webmas...y?answer=35769

  3. #3
    ABW Ambassador Snib's Avatar
    Join Date
    January 18th, 2005
    Location
    Virginia
    Posts
    5,303
    As long as each unique page has a unique URL you should be fine. The spiders mostly seem to run into problems when you append an SID with a dynamic identifier. This presents the illusion to the spiders that the same page has multiple URLs. You probably won't run into this problem though.

    I think it's best to consider your shoppers when it comes to URLs. Are they easy to understand and share? Maybe you want to let your users shop via your URL, for example with Flickr you can enter www.flickr.com/photos/tags/ocean to see photos of the ocean. As long as your URLs are good for your users, they should be good for the search engines.

    - Scott
    Hatred stirs up strife, But love covers all transgressions.

  4. #4
    ABW Ambassador MoneyBusiness's Avatar
    Join Date
    March 14th, 2006
    Posts
    2,051
    If you're worried, look into implementing mod_rewrite. It's pretty straightforward, and can make your worst looking URLs pretty again..

  5. #5
    Moderator BurgerBoy's Avatar
    Join Date
    January 18th, 2005
    Location
    jacked by sylon www.sylonddos.weebly.com
    Posts
    9,618
    Talking
    Quote Originally Posted by MoneyBusiness
    If you're worried, look into implementing mod_rewrite. It's pretty straightforward, and can make your worst looking URLs pretty again..
    Tell us how to do it.

    Vietnam Veteran 1966-1970 USASA
    ABW Forum Rules - Advertise At ABW

  6. #6
    ABW Ambassador PatrickAllmond's Avatar
    Join Date
    September 20th, 2005
    Location
    OKC
    Posts
    1,219
    It would be better to google mod_rewrite to learn how to use it.

    The 10 cent tour though:

    mod_rewrite will allow you to take something like this:

    badmonkey.com/productdisplay.php?category=badmonkeyjewelry
    to
    badmonkey.com/badmonkeyjewelry

    I googled and found this pretty quick:

    http://www.ilovejackdaniels.com/apac...e-cheat-sheet/

    But the absolute best way is to roll up your sleeves.

    Patrick
    ---
    This response was masterly crafted via the fingers of Patrick Allmond who believe you should StopDoingNothing starting today.
    ---
    Focus Consulting is where I roll | Follow @patrickallmond on Twitter
    Search Engine Marketing | Search Engine Optimization | Social Media | Online Video

  7. #7
    Lite On The Do, Heavy On The Nuts Donuts's Avatar
    Join Date
    January 18th, 2005
    Location
    Winter Park, FL
    Posts
    6,930
    Dirk's famous post here at ABW is where I learned how to do it:
    http://forum.abestweb.com/showthread.php?t=60200

  8. #8
    ABW Ambassador MoneyBusiness's Avatar
    Join Date
    March 14th, 2006
    Posts
    2,051
    Quote Originally Posted by BurgerBoy
    Tell us how to do it.
    The post DOnuts is referring to is how I learned to use it. Took a little while..but it's incredible...simply b/c my sites consist of no more than 5-10 total template pages and a database, but are being indexed as if they were many static pages (hundreds - and hopefully thousands later). For instance:

    I could have a one template page called: Sizes.htm (read as a PHP page).

    Whenever someone requests product info (lets say about a Tabriz rug), the actual query URL would look like:

    http://www.mysitenamehere.com/Sizes.htm?style=Tabriz (which simply pulls from a db)

    But b/c I used mod_rewrite in my .htaccess file, which looks like the following:

    RewriteRule ^Sizes-([^/]+)-rugs.htm$ /Sizes.htm?val=$1 [L]

    All of my URLs (from one single php template page) will read like:

    http://www.mysitenamehere.com/Sizes-Tabriz-rugs.htm

    Another line in that same file allows it to have multiple entries like this b/c of the number of pages/products. For isntance:

    http://www.mysitenamehere.com/Sizes-Tabriz-rugs-2.htm ... and so on.

    All in all, the main reason I like it is to reduce the query string (supposedly for easier indexing), and so that I can plug good keywords into it.

    Hope that clears it up a bit - kind of hard to explain (Dirk does such a better job than I do). If I can answer any questions I'd be happy to do so if I can (least I can do in return).

  9. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. PHP question - include(file.php) with variables
    By teezone in forum Programming / Datafeeds / Tools
    Replies: 8
    Last Post: September 4th, 2009, 04:54 PM
  2. php question
    By gearupandplay in forum PopShops
    Replies: 7
    Last Post: May 22nd, 2008, 08:45 PM
  3. Can someone help with this PHP question.
    By Derrick Kinsey in forum Programming / Datafeeds / Tools
    Replies: 4
    Last Post: March 22nd, 2007, 07:23 PM
  4. PHP Question
    By mopek in forum Programming / Datafeeds / Tools
    Replies: 4
    Last Post: August 23rd, 2006, 04:51 PM
  5. PHP Question
    By Doug247 in forum Programming / Datafeeds / Tools
    Replies: 1
    Last Post: March 31st, 2004, 10:20 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •