Short URL causes base URL to redirect to wiki main page

Fragment of a discussion from Project:Support desk
Jump to: navigation, search

Assuming you followed this manual: Manual:Short URL/wiki/Page title -- no root access, yes a small change to .htaccess is needed. Or rather, undoing something you did that was in the manual:

Replace


RewriteEngine On
RewriteRule ^/?wiki(/.*)?$ /w/index.php [PT,L,QSA]
RewriteRule ^/*$ /w/index.php [L,QSA]

with:


RewriteEngine On
RewriteRule ^/?wiki(/.*)?$ /w/index.php [PT,L,QSA]

So, remove the last line that redirects the root directory to MediaWiki (RewriteRule ^/*$ /w/index.php [L,QSA]).

Krinkle16:58, 1 January 2012
Personal tools

Variants
Actions
Navigation
Support
Download
Development
Communication
Toolbox