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: adjustment

  1. #1
    New Coder
    Join Date
    Aug 2005
    Posts
    80
    Thanks
    0
    Thanked 0 Times in 0 Posts

    adjustment

    Lets say I've got a domain named: Mydomain.com on which I've got some html pages... a-section.html, b-section.html, c-section.html, and so on

    Is it possible to make an adjustment within my .htacces file so that every user who wants to visit a-section.html can type in: a-section.mydomain.com instead of www.mydomain.com/a-section ?
    Msnemo.com - Free winks, emoticons, avatars, moods and lots more for msn and windows live messenger.

  • #2
    Regular Coder googleit's Avatar
    Join Date
    Jul 2006
    Location
    birmingham, uk
    Posts
    189
    Thanks
    0
    Thanked 0 Times in 0 Posts
    you need to do that through you web control page its called subdomains tell me when you get that far and i help you set them up

  • #3
    Senior Coder
    Join Date
    Jul 2005
    Location
    UK
    Posts
    1,051
    Thanks
    6
    Thanked 13 Times in 13 Posts
    Sure it's possible using htaccess and mod rewrite, you don't need to go through the control panel and set up sub domains like I believe googleit is thinking - in fact that wouldn't achieve what you want to do because people would no longer be able to type www.mydomain.com/a-section at all - you want people to be able to type both, right?

    I'm afraid I'm not to hot on modrewrite so I can't help you directly, though I know some on here who will be able to - just wanted to air the fact that you don't necessarily need to set up sub domains.


  •  

    Posting Permissions

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