Loading...
 
Skip to main content

Features / Usability


You are viewing a reply to TikiWiki ReWrite Rules (Problem Fixed)

Re: TikiWiki ReWrite Rules

Hi Everyone,

Well from the lack of response I'm guessing not too many other people are using the RewriteEngine to generate ShortURLs. Anyway I managed to figured out a way to get the numeric identifier rules working. I'll use the directory rule as an example. I changed:

RewriteRule
directory(0-9+) /tiki/tiki-directory_browse.php?parent= QSA,L


to

RewriteRule
directory(.*) /tiki/tiki-directory_browse.php?parent=$1 QSA,L


So instead of having an URL of:

http://www.alexsfreestuff.com/tiki/tiki-directory_browse.php?parent=1Question

I now have a ShortURL of:

http://www.alexsfreestuff.com/tiki/directory1Question

...which is a SEO-Friendly.

Hope this helps someone. 😎

-- Todd