SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Evangelist silversurfer5150's Avatar
    Join Date
    Aug 2010
    Posts
    534
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Redirect Parked Domain to Subfolder but keep url the same

    Hi there,

    I have web hosting with a main domain and a site in the root folder.

    I have now parked another domain there which I wish to use for a second site but in order to keep the sites separated, I have put the files for the new site in:

    public_html/second_site/

    How do I use the htaccess to:

    1. Redirect my parked domain to that folder

    2. Do so whilst keeping the url the same i.e. I want secondsite.com not secondsite.com/second_site ?

    thanks
    "Persistence is the path to perfection"

  2. #2
    SitePoint Member
    Join Date
    Mar 2013
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can directly copy the content from secondsite.com/second_site to secondsite.com.


Bookmarks

Posting Permissions

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