Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9134339
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T08:38:32+00:00 2026-06-17T08:38:32+00:00

I am using a basic hosting plan on Host Gator. I installed MediaWiki and

  • 0

I am using a basic hosting plan on Host Gator. I installed MediaWiki and I am getting URLs with index.php?title= in it, i.e. www.domain.com/index.php?title=Main_Page

I want to remove the index.php?title= part and just have the title of the page appear. I am following the instructions from http://www.mediawiki.org/wiki/Manual:Short_URL/Page_title_–_Windows_%26_Apache_without_403_on_Special_Pages, not sure if this is the right instructions I should be using.

Step 1 of the instructions indicate that “If you have vHosts configured, insert the following Rewrite directives into the appropriate <VirtualHost> directive. Otherwise, insert it in the <directory> directive for your wiki’s root directory:” and to insert:

RewriteEngine On    
RewriteRule ^/(.*):(.*) /index.php/$1:$2

Where is the <directory> directive located? What file should I be inserting the code into?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T08:38:33+00:00Added an answer on June 17, 2026 at 8:38 am

    The <directory> block is a httpd.conf Apache configuration file directive.

    On a shared hosting enviroment, you don’t generally have directly access to his file. You still have access to an .htaccess file, which allows most configuration directives to be used.

    Create a .htaccess at your web root (the same directory you have index.php and LocalSettings.php) and write the RewriteEngine / RewriteRules directives in this file.

    If this fails, follow instead this guide, more adapted to your situation:
    http://www.mediawiki.org/wiki/Manual:Short_URL/Apache

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I will be hosting a basic HTTP WCF service using Window Service / Service
I am building a website which I host on Webfaction's most basic plan right
Using Basic Authentication, and the asp.net Web-Api, where JSON Get/Post's to my API, I
Hi I am using basic authentication method for protecting some pages in my Webapp.
I am using basic code to highlight the text within a text field when
I have a self-hosted WCF app using Basic HTTP Binding, no SSL, running in
I'm in a development environment and we're using basic .htaccess/.htpasswd authentication to keep lurkers
I have a data mart mastered from our OLTP Oracle database using basic Materialized
I'm trying to use FireWatir (1.6.5) to access a site using Basic Authentication and
We typically only reference Microsoft.Practices.Unity.dll in our applications. We're only using basic capabilities, and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.