Have issue when changing root folder directory of domain
Posted: Wed May 13, 2015 3:07 pm
I have 2 domains
example.com (original tld/domain)
&
example.org
i want example.org root directory to be linked to example.com's root directory (where the files are located)
i edited:
and edited example.org documentroot like so:
so when i browse example.org i will view example.com's files
the index page works but when i view example.org/page1/index.html
it shows this error:

i am running wordpress site on example.com
i also tried editing wp-config.php and adding
define('WP_HOME','http://example.org');
define('WP_SITEURL','http://example.org);
and i also edited WP_options and change the url there aswell in mysql
could anyone help, am i doing something wrong?
example.com (original tld/domain)
&
example.org
i want example.org root directory to be linked to example.com's root directory (where the files are located)
i edited:
Code: Select all
/home/admin/conf/web/httpd.conf
Code: Select all
DocumentRoot /home/admin/web/example.com/public_html
(was DocumentRoot /home/admin/web/example.org/public_html)
the index page works but when i view example.org/page1/index.html
it shows this error:

i am running wordpress site on example.com
i also tried editing wp-config.php and adding
define('WP_HOME','http://example.org');
define('WP_SITEURL','http://example.org);
and i also edited WP_options and change the url there aswell in mysql
could anyone help, am i doing something wrong?