Relocation of domain home
I have a domain that that is hosted in
/home/account/public_html
I have to move the data to
/home/account/public_html/wordpress/
How do I redirect the site's home without having a file to do the redirecting?
By that I mean that instead of going to:
and it will display the contents of
/home/account/public_html/wordpress/
I hope I made it clear.
-
The Wordpress documentation should be helpful: [url=http://codex.wordpress.org/Moving_WordPress]Moving WordPress " WordPress Codex 0 -
Hi, Copy the data to the /home/account/public_html/wordpress folder and then change the documentroot in httpd.conf and restart the apache service. Regards, 0 -
I have the data in /home/account/public_html/wordpress I added a virtual host where [QUOTE] DocumentRoot "/home/account/public_html/wordpress" ServerName ServerAlias www.
When I go to it takes me to /wordpress I do not have a redirect (I had one and removed it) and I restarted httpd. Any suggestions?0 -
After clearing the cache it looks like apache's virtual host is not working properly. I will go to the apache area and get that resolved. Thanks. 0 -
Hello :) The following post should be useful to you: Modifying the "documentroot" value This is the preferred method over manually editing the httpd.conf file. Thank you. 0 -
Hi, Already included the steps to modify the documentroot in /var/cpanel/userdata/cpanelusername/domain.com file, not sure why it was not included in the reply.... anyways, the issue must have been resolved :) 0
Please sign in to leave a comment.
Comments
6 comments