joomla/mambo + htaccess

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jobe
    Member
    • Oct 2004
    • 50

    #1

    joomla/mambo + htaccess

    I've installed Joomla several times recently - very easy & impressive all round, trying to decide whether to invest a lot of time in it. The only thing holding me back is when I put on the search engine friendly urls command in the admin panel & change htaccess.txt >> htaccess I get 404 on all the pages.

    I know very little about this but part of checking out if the server allows htaccess override is to delete the existing code in the file & put in the following:

    Redirect/google.html http://www.google.com

    And then inthe browser:


    This should then take you to google but I still get a 404.

    Any ideas on this would be appreciated. Thanks.
  • thewave
    Member
    • Feb 2005
    • 45

    #2
    Are you naming the file .htaccess or just htaccess ? It needs to be .htaccess in order to function.

    Hope this helps

    Comment

    • -Oz-
      Senior Member
      • Mar 2004
      • 545

      #3
      thewave has the right idea. The way i do it is to create:
      temp.htaccess
      upload that to the server, rename it .htaccess by removing the .temp then download it to my computer so that i have a .htaccess on my computer for use whenever i need it.
      Dan Blomberg

      Comment

      • jobe
        Member
        • Oct 2004
        • 50

        #4
        Thanks. Yes, I was missing the '.' but with it I'm now getting a 500 error on the google redirect.

        And when I put the code back in for joomla & upload it as .htaccess I get a 500 error on all pages including the admin section so that I can't get in at all.

        I have tried the above in both the joomla folder & on the public_html folder & both give me 500 errors on anything I wish to view in either.

        The permissions are 644, if that makes a difference?

        I'm on cpanel22 - anyone else?

        ***************************

        For some reason - half an hour later - the joomla sef urls are working as they should - with the change to .htaccess. Maybe the order I went though this time....Thanks for the help.
        Last edited by jobe; 10-07-2005, 12:57 AM.

        Comment

        • sdjl
          Senior Member
          • Mar 2004
          • 502

          #5
          The above looks a little off to me.
          A redirect needs to take the following form:

          Code:
          Redirect /google.html http://www.google.com
          Hope that helps

          David
          -----
          Do you fear the obsolescence of the metanarrative apparatus of legitimation?

          Comment

          • jobe
            Member
            • Oct 2004
            • 50

            #6
            Yes, that worked. Thanks.

            Comment

            • djn
              Senior Member
              • Mar 2004
              • 140

              #7
              Just a quickie: if Windows won't let you rename a file to .htaccess you can do it anyway from the Dos command line

              Comment

              Working...