Wiki beautiful url's problem


I rewrote the .hcaccess file, and made my wiki can be visited with the url: “” or else.

However, today I found a major search engin sogou, it shows my wiki’s url like this: “

because of the “/”,
that url(“”) is inaccessable.

What can I do, Thanks


You need to modify the regexp to check for the presence of a trailing slash.


RewriteRule ^google/?

:cool: Perl / MySQL / HTML CSS


Here is the .htaccess

test if rewrite should stop for

special directories

RewriteRule ^(images|skins)/ - [L]

all php scripts.

RewriteRule .php$ - [L]

uncomment this rule if you want Apache to redirect from to

RewriteRuin_Page [R]

#RewriteRule ^$ /wiki [R,L]

do the rewrite

#RewriteRule ^wiki/?(.)$ /index.php?title=$1 [L,QSA]
RewriteRule ^/?(.
)$ /index.php?title=$1 [L,QSA]

I want to redirect /google/ to /google
how can i do this?