Need a htacess script made

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • stickyfingerz
    Doin fine
    • Oct 2005
    • 24984

    #1

    Need a htacess script made

    Have a few sites I need to make sure the user only has to type in their user pass once. So if they come in from www. and there are non www hardlinked images it will trip the user to have to enter their user and pass multiple times. I want to stop that entirely.

    Email me with a quote [email protected] thanks.
  • stickyfingerz
    Doin fine
    • Oct 2005
    • 24984

    #2
    Surely someone can do this?

    Comment

    • BlackElf
      Confirmed User
      • Jun 2004
      • 1171

      #3
      Did you try to force the www on all objects ?
      exhelp AT bibar | DOT | com (please include your ICQ when emailing me)
      What ppl say about BlackElf

      Comment

      • HomerSimpson
        Too lazy to set a custom title
        • Sep 2005
        • 13826

        #4
        Originally posted by BlackElf
        Did you try to force the www on all objects ?
        good idea...
        this way you'll not have a problem you have described...
        Make a bank with Chaturbate - the best selling webcam program
        Ads that can't be block with AdBlockers !!! /// Best paying popup program (Bitcoin payouts) !!!

        PHP, MySql, Smarty, CodeIgniter, Laravel, WordPress, NATS... fixing stuff, server migrations & optimizations... My ICQ: 27429884 | Email:

        Comment

        • xenilk
          Confirmed User
          • Jan 2006
          • 921

          #5
          Step 1. Create a file named .htaccess
          Step 2. put that code in it
          Code:
          RewriteEngine on
          RewriteCond %{HTTP_HOST} !^www.your_domain.com$
          RewriteRule ^(.*)$ http://www.your_domain.com/$1 [R=301]
          Step 3. Replace your_domain.com by whatever your domain is.
          Step 4. Upload it to your FTP in the domain's root directory (probably public_html)
          Step 5. Enjoy
          40$/Page PSD->XHTML/CSS Transformations

          Comment

          Working...