[WTB] advanced htaccess coding

Discussion in 'Programming' started by Chronus, Dec 28, 2012.

  1. #1
    Please know your htaccess coding inside out.

    Currently...
    www is forced on entire site except for the WP blog (subdirectory).
    www is forced off for the WP blog (subdirectory).
    SSL is forced on for the entire site except for the WP blog (subdirectory).
    SSL is forced off for the WP blog (subdirectory).

    I cannot create subdomains because of the ssl validation... Nor can I buy a more expensive SSL cert to cover all subdomains.

    I would like to be able to create subdomains without ssl, but the above configuration won't allow it.

    If you are confident that you can recode my htaccess file to allow subdomains and still follow the above rules, then please get in touch with me.
     
    Chronus, Dec 28, 2012 IP
  2. codemaster263

    codemaster263 Member

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    Hi there. htaccess expert here. Ready to help!
     
    codemaster263, Dec 30, 2012 IP
  3. bobert

    bobert Member

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    What is your server setup like?

    Here is how I do mine. Each of my subdomains has their own directory. In each of those directories I have a unique .htaccess file for it.

    For my main site which gets SSL, i use this command:

    And then in the other directories I have a different .htaccess file in place.

    Just put a unique htaccess file for each subdomain in its directory.
     
    bobert, Dec 30, 2012 IP