How To Move Your Wordpress In Your Server, If you want to make it your defalt or move it to a folder |
||
Welcome to the Zymic webmaster forums. Our forums are here to provide people the free ability to discuss a range of websites related topics such as design, development coding and marketing.
In order to post you will need to register for a zymic account or if you already have one simply login by using the form on the left.
Zymic Webmaster Forums Zymic Free Web Hosting Tutorials |
||
2 Pages
1 2 >
|
![]() |
How To Move Your Wordpress In Your Server, If you want to make it your defalt or move it to a folder |
||
Jul 14 2010, 06:22 AM
Post
#1
|
|
|
THE SILENT FORUM NINJA ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Administrators Posts: 3,710 Joined: 23-January 10 From: on your screen Member No.: 127,507 |
Here are the step-by-step instructions:
1.Create the new location using one of these two options: 1.If you will be moving your WordPress core files to a new directory, create the new directory. 2.If you want to move WordPress to your root directory, make sure all index.php, .htaccess, and other files that might be copied over are backed up and/or moved, and that the root directory is ready for the new WordPress files. 2.Login to your blog. 3.Go to the Administration > Settings > General panel. 4.In the box for WordPress address (URI): change the address to the new location of your main WordPress core files. 5.In the box for Blog address (URI): change the address to the new location, which should match the WordPress address (URI). 6.Click Save Settings. 7.(Do not try to open/view your blog now!) 8.WordPress 2.0 only: Delete the folder wp-content/cache. 9.Move your WordPress core files to the new location. This includes the files found within the original directory, such as http://example.com/wordpress, and all the sub-directories, to the new location. 10.If you are using Permalinks, go to the Administration > Settings > Permalinks panel and update your Permalink structure to your .htaccess file, which should be in the same directory as the main index.php file. 11.If you have problems with missing images that you've uploaded, you need to change the path to the images on every post directly on your SQL database. For this, follow the instructions on Tamba2's Tutorial "Moving your weblog inside your PC". 12.You must also check and edit 'store uploads folder' under Settings-Miscellaneous or all your new uploads will continue to go into the old folder. 13.Existing image/media links uploaded media will refer to the old folder and must be updated with the new location. It is important that you set the URI locations BEFORE you move the files. If you forget to change the locations Suppose you accidentally moved the files before you changed the URIs: you have two options. OPTION 1. Suppose the files were originally in /path/to/old/ and you moved them to /path/to/new before changing the URIs. The way to fix this would be to make /path/to/old/ a symlink (for Windows users, "symlink" is equivalent to "shortcut") to /path/to/new/, i.e. ln -s /path/to/new /path/to/oldand then follow the steps above as normal. Afterwards delete the symlink if you want. OPTION 2. If you forget to change the WordPress Address and Blog Address, you will be unable to change it using the wordpress interface. However, you can fix it if you have access to the database. Go to the database of your blog and find the wp_options table. This table stores all the options that you can set in the interface. The WordPress Address and Blog Address are stored as siteurl and home (the option_name field). All you have to do is change the option_value field to the correct URL for the records with option_name=’siteurl‘ or option_name=’home‘. Suppose you accidentally changed the URIs where you cannot move the files. (but still can access the login page, through a redirection or something) wp-login.php can be used to (re-)set the URIs: //FIXME: do comment/remove these hack lines. (once the database is updated) update_option('siteurl', 'http://your.domain.name/the/path' ); update_option('home', 'http://your.domain.name/the/path' ); You're done. Test your site to make sure that it works right. If the change involves a new address for your blog, make sure you let people know the new address, and consider adding some redirection instructions in your .htaccess file to guide visitors to the new location. Changing The Site URL also provides the details of this process! |
|
|
Aug 28 2010, 12:23 PM
Post
#2
|
|
|
Newbie ![]() Group: Members Posts: 5 Joined: 28-August 10 Member No.: 154,626 |
Impressive post and the way you try to explain it's really simple to understand and easy to implement.Can't wait to try it's out and i want it's perfectly implemented or not.
|
|
|
Nov 8 2010, 09:33 AM
Post
#3
|
|
|
Newbie ![]() Group: Members Posts: 17 Joined: 3-November 10 Member No.: 163,736 |
I am very much pleased to read. its really helped me.
|
|
|
Nov 8 2010, 02:39 PM
Post
#4
|
|
![]() Member ![]() ![]() Group: Members Posts: 60 Joined: 27-April 10 Member No.: 139,982 |
thanks for sharing.)))
|
|
|
Nov 9 2010, 05:35 PM
Post
#5
|
|
![]() Newbie ![]() Group: Members Posts: 8 Joined: 9-November 10 Member No.: 164,474 |
Great Share, Thank You!
|
|
|
Nov 16 2010, 05:59 PM
Post
#6
|
|
![]() Newbie ![]() Group: Members Posts: 10 Joined: 27-October 10 Member No.: 162,964 |
Is there another tutorial on how to secure our data in wordpress?
|
|
|
Nov 16 2010, 06:45 PM
Post
#7
|
|
|
THE SILENT FORUM NINJA ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Administrators Posts: 3,710 Joined: 23-January 10 From: on your screen Member No.: 127,507 |
no but your data is very secure as long as your db is
|
|
|
Jan 25 2011, 02:44 AM
Post
#8
|
|
|
Newbie ![]() Group: Members Posts: 1 Joined: 25-January 11 Member No.: 174,699 |
thank you for sharing this informative post.
|
|
|
Feb 2 2011, 07:33 AM
Post
#9
|
|
|
Newbie ![]() Group: Members Posts: 3 Joined: 21-November 09 Member No.: 119,398 |
thx for giving this useful guidance.....its really helpful....
|
|
|
Mar 15 2011, 05:35 PM
Post
#10
|
|
|
THE SILENT FORUM NINJA ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Administrators Posts: 3,710 Joined: 23-January 10 From: on your screen Member No.: 127,507 |
the permanent links are what change http://example.zxq.net/p=%589 to something like http://example.zxq.net/post/name
|
|
|
Apr 7 2011, 07:12 PM
Post
#11
|
|
|
Member ![]() ![]() Group: Members Posts: 49 Joined: 23-March 11 Member No.: 183,301 |
NICE SHARING, THANKS A LOT
|
|
|
Apr 15 2011, 02:03 PM
Post
#12
|
|
|
Member ![]() ![]() Group: Members Posts: 49 Joined: 23-March 11 Member No.: 183,301 |
thanks for sharing
|
|
|
Sep 4 2011, 10:30 AM
Post
#13
|
|
|
Newbie ![]() Group: Members Posts: 27 Joined: 4-September 11 Member No.: 207,134 |
|
|
|
Oct 14 2011, 07:07 PM
Post
#14
|
|
|
Member ![]() ![]() Group: Members Posts: 32 Joined: 12-October 11 From: Virginia Member No.: 213,126 |
Thanks for the share, its a very detailed tutorial.
|
|
|
Nov 3 2011, 10:07 AM
Post
#15
|
|
|
Newbie ![]() Group: Members Posts: 3 Joined: 23-October 11 Member No.: 214,736 |
It’s a beneficial and helpful information to us. Thanks for sharing.
|
|
|
Nov 4 2011, 09:20 PM
Post
#16
|
|
|
Newbie ![]() Group: Members Posts: 3 Joined: 4-November 11 Member No.: 216,332 |
Here are the step-by-step instructions: 1.Create the new location using one of these two options: 1.If you will be moving your WordPress core files to a new directory, create the new directory. 2.If you want to move WordPress to your root directory, make sure all index.php, .htaccess, and other files that might be copied over are backed up and/or moved, and that the root directory is ready for the new WordPress files. 2.Login to your blog. 3.Go to the Administration > Settings > General panel. 4.In the box for WordPress address (URI): change the address to the new location of your main WordPress core files. 5.In the box for Blog address (URI): change the address to the new location, which should match the WordPress address (URI). 6.Click Save Settings. 7.(Do not try to open/view your blog now!) 8.WordPress 2.0 only: Delete the folder wp-content/cache. 9.Move your WordPress core files to the new location. This includes the files found within the original directory, such as http://example.com/wordpress, and all the sub-directories, to the new location. 10.If you are using Permalinks, go to the Administration > Settings > Permalinks panel and update your Permalink structure to your .htaccess file, which should be in the same directory as the main index.php file. 11.If you have problems with missing images that you've uploaded, you need to change the path to the images on every post directly on your SQL database. For this, follow the instructions on Tamba2's Tutorial "Moving your weblog inside your PC". 12.You must also check and edit 'store uploads folder' under Settings-Miscellaneous or all your new uploads will continue to go into the old folder. 13.Existing image/media links uploaded media will refer to the old folder and must be updated with the new location. It is important that you set the URI locations BEFORE you move the files. If you forget to change the locations Suppose you accidentally moved the files before you changed the URIs: you have two options. OPTION 1. Suppose the files were originally in /path/to/old/ and you moved them to /path/to/new before changing the URIs. The way to fix this would be to make /path/to/old/ a symlink (for Windows users, "symlink" is equivalent to "shortcut") to /path/to/new/, i.e. ln -s /path/to/new /path/to/oldand then follow the steps above as normal. Afterwards delete the symlink if you want. OPTION 2. If you forget to change the WordPress Address and Blog Address, you will be unable to change it using the wordpress interface. However, you can fix it if you have access to the database. Go to the database of your blog and find the wp_options table. This table stores all the options that you can set in the interface. The WordPress Address and Blog Address are stored as siteurl and home (the option_name field). All you have to do is change the option_value field to the correct URL for the records with option_name=’siteurl‘ or option_name=’home‘. Suppose you accidentally changed the URIs where you cannot move the files. (but still can access the login page, through a redirection or something) wp-login.php can be used to (re-)set the URIs: //FIXME: do comment/remove these hack lines. (once the database is updated) update_option('siteurl', 'http://your.domain.name/the/path' ); update_option('home', 'http://your.domain.name/the/path' ); You're done. Test your site to make sure that it works right. If the change involves a new address for your blog, make sure you let people know the new address, and consider adding some redirection instructions in your .htaccess file to guide visitors to the new location. Changing The Site URL also provides the details of this process! Number 4 and 5, I tried doing that but it won't work. I typed in the same URL for both sections and updated it and got an error message. Do I need to type in two different URLs instead? I'm confused and also, is there a special script to upload WordPress to my site or do I upload the whole folder I downloaded via FTP? I tried uploading the whole folder via FileZilla but it didn't show up on my site and this is what I got, http://graciedesign.zxq.net/. There's nothing. How would I fix that? |
|
|
Nov 28 2011, 07:23 AM
Post
#17
|
|
|
Newbie ![]() Group: Members Posts: 3 Joined: 28-November 11 Member No.: 219,807 |
|
|
|
Dec 15 2011, 12:32 PM
Post
#18
|
|
|
Newbie ![]() Group: Members Posts: 6 Joined: 19-September 11 Member No.: 209,299 |
Thanks for the Sharing the very most topics .this thread is so very informable.
|
|
|
Dec 30 2011, 10:41 AM
Post
#19
|
|
|
Newbie ![]() Group: Members Posts: 23 Joined: 26-December 11 Member No.: 223,515 |
Really worth sharing, such a useful information you have shared with us.. Good stuff dude keep sharing valuable information..
|
|
|
Feb 11 2012, 09:09 AM
Post
#20
|
|
|
Newbie ![]() Group: Members Posts: 3 Joined: 11-February 12 Member No.: 229,861 |
|
|
|
![]() |
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users) |
||
| 0 Members: | ||
Forum Jump |
||
| Lo-Fi Version | Time is now: 24th May 2013 - 02:23 PM |