Manual:Short URL overview


 * Note: The original Manual:Short URL has become so complex I cannot clean it up. So I have starting the below Short URL overview with no how tos on this page but instead separate pages for Short URL solutions, linked below as subpages of Manual:Short URL. Eventually this Manual:Short URL overview may be moved to Manual:Short URL. Welcome to help! :-) --Rogerhc 06:42, 3 September 2007 (UTC)

Overview of how to configure short URLs in MediaWiki

According to Tim Berners-Lee, good URLs should never change. Short URLs that hide PHP mechanics from the browser location bar for normal pages are good user interface.

MediaWiki does not have Short URLs by default because short URLs work with Web server configurations that vary depending on the specific Web server and hosting account being used.

As of 1.11.0, MediaWiki's default URLs is similar too:

Using the methods below, short URLs can be created such as:

and other similarly readable, writable and sensible URLs. How to do this gets complicated fast. So how tos will be on separate pages linked to below.

Short URL how tos
Welcome to create how to solution pages and link to them below. Please use a sensible name for the page, one that fits in with below names, eg Manual:Short URL/wiki/Page title -- name your solution here. When each unique solution has its own page, readers can skip complexity they do not want. Readable wiki pages are maintainable wiki pages.

Keep it simple, readable, maintainable, with a separate page per separate solution.

Example.com/Page_title
How to do example.com/Page_title style URLs
 * Manual:Short URL/Page title -- EASY
 * Manual:Short URL/Page title -- PHP as a CGI module, no root access [[Image:Face-sad.svg|20px]]
 * Manual:Short URL/Page title -- solution xxx
 * Manual:Short URL/Page title -- solution yyy
 * Manual:Short URL/Page title -- solution zzz

Example.com/wiki/Page_title
How to do example.com/wiki/Page_title style URLs
 * Manual:Short URL/wiki/Page title--root access -- EASY
 * Manual:Short URL/wiki/Page title -- PHP as a CGI module, no root access [[Image:Csmile alt.svg|20px]]
 * Manual:Short URL/wiki/Page title -- solution yyy
 * Manual:Short URL/wiki/Page title -- solution zzz

Wiki.example.com/Page_title
How to do wiki.example.com/Page_title style URLs
 * Manual:Short URL/wiki.example.com/Page_title -- EASY ?