Swapping root directory of a web server
        Posted  
        
            by Austin
        on Server Fault
        
        See other posts from Server Fault
        
            or by Austin
        
        
        
        Published on 2010-05-17T13:41:35Z
        Indexed on 
            2010/05/17
            13:51 UTC
        
        
        Read the original article
        Hit count: 332
        
One of the clients that I maintain requests a website redesign, we do all the work in a subfolder /newsite/ and they intend to make it live this instant. The /newsite/ is made in wordpress and from my understanding WP keeps all the URL's as they were initially created. Would it be easier to just create the new root dir at /newsite/ or move all contents of the root to /oldsite/ and move /newsite/ to the root?
Please advise the best route, i.e. mod_rewrite.
© Server Fault or respective owner