How To Make A Subdomain Install Replace Main Site?

Hi guys,



I've built and tested 4.0.2 on a subdomain and I'm ready to make this my main website now. How do I make my subdomain my new main homepage/index now? Unfortunately, this wasn't covered in the upgrade documentation.



Thank you!

Copy files and folders to root (after backing up and cleaning out root of course).

Alter config local and .htaccess and your set

your .htaccess will do the opposite of what the kb says below, i.e. your subdirectory will just show /

see here

Thank you for your input. I found that same link, but was stuck. I didn't realize I needed overwrite my files to the same root folder. I thought there was some type of redirect that was used.

[quote name='joshin' timestamp='1400623918' post='183914']

Thank you for your input. I found that same link, but was stuck. I didn't realize I needed overwrite my files to the same root folder. I thought there was some type of redirect that was used.

[/quote]



We recommend you to copy the files to the root directory. If you use .htaccess redirect, it can make wrong redirections some time due to issues in the code.