Results 1 to 8 of 8
September 15th, 2006, 01:42 PM #1Php 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.
September 15th, 2006, 02:13 PM #2
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...
September 15th, 2006, 04:44 PM #3
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.
- ScottHatred stirs up strife, But love covers all transgressions.
September 15th, 2006, 07:23 PM #4
If you're worried, look into implementing mod_rewrite. It's pretty straightforward, and can make your worst looking URLs pretty again..
September 16th, 2006, 03:56 PM #5
- Join Date
- January 18th, 2005
- jacked by sylon www.sylonddos.weebly.com
September 16th, 2006, 06:31 PM #6
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:
I googled and found this pretty quick:
But the absolute best way is to roll up your sleeves.
September 16th, 2006, 07:29 PM #7
September 16th, 2006, 09:26 PM #8Originally Posted by BurgerBoy
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:
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).
By teezone in forum Programming / Datafeeds / ToolsReplies: 8Last Post: September 4th, 2009, 03:54 PM
By gearupandplay in forum PopShopsReplies: 7Last Post: May 22nd, 2008, 07:45 PM
By Derrick Kinsey in forum Programming / Datafeeds / ToolsReplies: 4Last Post: March 22nd, 2007, 06:23 PM
By mopek in forum Programming / Datafeeds / ToolsReplies: 4Last Post: August 23rd, 2006, 03:51 PM
By Doug247 in forum Programming / Datafeeds / ToolsReplies: 1Last Post: March 31st, 2004, 09:20 AM