Contents 1 Structure 2 Implementation 2.1 Slug 3 See also 4 References 5 External links


Structure[edit] A non-semantic URL is typically composed of a path, script name, and query string. The query string parameters dictate the content to show on the page, and frequently include information opaque or irrelevant to users—such as internal numeric identifiers for values in a database, illegibly-encoded data, session IDs, implementation details, and so on. Semantic URLs, by contrast, contain only the path of a resource, in a hierarchy that reflects some logical structure that users can easily interpret and manipulate. Non-semantic URL Semantic URL http://example.com/index.php?page=name http://example.com/name http://example.com/about.html http://example.com/about http://example.com/index.php?page=consulting/marketing http://example.com/consulting/marketing http://example.com/products?category=12&pid=25 http://example.com/products/12/25 http://example.com/cgi-bin/feed.cgi?feed=news&frm=rss http://example.com/news.rss http://example.com/services/index.jsp?category=legal&id=patents http://example.com/services/legal/patents http://example.com/kb/index.php?cat=8&id=41 http://example.com/kb/8/41 http://example.com/index.php?mod=profiles&id=193 http://example.com/profiles/193 http://en.wikipedia.org/w/index.php?title=Semantic_URL http://en.wikipedia.org/wiki/Semantic_URL


Implementation[edit] The implementation of semantic URLs involves URL mapping via pattern matching or transparent rewriting techniques. As this usually takes place on the server side, the semantic URL is often the only form seen by the user. For search engine optimization purposes, web developers often take this opportunity to include relevant keywords in the URL and remove irrelevant words. Common words that are removed include articles and conjunctions, while descriptive keywords are added to increase user-friendliness and improve search engine rankings.[1] A fragment identifier can be included at the end of a semantic URL for references within a page, and need not be user-readable.[3] Slug[edit] Some systems define a slug as the part of a URL that identifies a page in human-readable keywords.[4][5] It is usually the end part of the URL, which can be interpreted as the name of the resource, similar to the basename in a filename or the title of a page. The name is based on the use of the word slug in the news media to indicate a short name given to an article for internal use. Slugs are typically generated automatically from a page title but can also be entered or altered manually, so that while the page title remains designed for display and human readability, its slug may be optimized for brevity or for consumption by search engines. Long page titles may also be truncated to keep the final URL to a reasonable length. Slugs are generally entirely lowercase, with accented characters replaced by letters from the English alphabet and whitespace characters replaced by a dash or an underscore to avoid being encoded. Punctuation marks are generally removed, and some also remove short, common words such as conjunctions. For example: Original title: This, That and the Other! An Outré Collection Generated slug: this-that-other-outre-collection


See also[edit] Information architecture Permalink Persistent uniform resource locator (PURL) URL normalization URL redirection URL shortening HTTP referer § Referer hiding


References[edit] ^ a b Opitz, Pascal (28 February 2006). "Clean URLs for better search engine ranking". Content with Style. Retrieved 9 September 2010.  ^ Berners-Lee, Tim (1998). "Cool URIs don't change". Style Guide for online hypertext. W3C. Retrieved 6 March 2011.  ^ "Uniform Resource Identifier (URI): Generic Syntax". RFC 3986. Internet Engineering Task Force. Retrieved 2 May 2014.  ^ Slug in the WordPress glossary ^ Slug in the Django glossary


External links[edit] URL as UI, by Jakob Nielsen The User Interface of URLs Cool URIS don't change, by Tim Berners-Lee Retrieved from "https://en.wikipedia.org/w/index.php?title=Semantic_URL&oldid=814416250" Categories: Search engine optimizationUniform Resource LocatorHidden categories: Pages using RFC magic linksArticles needing additional references from September 2010All articles needing additional references


