Search Engine Optimization
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   SEO Chat ForumsSearch Engine StrategiesSearch Engine Optimization

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread SEO Chat Forums Sponsor:
  #1  
Old June 1st, 2004, 04:17 AM
robc robc is offline
Registered User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 3 robc User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Rewriting Urls for dynamic content

Hi, i'm in the process of re writing some of my dynamic content urls.
My question is. What is the best way to approach this.

currently i'm looking at something like this.

www.mysite.com/catname-typename

as a rewrite for www.mysite.com/cat=catname&type=typename

now. Would i be better off actually re-writing it to represent an actualy html page like so.

www.mysite.com/catname-typename.html

Or do you think that it would make no difference?

Reply With Quote
  #2  
Old June 2nd, 2004, 01:25 AM
Ado Ado is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Toronto
Posts: 81 Ado User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 41 m 8 sec
Reputation Power: 6
It would not make that much of a differene, the only thing i'm worried about there is how long are your cat names and your type names? you dont want that url to be way way to long.
__________________
AdoSoft INC
Development Powerhouse for the SEO world.

Reply With Quote
  #3  
Old June 2nd, 2004, 01:40 AM
nmalhot's Avatar
nmalhot nmalhot is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 203 nmalhot User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 56 m 54 sec
Reputation Power: 5
If you have a category with a '-' in it then your structure may not get parsed correctly.

I prefer using '/':

www.mysite.com/cat/catname/type/typename

And then if you had a different display page that would normally get called as www.mysite.com/display=catname&start=1&end=11 it would be converted to:

www.mysite.com/display/catname/start/1/end/11

Basically your 404 is going to have to parse out no matter how you do it and you just want to make sure the character you are using as the delimeter is going to always be valid. That is why I prefer the '/' over the '-'.

If you have a limited number of templates you use to display your dynamic content, then you could do a quick switch statement on the first parameter and then hardcode the parsing of the remaining params.

In other words, if you have a limited number of dynamic template pages then you may be better off with something like:

www.mysite.com/cat/catname/typename
www.mysite.com/display/catname/1/11

Which is nice cause the URLs are shorter but you are hard-coded expected paramaters so not quite as portable.

EDIT: Damn, I sure wish I owned the domain mysite.com ! ;)

Reply With Quote
  #4  
Old June 2nd, 2004, 01:45 AM
Ado Ado is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Toronto
Posts: 81 Ado User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 41 m 8 sec
Reputation Power: 6
Ohhh yeah and also be very carefull with how you end your url, if you end it with a "/" so something like www.domainname.com/somethin/something/

make sure you make your url support it without the "/" in the end becuase when Yahoo displays your cashed pages it always takes the "/" out and if you dont handle it then your in trouble

Reply With Quote
  #5  
Old June 2nd, 2004, 02:10 AM
happyallday happyallday is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 338 happyallday User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 53 m 54 sec
Reputation Power: 5
I like cat/catname/type/typename
and catname-typename.html
and I think both are fine

Reply With Quote
  #6  
Old June 3rd, 2004, 03:28 PM
robc robc is offline
Registered User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 3 robc User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks for the heads up. Now how would this affect pr for that particular page. Would it be treated as 1 page ie. default.aspx,
or would it actually believe that there are multiple pages. So each of my catnames would have thier own page rank?

Reply With Quote
Reply

Viewing: SEO Chat ForumsSearch Engine StrategiesSearch Engine Optimization > Rewriting Urls for dynamic content


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT