seo-settings-use-url-rewritingAs we continue to review the SEO settings in Joomla 3.0, the next option we get to is Use URL rewriting. In our testing, we noticed that when the Use URL rewriting option was enabled, index.php was removed from our URLs. In this tutorial we'll show you how to use this Use URL rewriting tool in Joomla 3.0.

 

To enable Use URL rewriting in Joomla 3.0:

  1. Log into your Joomla 3.0 dashboard
  2. In the left menu, click on the Global Configuration link under the SYSTEM heading
  3. There are several tabs at the top of the page. If you are not on the Site tab, click Site.
  4. On the right side of the page, find the Use URL rewriting option (see the screenshot at the top of the article). Adjust the setting to Yes / No, and then click Save in the top left menu.

    Please be sure to take note of the following:

    Select to use a server's rewrite engine to catch URLs that meet specific conditions and rewrite them as directed. Available for IIS 7 and Apache.
    Apache users only! - Rename htaccess.txt to .htaccess before activating.
    IIS 7 users only! - Rename web.config.txt to web.config and install IIS URL Rewrite Module before activating.

    This setting only takes effect if your set Search Engine Friendly URLs to Yes.

    You can see in the table below how Use URL rewriting affected one of our URLs:

    Use URL rewriting - YES
    http://domain.com/2-uncategorised/1-this-is-my-first-test-article
    Use URL rewriting - NO
    http://domain.com/index.php/2-uncategorised/1-this-is-my-first-test-article

     

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Like this Article?

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Joomla Community Google+ Hangout #3

June 3rd, 2014

Thank you @RustyJoomla for letting me speak on the Joomla Community Google+ Hangout!

Click here to watch!

n/a Points
2014-06-27 6:55 am

Hi

Thanks, it removed index.php

but there is a problem that i couldn't resolve:

after that, because in all urls were use index.php then it shows 404 error

 for example domain.com/contact couldn't be found  (because its real address in domain.com/index.php?contact)

Staff
16,652 Points
2014-06-27 9:19 am
Helli Nima,

To be sure, go ahead and clear your cache and test again. If it is still persistent, make sure you renamed the .htaccess file properly as advised in step 4. It is most often caused by this.

Kindest Regards,
Scott M
n/a Points
2014-07-01 7:03 pm

I have same problem:

running from home on ubuntu server 13.10, joomla 3.3.1, with PHP 5.5.3-1ubuntu2.3

I have done  the htaccess stuff, 000-sites-enabled and i think it could be an issue with apache and modrewrite itself.

Is there a noobsafe way/doc to figure it out for basic, simple rewrite (removing /index.php?) as i can not get my head around the apache docs :(

Staff
15,950 Points
2014-07-01 7:28 pm
Hello David,

I've been looking around and the best reference I could find on properly setting mod_rewrite can be found here. Take a look at the comments there as well the provided solutions and see if it doesn't provide you the information to properly set MOD_REWRITE.

Regards,
Arnel C.

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

4 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!