Upload
inventis-web-architects
View
486
Download
5
Tags:
Embed Size (px)
DESCRIPTION
In deze presentatie worden enkele voorbeelden aangehaald van goede en slechte url structuren. Wanneer is je url structuur fout en wat moet je er juist aan veranderen? En waarom zou je dit allemaal doen... We halen het allemaal even aan in deze presentatie
Citation preview
URL SCHEMA’S Wie, wat, waar en waarom...
© Copyright Inventis http://www.flickr.com/photos/inventis/4400321819/
TOMClaus
@WEBRAIDERon Twitter
© Copyright Stabilo-boss http://www.flickr.com/photos/stabilo-boss
WEB DEVELOPERI make websites !!!
No computers, cellphones or other grandma related stuff.
© Copyright Inventis http://www.flickr.com/photos/inventis/3028602337/
THEORY
“A URI scheme is the top level of the Uniform Resource Identifier (URI) naming structure. All URIs and absolute URI references are formed with a scheme name, followed by a colon character (":")....”
© Source Wikipedia http://en.wikipedia.org/wiki/URI_scheme/
BLAH BLAH BLAH!...Wikipedia is your friend for nerdy info.
EXAMPLES
•http://www.domain.com/product/16%20/928/de/23
•http://www.domain.com/index.php?page=3737
•http://www.domain.com/products/1/product/12/
•http://www.domain.com/p.php?filter=37348&a=D
•http://www.domain.com/product/16%20/928/de/23
•http://www.domain.com/index.php?page=3737
•http://www.domain.com/products/1/product/12/
•http://www.domain.com/p.php?filter=37348&a=D
•http://www.domain.com/products/page/12/
•http://www.domain.com/products/filter/name
•http://www.domain.com/products/order/desc/
•http://www.domain.com/products/page/12/
•http://www.domain.com/products/filter/name
•http://www.domain.com/products/order/desc/
THE GOOD ONE....
http://www.domain.com/products/laptopname/
http://www.domain.com/products/laptopname/
Stripped product title or Quicklink
•No spaces: lorem%20ipsum → lorem-ipsum
•No special chars: éàöçî:+%$”&
Now I change the product title...
© Copyright Wallaper-s http://wallpaper-s.org/15__Oh-My-God,_Orangutan.htm
© Copyright Wallaper-s http://wallpaper-s.org/15__Oh-My-God,_Orangutan.htm
404Page not found!
http://www.domain.com/products/laptopname/123/
Product ID
http://www.domain.com/products/newlaptopname/123/
http://www.domain.com/products/laptopname/123/
Redirect to new quicklink, based on your product ID
• http://www.domain.com/products/laptop/photos/
• http://www.domain.com/products/laptop/123/photos/
•http://www.domain.com/category/laptops/
•http://www.domain.com/page/disclaimer/
•http://www.domain.com/products?filter=name
•http://www.domain.com/products?order=desc
•http://www.domain.com/products?page=13
SHORTER = BETTER
•http://www.domain.com/laptop-product/123
•http://www.domain.com/category-name/
•http://www.domain.com/disclaimer/
EXAMPLES [AGAIN]
WHY?!
•SEO
•READABLE LINKS
•SHORT LINKS FOR COPY/PAST
•SEO
•READABLE LINKS
•SHORT LINKS FOR COPY/PAST
•WHY NOT?!
JUST A REMINDERThis is my personal view of good urls.
I’m not creating a world standard.
SHOOT !!!Questions?
© Copyright Inventis http://www.flickr.com/photos/inventis/4400321819/