6 replies
  • SEO
  • |
Hi Guys,

Can someone explain to me what is a .htacess file? and what it does in lay person term? I have go to google it and it too technical for me as a newbie in SEO:confused:
#file #htacess
  • Profile picture of the author seoindiaforu
    It is the file that allows for decentralized management of web server configuration. The .htaccess file is placed inside the web tree, and is able to override a subset of the server's global configuration; the extent of this subset is defined by the web server administrator.
    I seo it is used for url redirects.
    {{ DiscussionBoard.errors[2758731].message }}
    • Profile picture of the author firescorpz
      Originally Posted by seoindiaforu View Post

      It is the file that allows for decentralized management of web server configuration. The .htaccess file is placed inside the web tree, and is able to override a subset of the server's global configuration; the extent of this subset is defined by the web server administrator.
      I seo it is used for url redirects.
      Hi thanks for your reply.

      By URL redirects, do you mean when someone go to www.abcdefg.com he will not be show a actual of that page but go to anther site for example www.hijklmn.com?
      {{ DiscussionBoard.errors[2758737].message }}
  • Profile picture of the author unknowncat
    @seoindiaforu - looks like you cut and pasted that off wikipedia...

    in lay persons terms, htaccess is used for configurations on the server.

    there are many powers to the htaccess file, most commonly used:

    you can use it to password protect directories,

    also to redirect one url to a different file on the server.

    for instance:
    you can redirect homepage.html to index.html
    or /item88/new-mouse-and-cat/ to /item.php?iid=88

    hope this makes sense.
    Signature

    Mastermind Groups Platform .. plantdreams.org .. public beta, partners wanted

    a social network w/ Coaching / Projects / Goals / Habits / Crowdfunding / Team Building / Alt.Payments

    {{ DiscussionBoard.errors[2758750].message }}
    • Profile picture of the author firescorpz
      Originally Posted by unknowncat View Post

      @seoindiaforu - looks like you cut and pasted that off wikipedia...

      in lay persons terms, htaccess is used for configurations on the server.

      there are many powers to the htaccess file, most commonly used:

      you can use it to password protect directories,

      also to redirect one url to a different file on the server.

      for instance:
      you can redirect homepage.html to index.html
      or /item88/new-mouse-and-cat/ to /item.php?iid=88

      hope this makes sense.
      Sorry if I ask a stupid question:p
      What is the purpose of redirecting? What is it useful in/for?
      {{ DiscussionBoard.errors[2758817].message }}
      • Profile picture of the author unknowncat
        take a look at the url for this forum page that you're on...

        notice how the title is built into the url? that's to feed the search engines.

        to find the thread in the database, the server only needs the thread ID,

        a number in the url. this happens on lots of sites with things like,

        /article1024/how-to-bake-a-url/ (htaccess rewrites to article.php?id=1024
        here the search engines (and visitors ) will see this is a page about how to bake a url

        also handy, is if you don't want to show what type of code you're using, you can set htaccess to redirect index to index.php

        also handy, if you have moved a page. you can set 301 permanent redirects on the htaccess file and not loose any of your incoming link traffic/seo powers, and it's pretty much an instant redirect.

        htaccess is a handy tool.
        Signature

        Mastermind Groups Platform .. plantdreams.org .. public beta, partners wanted

        a social network w/ Coaching / Projects / Goals / Habits / Crowdfunding / Team Building / Alt.Payments

        {{ DiscussionBoard.errors[2758836].message }}
        • Profile picture of the author firescorpz
          Originally Posted by unknowncat View Post

          take a look at the url for this forum page that you're on...

          notice how the title is built into the url? that's to feed the search engines.

          to find the thread in the database, the server only needs the thread ID,

          a number in the url. this happens on lots of sites with things like,

          /article1024/how-to-bake-a-url/ (htaccess rewrites to article.php?id=1024
          here the search engines (and visitors ) will see this is a page about how to bake a url

          also handy, is if you don't want to show what type of code you're using, you can set htaccess to redirect index to index.php

          also handy, if you have moved a page. you can set 301 permanent redirects on the htaccess file and not loose any of your incoming link traffic/seo powers, and it's pretty much an instant redirect.

          htaccess is a handy tool.
          http://www.warriorforum.com/adsense-...cess-file.html you mean this information is for Search Engine? and the Number 276274 is the thread ID?

          But I still dont understand this:

          /article1024/how-to-bake-a-url/ (htaccess rewrites to article.php?id=1024
          here the search engines (and visitors ) will see this is a page about how to bake a url

          Trying to crack my head on this paragraph you wrote?

          And you mention if I don't want to show a code, I can use htaccess to redirect it. Why would I not want to show a code?

          You have also mention I can use htaccess to move a page without losing my currently SEO powers (I don't require this at the moment but I am curious). Do you mean I can move a page from website www.abc.com to www.def.com and the page appear actually the same in www.def.com?

          sorry for so many question ask hope you can enlighten me, thanks
          {{ DiscussionBoard.errors[2758935].message }}

Trending Topics