Wednesday, October 2, 2013

Change URL of WordPress

Change The URL Of www.Mysite.Com/Wordpress/
In www.Mysite.Com/

You, in your WordPress installation, said mysite.com/wordpress/ in the address of your blog and that you do not like ... You would like your website appears at the root of mysite.com.

No Need To Reinstall All
A shift back a few file changes will suffice.

Edit Pattern WordPress
In the "Settings > General" menu, change the settings "wordpress web address" and "Web Site Address". You need the new website address "mysite.com" in principle so you spend "mysite.com/wordpress/" for both parameters "mysite.com".
Save the changes. You may, from this point, standard errors "File not found", it does not matter.



Copy the "index.php" file & ".Htaccess"
FTP, you must now copy the file "index.php" and ".Htaccess" file from the "wordpress" folder to the root of your site. Note: If you do not use the pretty permalink, you may not have to be ".Htaccess" file.

Edit the "index.php" file
Download your "index.php" file (remember to make a backup copy) and edit it in your text editor.
You must change the line:

require('./wp-blog-header.php');
in

require('./wordpress/wp-blog-header.php');
Save and re-download the edited file by overwriting it on the FTP.
Here in 2 clicks and three movements, the move operation is complete!

To Know
The access at WordPress admin interface has not changed. It is always an address of "http://mysite.com/wordpress/wp-admin" type. However, the website address, it has changed to "http://mysite.com".

Please note that this manipulation is done at your own risk, no support will be made here ... You can also see related article: How to Move WordPress to a new domain name.
Share it Please

0 comments:

Post a Comment

Copyright @ 2013 Johnny Gagnon blog. Designed by Templateism | Love for The Globe Press