Changing wordpress with a new URL
-
Hi all,
I have just changed my wordpress site:
from http://mysite1.me
to http://mysite2.me
in the same web hosting server.the installation folder has also been changed:
from /home1/acct1/public_html/jmy
to /home1/acct1/mysite2.me/jmyAs wordpress is still in the same web server, database name, database user name and password remain unchanged, and I don’t need to change any settings in “wp-config.php”
however, when accessing: “http://mysite2.me/jmy”, the following ERROR is displayed:
========================================================================
Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0Fatal error: Unknown: Failed opening required ‘/home1/acct1/public_html/jmy/wordfence-waf.php’ (include_path=’.:/opt/php54/lib/php’) in Unknown on line 0
==========================================================
It seems that there is a setting which store the installation folder and I have not updated it yet, so I added the following line to “wp-config.php”:
define( ‘WP_SITEURL’, ‘http://mysite2.me/jmy’ );
-> according to: https://codex.wordpress.org/Editing_wp-config.phpbut….
no luck, the same error is displayed.So, which file should I work on to update the installation folder?
Thanks for any kind of help!
- The topic ‘Changing wordpress with a new URL’ is closed to new replies.