Advertisement
Guest User

voraistos

a guest
Apr 16th, 2009
910
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.76 KB | None | 0 0
  1. Proposal for making tiki search engine friendly once and for all, in a way that always works.
  2.  
  3. -Certain pages such as tiki-editpage.php shouldn't be search engine friendly, and have ugly URLs
  4. -Certain pages MUST be search engine friendly: wiki pages, FAQs, Forums, etc.
  5. -By search engine friendly I mean that the page title should be in the URL, and the URL shouldn't contain stuff like + = ? &, etc.
  6.  
  7. ==SECURITY and Usability:
  8.  
  9. - A single URL should certainly not point to 2 different pages. this includes pages which are in a different language
  10. - The rewritten URL should not be in the tiki root, or be anywhere near the tiki files. See Apache mod Alias.
  11. - Wiki pages and such should not contain special characters in their name. UTF-8 should be fine, but "/" and such should not be allowed
  12.  
  13.  
  14.  
  15. This means that on a big tiki install, everything must absolutely be in different directory, and use subdirectories for the rewritten URLs
  16.  
  17. example:
  18.  
  19. example.org/fr/wiki/Home Page
  20. example.org/en/faq/My Question // << NOT FAQ1, FAQ2, etc...
  21. example.org/de/forum/Braunder Yacob // << NOT FORUM1
  22.  
  23. All of this with the tiki files installed in example.org/tiki/***.php
  24.  
  25. non-SEFURLed pages are accessible through a long boring URL like example.org/tiki/tiki-index.php?language=fr&page=Home+Page
  26.  
  27.  
  28.  
  29. == Some people want really, really short URLs
  30.  
  31. For the same security and usablity reasons, tiki files should not be in contact with SEFURL folders and names. Also folders should not exist.
  32.  
  33. -Not using folders or subdomains for different languages is stupid, even without search engine friendly URLs
  34. -As such, it should be possible to have very short URLs with the tiki files accessible only in tiki.example.org, and sefurl on www.example.org. I'm not sure how apache would handle that though, Also the cookies need to work properly accross subdomains.
  35.  
  36. One possible solution to have SEFURL and multiple features on tiki without the issue of directories in pagenames AND have wikipage names on the root would be to use ":" instead of "/"
  37.  
  38. example.org/SOME Wiki Page <<Wiki pages can not possibly contain ":"
  39. example.org/Forum:Forum Name << Forum: means tiki-list_forums.php or whatever the file's called ;)
  40. example.org/FAQ:Stupid Question << the same but for FAQs
  41. tiki.example.org/tiki-editpage.php?page=SOME+Wiki+Page << Editing a wiki page
  42.  
  43. example.org/tiki/tiki-editpage.php?page=SOME+Wiki+Page <<This might actually be safe and possible IF the "/" (or "\" on windows?) character is banned from all wiki, forum, FAQ, etc, page names.
  44.  
  45.  
  46. ==Usability and Configuration
  47.  
  48. There should be default configs with default apache config files, However the admin should be able to easily control how tiki renames the URLs in menus, pages, etc, through a config interface in the admin pannel.
  49.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement