mod_rewrite and htaccess

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bjacobs
    Junior Member
    • Mar 2004
    • 28

    mod_rewrite and htaccess

    I am trying to get my site to where SEFs work and Joomla says mod_rewrite has to be on.

    If this is not on, what can I do to work around this problem?

    Sorry if this is cryptic.
  • AndrewT
    Administrator
    • Mar 2004
    • 3653

    #2
    mod_rewrite is available on all servers.

    Comment

    • bjacobs
      Junior Member
      • Mar 2004
      • 28

      #3
      Thanks Andrew for the information.

      Comment

      • ThePhantom
        Junior Member
        • Sep 2004
        • 11

        #4
        Joomla and Mod_ReWrite for SEO

        Folks

        I've been having the same problem. Anyway, somewhere on the Internet I found something that said to check if mod_rewrite was working on your server, upload the following .htaccess and see what happens. If it goes to Google it's OK otherwise it's not.

        Options +FollowSymLinks
        Redirect /google.html http://www.google.com

        Anyway, I don't go to Google. I just get a file doesn't exist error.

        That said, in this thread, Andrew mentions mod_rewrite is enabled on all the servers so I'm at a loss to explain where I'm going wrong. I'm on server 13. Does anyone know if it's enabled still?

        Thanks

        Michelle

        Comment

        • AndrewT
          Administrator
          • Mar 2004
          • 3653

          #5
          mod_rewrite is available on all servers. If you would like us to look into this, please submit a trouble ticket and let us know which domain you are trying this on.

          Comment

          • Buddha
            Senior Member
            • Mar 2004
            • 825

            #6
            Originally posted by ThePhantom
            Redirect /google.html http://www.google.com
            Redirect directive is part of mod_alias not mod_rewrite.
            "Whatcha mean I shouldn't be rude to my clients?! If you want polite then there will be a substantial fee increase." - Buddha

            Comment

            • ThePhantom
              Junior Member
              • Sep 2004
              • 11

              #7
              Buddha

              Ahhh... this makes sense logically therefore the test I did wasn't appropriate. Andrew's saying mod_rewrite is available therefore something else must be causing the problem. I shall investigate further!

              Thanks guys.

              Michelle

              Comment

              • Dr. Jones
                Junior Member
                • Apr 2007
                • 11

                #8
                Originally posted by ThePhantom
                Folks

                I've been having the same problem. Anyway, somewhere on the Internet I found something that said to check if mod_rewrite was working on your server, upload the following .htaccess and see what happens. If it goes to Google it's OK otherwise it's not.

                Options +FollowSymLinks
                Redirect /google.html http://www.google.com

                Anyway, I don't go to Google. I just get a file doesn't exist error.

                That said, in this thread, Andrew mentions mod_rewrite is enabled on all the servers so I'm at a loss to explain where I'm going wrong. I'm on server 13. Does anyone know if it's enabled still?

                Thanks

                Michelle
                If you wanted to use mod_rewrite, the proper .htaccess would look something like this:

                Code:
                Options +FollowSymlinks
                RewriteEngine on
                RewriteRule google.html$ http://www.google.com
                hope that helps

                Comment

                Working...