homepage Welcome to WebmasterWorld Guest from 23.23.12.202
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
Forum Library, Charter, Moderators: phranque

Website Technology Issues Forum

    
Best URL format for product page
For SEO and user friendly
philbish

10+ Year Member



 
Msg#: 3548 posted 7:27 am on Aug 4, 2004 (gmt 0)

I am trying to fix up my URL formats to help my search engine rankings.

Here is what I am thinking about:

[widget.com...]

Is there a better method?

 

Voyteck

10+ Year Member



 
Msg#: 3548 posted 3:32 pm on Aug 4, 2004 (gmt 0)

[widget.com...]

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

philbish

10+ Year Member



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

DaveAtIFG

WebmasterWorld Senior Member 10+ Year Member



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

philbish

10+ Year Member



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

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?

directoryczar

10+ Year Member



 
Msg#: 3548 posted 6:07 pm on Aug 5, 2004 (gmt 0)

GoogleGuy has indicated fairly recently that dashes are preferable to underscores.

DaveAtIFG

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3548 posted 7:00 pm on Aug 5, 2004 (gmt 0)

This would generate a 404 error
That 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.

philbish

10+ Year Member



 
Msg#: 3548 posted 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");

DaveAtIFG

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3548 posted 4:23 am on Aug 6, 2004 (gmt 0)

a way for me to test this

This [webmasterworld.com] should do it.

philbish

10+ Year Member



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

philbish

10+ Year Member



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

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
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