Buy WPRobot for Automated Wordpress Posting

Tag Archives for Moving

Moving Your WordPress Blog

Moving a blog can make it unreachable for 24 – 72 hours, unless the new domain name has fully propagated around the Internet. It is just the way it is and WordPress doesn’t have anything to do with such limitation. Moving is best done when you have the time or have planned ahead.

Moving Towards a New Domain Name

The first thing to do is create a database back-up. The entire WordPress installation needs to be downloaded with no exceptions. This is not the time to tidy up your install or to upgrade/change anything. That would have to wait after the blog has been moved and is shown to be working. Your computer should now have these items: one or more database backups plus all your wpfiles, folders and images directories. The backups should be copied again to somewhere safe on your machine so that the next stage can be done on a copy.

Alterations are needed to be made. The details of your new mysql connection have to be changed by opening the file “wp-config.php” on your WordPress install. The file: SCR 1.0.002 Freeware Edition (13KB) should be downloaded to search and replace your website URL with your Xampp url. This is because your blog address inside the database has to be changed. Database files can be very large, thus opening them can be excruciatingly slow. It could even crash your machine. By replacing the old address with your new address, the URLs within your site will still work.

Moving hosts will mean changes in your passwords. You can double check your new passwords for your mysql connection as well as other passwords that you have in use. After which, it is now time to upload all your files to your new web space and restore your database. From the website cpanel, select the database you are using. You should still need to look inside the “wp – options” table to check that the values in “site – url” and “home” are correct. Clear your cache and cookies before checking your new site.

It is possible that you will get a blank page when looking at your blog right after moving. In this case, the themes should be checked. A faulty theme file causes a blank page. You can try changing themes or uploading a new theme then changing to it. Should this step not help, you should check whether all the WordPress files are present and are of the correct size. You can use your ftp client to download a new set of WordPress files, if needed.

There may be instances where you would need to move WordPress around within your server. WordPress is flexible enough to handle this situation. Moving WordPress from one server to another is also possible.

Moving Within

WordPress files can be moved from one location on your server to another. Start by creating the new location using any of these methods: create the new directory when you will be moving your WordPress core files to a new directory, or move the WordPress to your root directory by making sure all index, php, .htaccess and other files that might be copied over are backed-up and/or moved. This will then make the root directory ready for the new WordPress files. It is crucial that you set the URL locations before you move the file.

When done, test your site to confirm that it works right. Make sure that you let people know the new address when the change involves a new address to your blog. Consider adding some redirection instructions in your .htaccess file to serve as a guide to visitors towards the new location.

Handling Redirects after Moving a WordPress Blog

Concerns should not be limited to the moving of the actual WordPress program files but also on finding a way to redirect visitors that may be following outdated links to an old content. It is possible that redirects can mess up RSS feeds and search engine results thus an ideal redirect option that preserves both past and current search results is the key. After moving your WordPress blog, look into how 301 redirects can be properly handled.

A suggested way goes like this: open your .htaccess file in the directory that houses your newly moved WordPress file and edit in either your host’s file manager interface or by downloading to your local machine. Insert a line at the top that reads: redirect301/blog/http://www.yoursite.com/. You have to make sure to insert the opening and trailing / at the end of the destination path. Save your .htaccess file. Reupload it if you’re editing on your local machine rather than on the server. Load your old WordPress URL to make this work.

Moving Several Posts from One Blog to Another

When you decide to move over all your WordPress related posts from another blog, the task is basically to extract a few posts and their comments and to insert them into the database of the new blog. This can be accomplished by following these steps: click on the wp-posts table name in the left panel when you are in the proper database. It should be noticed that other tables might have a different prefix. Click browse on the top in the next panel. Select the checkbox at the beginning of the rows that you want to extract or export. Select “Export” at the bottom of the rows where it says “with selected”. Deselect structure on the next panel, leave selected Data, check Save As file, then Go. You will then get a prefix – posts.sqlfile.

Open the file in your chosen text editor such as Notepad. Change the wp-part everywhere to target_ -, depending on the prefix of the tables where you want to move the post using Search/Research. You are ready to go if you move the post to a new, empty database. However, if the target blog has posts in the database, there is some more work to do. You have to check in the database what the ID number of your last post is in the target blog. You should also go back to the .sqlfile and take a look at the first line below Dumping data for table…

Moving a WordPress Blog to Your Own WordPress Installation

WordPress is a platform you install on your own/hosted server and maintain the installation yourself. However, attempting to make the move should only be done if you’re comfortable with ftp, basic work in the UNIX shell, basic SQL and a little bit of general hacking. Expertise is not really required but possessing the basic skills and the willingness to give it a go are.

The first thing to do is to install WordPress and get a hosting service. Choose one that does an automatic install of WordPress to do away with fiddling. Of course, you would need http://mysql.php, some form of ftp access and a shell account. The challenge lies on setting up your blog on a new place while finding the theme and the plugins you want. The themes on http://WordPress.com normally have links to places you can download them from.

WordPress Plugin Development (Beginner’s Guide)

51V7mf ZXPL. SL160  Moving Your WordPress Blog

