Results 1 to 5 of 5
Thread: URL: End with trailing slash?
Dec 12, 2007, 08:40 #1
URL: End with trailing slash?
When creating optimized and clean URLs, is there a "rule of thumb" for creating the URL strings? Do you end it with a trailing slash, a file extension, or however you re-wrote the URL?
Trailing Slash => http://www.domain.com/example/function/
No Trailing Slash => http://www.domain.com/example/function
File Extension => http://www.domain.com/example/function.html
Dec 12, 2007, 08:49 #2
- Join Date
- Jan 2005
- Bristol, UK
- 0 Post(s)
- 0 Thread(s)
Dec 12, 2007, 11:41 #3
The 3rd one is bad. People will link to your content using an extension. If you ever change technology types those extensions may change (.html -> .php) but the incoming links to your site aren't going to change. Leaving the extension off the URL resolves that problem.
Dec 13, 2007, 12:49 #4
Dec 13, 2007, 13:29 #5