| 3:32 pm on Aug 4, 2004 (gmt 0)|
I would recommend going for:
You may need to use re-write rules for that if your system produces search engine non-friendly urls.
| 6:48 am on Aug 5, 2004 (gmt 0)|
Any idea how I'd need to re-write those rules?
Right now I am using "products" as a php script with no extension and it just looks at the path and parses it.
| 7:07 am on Aug 5, 2004 (gmt 0)|
This article [sitepoint.com] or this one [evolt.org] should get you started in the right direction.
| 7:23 am on Aug 5, 2004 (gmt 0)|
Thanks for those links. I was thinking of using a 404 error page that would look in the path, and do a search on my site for products with a matching name. It would then pull up the product that has the matching name.
This would generate a 404 error which I could have go to a script that looks at the path. It would then pull up the product info page for red_widgets. Would there be any issues with speed if I used this method?
| 6:07 pm on Aug 5, 2004 (gmt 0)|
GoogleGuy has indicated fairly recently that dashes are preferable to underscores.
| 7:00 pm on Aug 5, 2004 (gmt 0)|
That would tell spiders, "The server has not found anything matching the URI given," re: Status Codes [w3.org].
|This would generate a 404 error |
I doubt if that's what you want to do.
| 3:09 am on Aug 6, 2004 (gmt 0)|
Ok well I have it set up to redirect to a certain product page. It doesn't show the traditional 404 error page. To the user it looks like a normal page that they are expecting.
So, you're saying there is a way for the spider to get the status code? Is there a way for me to test this on my site to make sure I am getting the correct status code?
I have this at the top of my script:
header("HTTP/1.1 200 OK");
| 4:23 am on Aug 6, 2004 (gmt 0)|
|a way for me to test this |
This [webmasterworld.com] should do it.
| 4:35 am on Aug 6, 2004 (gmt 0)|
Sweet! Thank you.
Looks like the headers are returning 200 for me. And I am now using dashes.
| 3:04 am on Aug 7, 2004 (gmt 0)|
Is it best to use an extension on my URLs?
I would imagine google things a path with no extension is a directory.
And for my store: