Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: .htaccess help

  1. #1
    New Coder
    Join Date
    Oct 2010
    Posts
    16
    Thanks
    1
    Thanked 0 Times in 0 Posts

    .htaccess help

    Hello guys, I have a quick question. I've tried it out, however I'm not sure what I'm doing..


    I want this:

    domain.com/client (that'll redirect into https://www.domain.com/client) I got this working perfectly.

    However, I don't want "https" outside of the "client" directory. So when people type in "https://www.domain.com/index.php" it will redirect into just "www.domain.com".

    I also have 1 more redirect that if you just type in: "domain.com/lol" it'll redirect into "www.domain.com/lol".

    The only problem I'm having is the "https" outside of the "client" directory. Would anyone know how to do this?

    thank you for your time.

  • #2
    New to the CF scene
    Join Date
    Oct 2012
    Location
    F-329/3 A, M B Road,Lado Sarai
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    you can go to your httpdoc folder in this folder you save redirect code

  • #3
    New Coder
    Join Date
    Oct 2010
    Posts
    16
    Thanks
    1
    Thanked 0 Times in 0 Posts
    the thing is, I don't know how to make the code, to what I want. haha.. I only have 2 redirect codes in the .htaccess

    but im trying to get that other code that I listed above


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •