CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   Apache configuration (http://www.codingforums.com/forumdisplay.php?f=69)
-   -   .htaccess help (http://www.codingforums.com/showthread.php?t=279448)

Sniickerz 10-26-2012 05:29 AM

.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.

texturepaint 10-26-2012 10:03 AM

you can go to your httpdoc folder in this folder you save redirect code

Sniickerz 10-26-2012 05:42 PM

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


All times are GMT +1. The time now is 08:25 PM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.