www.webdeveloper.com
Results 1 to 2 of 2

Thread: need home.html to go to index.php

  1. #1
    Join Date
    Apr 2008
    Location
    Lulworth, England
    Posts
    27

    need home.html to go to index.php

    I have a Joomla site with SEF URLs enabled and when I logon or off it tries to go to home.html. I have this line in my .htaccess:

    ########## Begin - Joomla! core SEF Section
    #
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} !^/index.php
    RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC]
    RewriteRule (.*) index.php
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
    #
    ########## End - Joomla! core SEF Section

    I would have thought that would have worked. Can anyone advise?
    Thanks for your time.

  2. #2
    Join Date
    Jun 2009
    Posts
    127
    Add the below line on the top of your .htaccess file and have a try:

    RewriteEngine on
    RewriteBase /

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles