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 5 of 5
  1. #1
    New Coder
    Join Date
    Apr 2013
    Posts
    15
    Thanks
    11
    Thanked 0 Times in 0 Posts

    How to point my domain to sub-directory?

    I have recently been re-designed a client's website (whose website is - for example purposes - mywebsite.co.uk)/

    I have developed the new website (a heavily modified wordpress install) in a sub-directory (eg: www.mywebsite.co.uk/new).

    I would now like for my new website to replace my existing website, and for visitors to find the new site when they visit mywebsite.co.uk. How is this best achieved?

    Any help is greatly appreciated,

    Dan

  • #2
    New to the CF scene
    Join Date
    Mar 2013
    Posts
    5
    Thanks
    0
    Thanked 1 Time in 1 Post
    what you are doing is correct this is the way to point to a new directory. if using Apache and have set virtual host you can go to host.php file and change virtual host path.

  • Users who have thanked sunny68 for this post:

    DanC (05-08-2013)

  • #3
    New Coder
    Join Date
    Apr 2013
    Posts
    38
    Thanks
    1
    Thanked 3 Times in 3 Posts

    Smile

    In your Fully Hosted Domain setup, you can specify it to use any folder you choose. Depending on your setup, this may or may not work due to pathnames in your configuration files.

    Another option is to use a Rewrite so the subfolder is transparent. Someone good with mod_rewrite might have a .htaccess setup handy and can post the syntax.

  • Users who have thanked johnmacklen for this post:

    DanC (05-08-2013)

  • #4
    New Coder
    Join Date
    Apr 2013
    Posts
    15
    Thanks
    11
    Thanked 0 Times in 0 Posts
    Thank you for your responses so far. The site is actually live, and will replace another (currently) live site. Do the instructions found on the following website appear that they would work?

    http://askwpgirl.com/how-do-i-move-w...oot-directory/

    Thanks again,
    Dan

  • #5
    New to the CF scene
    Join Date
    May 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thank you sunny me to have the same doubt. Thank you for your information.


  •  

    Posting Permissions

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