Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users

Dashboard
Notifications
Mark all as read
Q&A

Preventing MediaWiki from serving webpages with index.php and its query string/s, not from webserver

+1
−0

By default, MediaWiki serves webpages with index.php and at least one query string but I want to prevent this so to have "short URLs" (my URLs are already quite long due to the site being in Hebrew and webpage names are long encoded in the URL).

I have found ways to prevent this behavior via Apache PCRE in .htaccess but I would prefer a PHP way if there is one.

How to prevent MediaWiki from serving webpages with index.php and its query string/s, but not from webserver (i.e. via PHP)?

Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

0 comments

0 answers

Sign up to answer this question »