test
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • Chantelle Goldstraw Friend
    #137858

    Hi all, I have had an error when setting the SEO settings to yes in the Joomla back end.

    The .htaccess file adn teh SEO friendly extensions and URLS.

    It just throws a 404 error…. Why is this, works fine when I dissable the SEO URLS.

    jsliao Friend
    #289953

    are you on linux or windows server?

    also, have you tried waiting a while before disabling SEO URLs? some servers takes a few hours to update for the SEO urls to work correctly

    Chantelle Goldstraw Friend
    #289954

    DO you mean wait a while after activating teh SEO back end or activating the .htaccess file?

    Chantelle Goldstraw Friend
    #289955

    Oh and teh error message is
    Error 500 – Internal server error

    An internal server error has occured!
    Please try again later.

    jsliao Friend
    #289957
    jsliao Friend
    #289958

    <em>@telbino 110367 wrote:</em><blockquote>DO you mean wait a while after activating teh SEO back end or activating the .htaccess file?</blockquote>

    most likely activating htaccess. some servers takes up to 1 hour to update the directory access rights.

    Chantelle Goldstraw Friend
    #289975

    I have waited more than an hour and I still have the same problem.

    Chantelle Goldstraw Friend
    #289977

    It actually seems to be a problem on all the sites I host at 1and1.co.uk. I have checked the sytems info and the server is running Apache, Linux and PHP 4…..

    scotty Friend
    #289987

    Do you have the Apache rewrite enabled?

    Have you more than one .htaccess file?

    Can you post the text of your .htaccess here?

    Chantelle Goldstraw Friend
    #289995

    Not sure, how can I tell if apache rewrite is enabled?

    here is the .htaccess text.

    ##
    # @version $Id: htaccess.txt 10492 2008-07-02 06:38:28Z ircmaxell $
    # @package Joomla
    # @copyright Copyright (C) 2005 – 2008 Open Source Matters. All rights reserved.
    # @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
    # Joomla! is Free Software
    ##

    #####################################################
    # READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
    #
    # The line just below this section: ‘Options +FollowSymLinks’ may cause problems
    # with some server configurations. It is required for use of mod_rewrite, but may already
    # be set by your server administrator in a way that dissallows changing it in
    # your .htaccess file. If using it causes your server to error out, comment it out (add # to
    # beginning of line), reload your site in your browser and test your sef url’s. If they work,
    # it has been set by your server administrator and you do not need it set here.
    #
    #####################################################

    ## Can be commented out if causes errors, see notes above.
    Options +FollowSymLinks

    #
    # mod_rewrite in use

    RewriteEngine On

    ########## Begin – Rewrite rules to block out some common exploits
    ## If you experience problems on your site block out the operations listed below
    ## This attempts to block the most common type of exploit `attempts` to Joomla!
    #
    # Block out any script trying to set a mosConfig value through the URL
    RewriteCond %{QUERY_STRING} mosConfig_{1,21}(=|%3D)
    # Block out any script trying to base64_encode crap to send via URL
    RewriteCond %{QUERY_STRING} base64_encode.*(.*)
    # Block out any script that includes a <script> tag in URL
    RewriteCond %{QUERY_STRING} (<|%3C).*script.*(>|%3E) [NC,OR]
    # Block out any script trying to set a PHP GLOBALS variable via URL
    RewriteCond %{QUERY_STRING} GLOBALS(=|{0,2})
    # Block out any script trying to modify a _REQUEST variable via URL
    RewriteCond %{QUERY_STRING} _REQUEST(=|{0,2})
    # Send all blocked request to homepage with 403 Forbidden error!
    RewriteRule ^(.*)$ index.php [F,L]
    #
    ########## End – Rewrite rules to block out some common exploits

    # Uncomment following line if your webserver’s URL
    # is not directly related to physical file paths.
    # Update Your Joomla! Directory (just / for root)

    # RewriteBase /

    ########## 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 .* –
    #
    ########## End – Joomla! core SEF Section

    scotty Friend
    #289998

    .htaccess looks fine.

    Go to admin>Global Config> SEO Settings and set Use Apache mod_rewrite to yes.

    Chantelle Goldstraw Friend
    #290000

    Okay teh odd thing is I set the “Use Apache mod_rewrite” to no and the SEO urls almost works.

    Now I it only appends the main menu items, if if I browse to an article through the right menus it doesnt append the URLS… Any ideas on that one? I checked my servers and they say they I have apache activated mod-rewrite although I was unable to find it in the server info in the back end of Joomla admin.

    Chantelle Goldstraw Friend
    #290001

    I tried with it set to YES, I tried them all set to yes and every concievable configuration I could imagine.
    But can only get rid of the error message by leaving teh .htaccess set in the site root and leaving Apache mod_rewrite set to No….. But this doesnt work with otehr sites I have done. what have I done wrong or has gone wrong? Im’ flummoxed!

Viewing 13 posts - 1 through 13 (of 13 total)

This topic contains 13 replies, has 3 voices, and was last updated by  Chantelle Goldstraw 15 years, 10 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum