Forum Moderators: phranque
Here is what I am thinking about:
[widget.com...]
Is there a better method?
I would recommend going for:
[widget.com...]
[widget.com...]
[widget.com...]
You may need to use re-write rules for that if your system produces search engine non-friendly urls.
Regards
Voyteck
Exampe:
www.widget.com/red_widgets
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?
This would generate a 404 errorThat would tell spiders, "The server has not found anything matching the URI given," re: Status Codes [w3.org].
I doubt if that's what you want to do.
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");
I would imagine google things a path with no extension is a directory.
What's best?
www.widget.com/forum/post923423
www.widget.com/forum/post923423.html
www.widget.com/forum/post923423.php
And for my store:
www.widget.com/Red-Widgets
www.widget.com/Red-Widgets.html
www.widget.com/Red-Widgets.php