0
Welcome Guest! Login
0 items Join Now

.htaccess redirect

    • Leckenby's Avatar
    • Leckenby
    • Elite Rocketeer
    • Posts: 714
    • Thanks: 0

    .htaccess redirect

    Posted 17 years 11 months ago
    • Hi, I have a subdirectory of my website
      dev.########.com
      Now the folder for that subdirectory is actually at www.########.com/dev
      How do I either...
      a) stop access from www.########.com/dev
      b) redirect it to dev.########.com

      Cheers
      James
  • Re: .htaccess redirect

    Posted 17 years 11 months ago
    • you are getting into muddy waters.

      Why not pick one and go with it.

      either make it a subdirectory

      www.####.com/dev

      or make it a subdomain

      dev.####.com

      Not try to make it do both. Is there a reason for doing it that way?
    • www.ninjoomla.com - The Ninjoomla Open Source Extension Club
      Over 50 open source extensions and 100 videos to you build the site you want.
  • Re: .htaccess redirect

    Posted 17 years 11 months ago
    • Leckenby's Avatar
    • Leckenby
    • Elite Rocketeer
    • Posts: 714
    • Thanks: 0

    Re: .htaccess redirect

    Posted 17 years 11 months ago
    • Daniel Chapman wrote:
      you are getting into muddy waters.

      Why not pick one and go with it.

      either make it a subdirectory

      www.####.com/dev

      or make it a subdomain

      dev.####.com

      Not try to make it do both. Is there a reason for doing it that way?

      sorry you misunderstud
      When I created the subdomain my host but the folder for it in my main directory, which means that you can also access it by .com/dev
      I want to either disable access this way or redirect it to dev.#######.com

      Ill check the post James, cheers
  • Re: .htaccess redirect

    Posted 17 years 11 months ago
    • ahh got ya.
    • www.ninjoomla.com - The Ninjoomla Open Source Extension Club
      Over 50 open source extensions and 100 videos to you build the site you want.

Time to create page: 0.071 seconds