Another joomla question, re: 404 error

Discussion in 'Joomla' started by dpakman91, Apr 18, 2006.

  1. #1
    When i turn ON search engine friendly URLs in the global config, and then click on any menu item on my site, i get a 404 error:
    -----------
    Not Found
    The requested URL /content/section/1/2/ was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    -----------

    Also, htaaccess was already called .htaaccess, that is, i never had to change it from htaaccess.txt. Any help with this would be great.
     
    dpakman91, Apr 18, 2006 IP
  2. icare

    icare Peon

    Messages:
    714
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Do you mind giving more details about the host? I had similar problem... R u on godaddy?
     
    icare, Apr 18, 2006 IP
  3. icare

    icare Peon

    Messages:
    714
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #3
    icare, Apr 18, 2006 IP
  4. TwistMyArm

    TwistMyArm Peon

    Messages:
    931
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Are you sure that the current .htaccess file is right, though? I mean, is it possible that it already existed, or was put there some other way?

    What's the difference between the .htaccess file that's there now and the htaccess.txt file? If there's any difference whatsoever, I would have thought that it would be a good idea to at least try and rename the file...

    Also, the assumption is that you are using Apache, otherwise it won't work regardless.
     
    TwistMyArm, Apr 18, 2006 IP
    sarahk likes this.
  5. MattUK

    MattUK Notable Member

    Messages:
    6,950
    Likes Received:
    377
    Best Answers:
    0
    Trophy Points:
    275
    #5
    Usually when that happens it's either becase the htaccess.txt file hasn't been renames .htaccess or it's because you're using a module/component that doesn't support SEF URLs
     
    MattUK, Apr 19, 2006 IP
  6. mnymkr

    mnymkr Well-Known Member

    Messages:
    2,328
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    120
    #6
    I have been using Joomla for some time. I really like it. Luckily my host fully supports all option on Joomla and will help you if you need be.
     
    mnymkr, Apr 20, 2006 IP
  7. MattUK

    MattUK Notable Member

    Messages:
    6,950
    Likes Received:
    377
    Best Answers:
    0
    Trophy Points:
    275
    #7
    There;s no reason to changes host, it's just a small change in the admin panel!
     
    MattUK, Apr 21, 2006 IP
  8. Intlws

    Intlws Peon

    Messages:
    36
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #8
    First make sure that you are on an Apache web server and that it supports mod-rewrite. If your .htaccess file was there before you installed Joomla then it is the wrong one and will not work. You will need to rename your htaccess.txt file to .htaccess and that will over write your old one. Then it should work correctly.
     
    Intlws, Apr 21, 2006 IP
  9. mnymkr

    mnymkr Well-Known Member

    Messages:
    2,328
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    120
    #9
    what exaclty is a htaccess file and what does changing it do
     
    mnymkr, Apr 22, 2006 IP
  10. TwistMyArm

    TwistMyArm Peon

    Messages:
    931
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #10
    .htaccess is an Apache configuration file. It can be used for all sorts of things but for Joomla SEF, it basically contains one or two rewrite commands. The idea is that you type in a particular web address, but that file doesn't actually exist. Apache sees a rewrite line in .htaccess so that it transparently pushes your request to a Joomla file... where you have maybe a few directories in your request, they might get translated to a particular set of GET variables that are appended to your index.php file, for example...

    http://httpd.apache.org/docs/1.3/howto/htaccess.html is probably the best place to start. Alternatively, grab the Joomla htaccess.txt file and open it up. You should be able to see pretty quickly what it's all about in this regard, at least...
     
    TwistMyArm, Apr 22, 2006 IP