Navigation menu Personal tools Not logged inTalkContributionsCreate accountLog in Namespaces ArticleTalk Variants Views ReadEditView history More Search Navigation Main pageContentsFeatured contentCurrent eventsRandom articleDonate to WikipediaWikipedia store Interaction HelpAbout WikipediaCommunity portalRecent changesContact page Tools What links hereRelated changesUpload fileSpecial pagesPermanent linkPage informationWikidata itemCite this page Print/export Create a bookDownload as PDFPrintable version Languages ČeštinaDeutschEspañolفارسی한국어PortuguêsРусскийУкраїнська Edit links This page was last edited on 8 December 2017, at 18:15. Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization. Privacy policy About Wikipedia Disclaimers Contact Wikipedia Developers Cookie statement Mobile view (window.RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgPageParseReport":{"limitreport":{"cputime":"0.108","walltime":"0.158","ppvisitednodes":{"value":823,"limit":1000000},"ppgeneratednodes":{"value":0,"limit":1500000},"postexpandincludesize":{"value":10288,"limit":2097152},"templateargumentsize":{"value":769,"limit":2097152},"expansiondepth":{"value":7,"limit":40},"expensivefunctioncount":{"value":1,"limit":500},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 136.443 1 -total"," 44.78% 61.105 1 Template:Reflist"," 36.06% 49.206 3 Template:Cite_web"," 34.29% 46.790 1 Template:Refimprove"," 22.71% 30.985 1 Template:Ambox"," 9.09% 12.409 17 Template:Code"," 5.83% 7.953 1 Template:Sectionlink"," 1.67% 2.279 3 Template:Samp"," 1.01% 1.379 1 Template:Main_other"]},"scribunto":{"limitreport-timeusage":{"value":"0.048","limit":"10.000"},"limitreport-memusage":{"value":2269272,"limit":52428800}},"cachereport":{"origin":"mw1287","timestamp":"20171208181437","ttl":1900800,"transientcontent":false}}});});(window.RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgBackendResponseTime":66,"wgHostname":"mw1257"});});


Semantic_URL - Photos and All Basic Informations

Semantic_URL More Links

Wikipedia:VerifiabilityHelp:Introduction To Referencing With Wiki Markup/1Help:Maintenance Template RemovalUniform Resource LocatorsUsabilityAccessibilityWebsiteWeb ServiceUser (computing)Coupling (computer Science)User InterfaceSearch Engine OptimizationRepresentational State TransferWeb ResourceWorld Wide WebBookmark (World Wide Web)Server-side ScriptingLink RotSearch EngineUser-agentComputer SecurityPath SegmentQuery StringIdentifierDatabasePercent EncodingSession IDURL MappingRewritingArticle (grammar)Conjunction (grammar)Fragment IdentifierHuman-readable MediumFilenameSlug (publishing)Whitespace CharacterDashUnderscorePercent-encodingConjunction (grammar)Information ArchitecturePermalinkPersistent Uniform Resource LocatorURL NormalizationURL RedirectionURL ShorteningHTTP RefererJakob Nielsen (usability Consultant)Tim Berners-LeeHelp:CategoryCategory:Search Engine OptimizationCategory:Uniform Resource LocatorCategory:Pages Using RFC Magic LinksCategory:Articles Needing Additional References From September 2010Category:All Articles Needing Additional ReferencesDiscussion About Edits From This IP Address [n]A List Of Edits Made From This IP Address [y]View The Content Page [c]Discussion About The Content Page [t]Edit This Page [e]Visit The Main Page [z]Guides To Browsing WikipediaFeatured Content – The Best Of WikipediaFind Background Information On Current EventsLoad A Random Article [x]Guidance On How To Use And Edit WikipediaFind Out About WikipediaAbout The Project, What You Can Do, Where To Find ThingsA List Of Recent Changes In The Wiki [r]List Of All English Wikipedia Pages Containing Links To This Page [j]Recent Changes In Pages Linked From This Page [k]Upload Files [u]A List Of All Special Pages [q]Wikipedia:AboutWikipedia:General Disclaimer



view link view link view link view link view link