Build powerful, interactive plug-ins for your blog and to share online

  • Everything you need to create and distribute your own plug-ins following WordPress coding standards
  • Walk through the development of six complete, feature-rich, real-world plug-ins that are being used by thousands of WP users
  • Written by Vladimir Prelovac, WordPress expert and developer of WordPress plug-ins such as Smart YouTube and Plugin Central
  • Part of Packt’s Beginners Guide series: expect step-by-step instructions with an emphasis on experimentation and tweaking code

In Detail

If you can write WordPress plug-ins, you can make WordPress do just about anything. From making the site easier to administer, to adding the odd tweak or new feature, to completely changing the way your blog works, plug-ins are the method WordPress offers to customize and extend its functionality. This book will show you how to build all sorts of WordPress plug-ins: admin plug-ins, Widgets, plug-ins that alter your post output, present custom “views” of your blog, and more.

WordPress Plug-in Development (Beginner’s Guide) focuses on teaching you all aspects of modern WordPress development. The book uses real and published WordPress plug-ins and follows their creation from the idea to the finishing touches, in a series of carefully picked, easy-to-follow tutorials. You will discover how to use the WordPress API in all typical situations, from displaying output on the site in the beginning to turning WordPress into a CMS in the last chapter. In Chapters 2 to 7 you will develop six concrete plug-ins and conquer all aspects of WordPress development.

Each new chapter and each new plug-in introduces different features of WordPress and how to put them to good use, allowing you to gradually advance your knowledge. This book is written as a guide to take your WordPress skills from the very beginning to the level where you are able to completely understand how WordPress works and how you can use it to your advantage.

What you will learn from this book?

  • Get to know the WordPress code base, WordPress’s plug-in architecture, and the plug-in application programming interface (API) and learn how to hack it
  • Master the WordPress database and the API – access and manipulate data, handle user roles and permissions, posts, and so on
  • Hook into the rest of WordPress using actions and filters
  • Change the way your WordPress backend looks by customizing menus, submenus, and the plug-in admin panel
  • Integrate AJAX and jQuery into your plug-ins to dynamically generate content
  • Hook directly to WordPress edit pages and use AJAX to generate fast searches
  • Integrate your plug-in with WordPress panels and the tinyMCE editor
  • Access and work with third-party APIs like Flickr
  • Implement localization support for users of other languages
  • Maintain and manage your plug-in using SVN and publish it to the WordPress Plugin Repository
  • Handle security issues and make your plug-ins safer to use

We cover the development of six plug-ins from start to finish:

  • Digg-this: Adds a Digg This button to each post.
  • Live Blogroll: Adds a recent posts popup for each blog in your blogroll.
  • The Wall widget: Displays comments on the sidebar without reloading the page.
  • Snazzy Archives: Presents your site archives in a unique visual way.
  • Insights: Access your articles and Flickr images from within the WordPress edit page.
  • Post Types: Provides pre-defined post templates to quickly add a photo or a link to your blog.

Approach

This is a Packt Beginners Guide, which means it focuses on practical examples and has a fast-paced but friendly approach, with the opportunity to learn by experiment and play. Each chapter builds a practical plug-in from the ground up using step-by-step instructions. Individual sections show you how to code some functionality into your plug-in and follow up with a discussion of concepts.

Who this book is written for?

This book is for programmers working with WordPress, who want to develop custom plug-ins and to hack the code base. You need to be familiar with the basics of WordPress and PHP programming and believe that code is poetry; this book will handle the rest.

buynow big Moving Your WordPress Blog

List Price: $ 39.99

Price: $ 13.99

WordPress – Keep Meta Tags Portable, Save Time and Money (2nd in a Series)

wordpress68 WordPress   Keep Meta Tags Portable, Save Time and Money (2nd in a Series)


If you operate a WordPress site for business reasons you should be careful choosing your method for adding Meta Tags, because eventually, if your Meta Tags are not portable, you are going to invest time and/or money moving them.

Problem
The latest WordPress documentation says:

To add meta tags to your site, simply add them to the header.php template file in your WordPress Theme, specifically in the head section near the link for the style sheet.

That works fine until you change your blog to a new theme. The meta tags do not follow you to the next theme. So you will need to re-edit the header.php file. Worse, if you forget to edit the file, it may not be obvious at first. Your search engine rankings may go down if the Google, Yahoo, or Bing search engines cannot verify your site – an activity they do from time to time. But it could you a long time to trace this back to the missing meta tags, and meanwhile your site is losing Web traffic, which means you are losing money.

Not good.

Solution
Use a WordPress Meta Tag Plugin.

The best way to find a WordPress Meta Tag Plugin is to search for it in the WordPress Administrative Console under menu item Plugins and sub-menu item Add New. I am using Meta Tag Manager WordPress Plugin from netweblogic. Just download it, install it, and activate it according to the instructions. It shows up as a menu item under “Settings” in the Admin Dashboard. Click on menu item Settings and sub-menu item Meta Tag Manager and it pops right up.

Add new tags and save the changes.

You are done.

Double Check Your Work
Finally, make sure the tags are really showing up. Navigate to your blog, and use the browser “view page source” capability to view the source of the page. Make sure the meta tags are included.

By: Samuel Mela

About the Author:
Sam Mela is a web designer in Ohio. View his other articles at http://www.sammela.com.