Showing posts with label WordPress. Show all posts
Showing posts with label WordPress. Show all posts

Saturday, May 18, 2013

WordPress Optimization

If you run a high traffic WordPress installation you will want to optimize WordPress and your server to run as efficiently as possible. This article is a general overview of the avenues to pursue. It's not a detailed technical explanation of each aspect.

If you need a quick fix now, go straight to the caching page, you'll get the biggest benefit for the smallest hassle there.

For a quick introduction to WordPress Optimization see the cheat sheet. For all the articles on optimizing wordpress see the WordPress Optimization category.

 Hosting Specific
The optimization techniques available to you will depend on your hosting setup. This article is divided into categories according to hosting type.

Shared Hosting
This is the most common type of hosting. Your site will be hosted on a server along with many others. The hosting company manage the web server for you, so you have very little control over server settings and so on. The areas most relevant to this type of hosting are:
    Caching
    WordPress Performance

Other areas which may be of interest include:
    Offloading

Virtual / Dedicated Server

In this hosting scenario you have control over your own server. The server might be a dedicated piece of hardware or one of many virtual servers sharing the same physical hardware. The key thing is, you have control over the server settings. In addition to the areas above (caching and wordPress performance, the key areas of interest here are:

    Server Optimization
Other areas which may be of interest include:
    Offloading

Multiple Servers
Once you're dealing with very high traffic situations it may be necessary to employ multiple servers. If you're at this level, you should already have employed all of the applicable techniques listed above.

The WordPress database can be easily moved to a different server and only requires a small change to the config file. Likewise images and other static files can be moved to alternative servers (see offloading).

If you're employing multiple database servers, the HyperDB class provides a drop in replacement for the standard WPDB class and can handle multiple database servers in both replicated and partitioned structures.

WordPress MU Optimization
Many of the server side techniques discussed here also apply to WordPress MU.
Further Reading

In addition to the articles linked above, these resources may provide more information.

Presentation at WordCamp 2007 on HyperDB and High Performance WordPress:
    Video of the Presentation
    Copy of the Slides

Thursday, May 9, 2013

Description of how to find and install a non-English blog in WordPress

Although WordPress displays in U.S. English by default, the software has the built-in capability to be used in any language. The WordPress community has already translated WordPress into many languages, and there are Themes, translation files, and support available in many other languages.

If you want to use WordPress in another language, you can do the following:

    Check below to see what is already available in your language.
    Read Installing WordPress in Your Language to learn how to install files that will transform WordPress so it displays in your language.
    If your language is not listed below, you can also try the WordPress Language File Repository (see this article on the Repository for more information).
    If your language is not available in the Repository or on this page, or if the available translation needs to be improved, you can help! See Translating WordPress for more information.
    There is also a list of localization teams and localization teams currently forming, which you can check to see if a translation is in progress.
    There are also a variety of WordPress Plugins to help create bilingual posts, translations, and change languages between posts. For more information see the Official WordPress Plugin Directory and WordPress Plugin Database.


Afrikaans (af)

    The Afrikaans translation page at locamotion.org.
    General information for WordPress translators at locamotion.org
    Quick Start Guide for new translators at locamotion.org's Pootle server

The team consists of Samuel Murray, and is active as of June 2008. Please, feel free to join me!

Please note: All attempts to contact the previous Afrikaans team have failed. The previous team used Launchpad[1][2] and had a WordPress team blog[3].
Arabic – عربي (ar)

    Arabic WordPress Site: Arabic.WordPress.net

ووردبريس العربي
Azeri - Azərbaycan

    AzÉ™rbaycan, WordPress Site: [unavailable]

Bangla - Bengali (bn_BD)

    Bengali localization of wordpress. Project Code: Meghdut
    Collaborative Translation portal

Where to find WordPress Plugins

Plugins are tools to extend the functionality of WordPress. This article contains a list of plugins by category, and links to other plugin repositories. The core of WordPress is designed to be lean, to maximize flexibility and minimize code bloat. Plugins offer custom functions and features so that each user can tailor their site to their specific needs.

For instructions and information on downloading, installing, upgrading, troubleshooting, and managing your WordPress Plugins, see Managing Plugins. If you want to develop your own plugin, there is a comprehensive list of resources in Plugin Resources.
Plugin Repositories

WordPress Plugins are available from several sources. The "official" sources for WordPress Plugins are:

    Official WordPress Plugins Repository
    WordPress Plugin Database at wp-plugins.net

Not all WordPress Plugins make it into the above repositories. Try searching the web for "WordPress Plugin" and the keywords for the type of functionality you are seeking.
Default Plugins

The following plugins are included with the WordPress core distribution:

Akismet
    Akismet checks your comments against the Akismet web service to see if they look like spam or not. You can review the spam it catches under "Manage" and it automatically deletes old spam after 15 days.
Hello Dolly
    This is not just a plugin, it symbolizes the hope and enthusiasm of an entire generation summed up in two words sung most famously by Louis Armstrong. Hello, Dolly. This is, by the way, the world's first official WordPress Plugin. When enabled you will randomly see a lyric from "Hello, Dolly" in the upper right of your Administration Panels on every page but the Plugins panel.

WordPress Plugins List

The WordPress Plugins once listed herein have been removed and are no longer updated. Please see the Official WordPress Plugin Directory and WordPress Plugin Database for current listings of WordPress Plugins.

How to install and manage plugins

Plugins are cool bits of programming scripts that add additional functionality to your blog. They offer new addition to your blog which either enhance already available features or add new features to your site.

Plugins extend the functionality of WordPress. The majority of WordPress users don't require Plugins, or only require a few, such as Plugins dealing with comment spam or customized post listings. Other users enjoy the varied options Plugins provide such as frequently updated weather reports, post word counts, rating systems, and more. Since the choice in Plugins is vast, and chosen based upon the needs of the user, they are not incorporated into the core of WordPress.

WordPress Plugins are designed by volunteers and are free to the public. Plugins listed in the sources below have usually been thoroughly tested and considered "safe". But remember, Plugins are the responsibility of the author and the user, and they are typically works-in-progress as WordPress grows and expands.

If you want to develop your own plugins, there is a comprehensive list of resources at Plugin Resources.
Finding Plugins

There is a list of WordPress plugins, and links to other repositories, in Plugins.
Plugin Compatibility

WordPress Plugin Compatibility indexes plugins compatible with various WordPress versions.
Installing Plugins
WordPress Plugins Panel
WordPress Plugins Panel
WordPress offers simple and easy ways of adding Plugins to your blog. From the Administration Panels, click on the Plugin tab. Once you have uploaded a plugin to your WordPress plugin directory, activate it from the Plugins Management page, and sit back and watch your plugin work.

Not all Plugins are so easily installed, but WordPress plugin authors and developers make the process as easy as possible. We've included more detailed information on how to install Plugins below, as well as some things you need to know before you install.
Things to Know Before You Install

There are a few things you need to know before you begin to install WordPress Plugins.

Know before you install.
    Read through the readme.txt files and web pages, as well as any comments regarding the Plugin on an author's website, before you install. The more you know before you install, the easier the process should be.
Plugins require downloading and uploading to install.
    You must be familiar with how to download and upload files and how to use FTP, if required.
Plugins may require modifying WordPress files and templates.
    Familiarity with PHP, HTML, CSS, and CHMOD may be necessary.
Record modifications.
    If you make any changes to the WordPress files or templates, make a note of it in the code by using comments before and after the changes, and in a text file saved to your site and on your desktop to remind you of any additions or modifications to your default files or templates. This will help you repeat these in the future if there are any problems with your site.
Make frequent backups!
    Some Plugins work independently of your blog's content and files, just adding a little something special to the page. Others require modification of content and files, including changes to your database. Before installing any plugin that will make dramatic changes, backup your database and files.

There are several versions of WordPress currently available, and different Plugins available for the different versions. Be sure and read through the information thoroughly to determine if the Plugin will work with your version, or check Plugins/Plugin_Compatibility. If not, consider upgrading.
Plugin Installation

To install a plugin, the following are the general directions to follow. Be sure and follow the specific instructions provided by the Plugin author. Remember: BACKUP - just in case.

    Read through the "readme" file thoroughly that usually accompanies a plugin, or the website article from where you found the plugin. It is often helpful to print out the instructions so you can check off the installation steps as you complete them.
    Upload the plugin to the wp-content/plugins folder in your WordPress directory online.
    Make any changes to templates or files as required by the Plugin instructions including adding Plugin template tags.
    Activate the Plugin:
        Access the Plugin Panel in your Administration Panels
        Scroll down through the list of Plugins to find the newly installed Plugin (if not visible, start from the beginning to check to see if you followed the instructions properly and uploaded the file correctly).
        Click on the Activate link to turn the Plugin on.
    Continue making any modifications necessary from the "readme" file instructions to make the plugin's actions meet your needs.

Hiding Plugins When Deactivated

Some plugins feature tags inside of the template files. If the plugin is not activated, it will "break" the Theme and it may report errors or fail to load. It is therefore imperative to prevent the plugin from being detected in case it is turned off.

To detect if a plugin is installed, you can use a simple function_exists() check. The if (function_exists()) checks for the plugin, and if it exists, it will use it. If it returns FALSE or "not found", it will ignore the plugin tag and continue loading the page.

<?php
if (function_exists('FUNCTION NAME')) {
  FUNCTION_NAME();
}
?>

This example plugin uses a function called jal_get_shoutbox() to print out its contents.

<?php
if (function_exists('jal_get_shoutbox')) {
  jal_get_shoutbox();
}
?>

Troubleshooting Plugins

If you are experiencing problems with a plugin you installed or one that stopped working after upgrading, the following are the steps you need to take to troubleshoot the plugin:

    Check that you have followed the plugin author's instructions to the letter.
    Check that any plugin tags or usage within your template files are correct, spelled right, and placed in the appropriate place, i.e., within the WordPress Loop or outside of it.
    Check that you uploaded the file to the plugins folder under wp-content. If you are uploading a new version to replace the old, delete the old version prior to uploading the new one.
    Check that the plugin has been activated in your Plugin Panel of your Administration Panels.
    Deactivate and re-activate the plugin to see if this makes it work.
    Visit the plugin author's website, typically linked from the Plugin Panel, and look to see if someone else is having the same trouble and an answer has been posted, or a new version released.
    Contact the plugin author directly via their website or email requesting assistance.
    Search the Internet for the name of the plugin and the trouble you are having as someone else might have had the same problem and found a fix and posted it on their site. TIP: Sometimes it helps to search for the plugin's filename.
    Visit the WordPress Support Forum (or WordPressMU Support Forum for WordPress Multi-User installs) and post a clear question about the plugin and the problem you are having and you may get an answer from someone familiar with the plugin.
    If the problem persists and you cannot seem to solve it, check to see if there are any similar plugins that you can try instead.

Upgrading WordPress May Break Plugins

Some plugins may become outdated and no longer work with the newer version of WordPress. If you have issues after activating a plugin, deactivate it and visit the Plugin's website to see if a newer version is available.

Many plugin authors will upgrade their plugins to accommodate the newer version, but some either won't, or their plugin becomes obsolete with the improvements in WordPress.
Plugin Management

Plugins are managed from the Plugins Panel in the Administration Panels of your WordPress site. All plugins listed on this screen are found in your wp-content/plugins directory. Each plugin has a description of what it does, an author and website to refer to, and a version number. If you do not see the plugin on the list, it is because it is missing the "header":

<?php
/*
Plugin Name: Magic Plugin
Plugin URI: http://example.com/magic-plugin
Description: Magic Plugin performs magic
Version: 2.3
Author: Mr. Magic
Author URI: http://example.com/
*/

You can add this information yourself by opening the plugin in a text editor and adding the above "comment", changing the information as follows:

Plugin
    Shows the plugin's name, and links to the plugin's website if one is provided. Plugins listed in bold are currently active.
Version
    The version number of the plugin.
Description
    The author's description of what the plugin does and who authored the Plugin.
Action
    Allows you to activate, deactive, or edit the plugin.
New version available
    If a newer version of a Plugin is available in the WordPress Plugin repository a message will display along with a link to the location to download that new version.

Activation and Deactivation

If your plugin requires changes to the WordPress code or your template files, you will need to enact or reverse those changes each time you activate or deactivate your plugin. Failing to do this will likely result in errors. There is also a link provided below the list of Plugins that allows you to Deactivate All Plugins.
Uninstalling Plugins

While Plugins are very useful, some Plugins just don't meet your needs, or you've stopped using them for some reason, or they just don't work. After deactivating the Plugin stops the Plugin's behavior, they tend to pile up in your Plugins panel, making your plugin list long and cumbersome to scroll through. If left there long enough, they might become obsolete with the new WordPress versions and cause problems if you decide to use them in the future.
Plugin Admin Screen
Plugin Admin Screen
Begin your Plugins housekeeping by visiting the plugin author's site to see if there are instructions on how to uninstall the plugin via the Plugins panel on the left side of the screen. Some plugins require adding tags and code to your Template files while others require modification of the WordPress administration files. Be sure and read through the plugin's uninstall instructions to remove each of these modifications so your site will not have errors when the plugin is turned off.

If no specific instructions for uninstalling exist, then read through the installation instructions to check for modifications, if applicable, and reverse their changes, if implemented. If it has been a long time since you used this plugin, you still might have left its modifications in your template files and forgotten them. Carefully remove them.

To remove a plugin, make sure the plugin is deactivated from the Plugins panel. Go to your website's wp-content/plugins folder (usually with an FTP program) and look for the file name of the plugin you want to remove. Select the file name and delete it.

If have your WordPress site on your hard drive, open the wp-content/plugins folder on your site and find the file name of the plugin you want to delete, select it and delete it. This way, if you have to restore or copy your Plugin folder to your website, you won't restore the unwanted plugin on your site.

Friday, May 3, 2013

Writing Posts on Wordpress

Posts are the entries that display in reverse chronological order on your home page. In contrast to pages, posts usually have comments fields beneath them and are included in your site's RSS feed.

To write a post:
    Log in to your WordPress Administration Panel.
    Click the Write tab.
    Start filling in the blanks.
    As needed, select a category, add tags, and make other selections from the sections below the post. Each of these sections is explained below.

When you are ready, click Publish.
Title
    The title of your post. You can use any words or phrases. Avoid using the same title twice as that will cause problems. You can use commas, apostrophes, quotes, hypens/dashes, and other typical symbols in the post like "My Site - Here's Lookin' at You, Kid." WordPress will clean it up for the link to the post, called the post-slug.

Post Editing Area
    The big blank box where you enter your writing, links, links to images, and any information you want to display on your site. You can use either the Visual or the HTML view to compose your posts. For more on the HTML view, see the section below, Visual Versus HTML View.

Preview this Post
    Allows you to see how your post will look before officially publishing it.

Publish Status
    Shows three states for the post: Published, Pending Review, and Unpublished. A Published status means the post has been published on your blog for all to see. Pending Review means the draft is waiting for review by someone else prior to publication. Unpublished means the post has not been published and remains a draft. If you select a specific publish status and then click the Save button, that status is applied to the post. For example, to save a post in the Pending Review status, select Pending Review from the Publish Status drop-down box, and then click Save. You can see all posts organized by status by going to Manage > Posts.

Permalink
    After you save your post, the Permalink below the title shows the potential URL for the post, as long as you have permalinks enabled. (To enable permalinks, go to Settings > Permalinks.) The URL is generated from your title. In previous versions of WordPress, this was referred to as the "page-slug." The commas, quotes, apostrophes, and other non-HTML favorable characters are changed and a dash is put between each word. If your title is "My Site - Here's Lookin' at You, Kid", it will be cleaned up to be "my-site-heres-lookin-at-you-kid" as the title. You can manually change this, maybe shortening it to "my-site-lookin-at-you-kid".

Save
    Allows you to save your post as a draft rather than immediately publishing it. To return to your drafts later, click the Manage tab, click the Drafts link that appears below the Manage Posts title, and then click your draft post.

Publish
    Publishes your post on the site. You can edit the time when the post is published by clicking the Edit link above the Publish button and specifying the time you want the post to be published. By default, at the time the post is first auto-saved, that will be the date and time of the post within the database.

Press This
    A Press This shorcut can be created by adding the Press This link to your favourites.

Tags
    Refers to micro-categories for your blog, similar to including index entries for a page. Posts with similar tags are linked together when a user clicks one of the tags. Tags have to be enabled with the right code in your theme for them to appear in your post.

Categories
    The general topic the post can be classified in. Generally, bloggers have 7-10 categories for their content. Readers can browse specific categories to see all posts in the category. To add a new category, click the +Add New Category link in this section. You can manage your categories by going to Manage > Categories.

Excerpt
    A summary or brief teaser of your posts featured on the front page of your site as well as on the category, archives, and search non-single post pages. Note that the Excerpt does not usually appear by default. It only appears in your post if you have changed the index.php template file to display the Excerpt instead of the full Content of a post. If so, WordPress will automatically use the first 55 words of your post as the Excerpt or up until the use of the More Quicktag mark. If you use an Explicit Excerpt, this will be used no matter what. For more information, see Excerpt.

Trackbacks
    A way to notify legacy blog systems that you've linked to them. If you link other WordPress blogs, they'll be notified automatically using pingbacks. No other action is necessary. For those blogs that don't recognize pingbacks, you can send a trackback to the blog by entering the website address(es) in this box, separating each one by a space. See Trackbacks and Pingbacks for more information.

Custom Fields
    Custom Fields offer a way to add information to your site. In conjunction with extra code in your template files or plugins, Custom Fields can modify the way a post is displayed. These are primarily used by plugins, but you can manually edit that information in this section.

Comments & Pings
    Options to enable interactivity and notification of your posts. This section hosts two check boxes: Allowing Comments and Allowing Pings. If Allowing Comments is unchecked, no one can post comments to this particular post. If Allowing Pings is unchecked, no one can post pingbacks or trackbacks to this particular post.

Password Protect This Post
    Allows you to keep this particular post private so that only those with the password can read it. Be sure and write down the password and keep it in a safe place.

Post Author
    A list of all blog authors you can select from to attribute as the post author. This section only shows if you have multiple users with authoring rights in your blog. To view your list of users, see Users tab on the far right. For more information, see Users and Authors.

WordPress Admin Writing Post Advanced Panel - Bottom of Page
WordPress Admin Writing Post Advanced Panel - Bottom of Page

Note: You can set basic options for writing, such as the size of the post box, how smiley tags are converted, and other details by going to Settings > Writing. See Writing Options SubPanel.
Best Practices For Posting

You can say or show the world anything you like on your WordPress site. Here are some tips you need to know to help you write your posts in WordPress.

Practice Accessibility
    To be compliant with web standards for accessibility, be sure to include ALT and TITLE descriptions on links and images to help your users, such as <a title="WordPress Codex" href="http://codex.wordpress.org/">WordPress Codex</a>.
Use Paragraphs
    No one likes to read writing that never pauses for a line break. To break your writing up into paragraphs, use double spaces between your paragraphs. WordPress will automatically detect these and insert <p> HTML paragraph tags into your writing.
Using Headings
    If you are writing long posts, break up the sections by using headings, small titles to highlight a change of subject. In HTML, headings are set by the use of h1, h2, h3, h4, and so on. By default, most WordPress Themes use the first, second, and sometimes third heading levels within the site. You can use h4 to set your own headings. Simply type in:
    <h4>Subtitle of Section</h4>
    with double lines before and after and WordPress will make that title a headline in your post. To style the heading, add it to your style.css style sheet file. For more information on styling headings, check out Designing Headings.
Use HTML
    You don't have to use HTML when writing your posts. WordPress will automatically add it to your site, but if you do want control over different elements like boxes, headings, and other additional containers or elements, use HTML.
Spell Check and Proof
    There are spell check Plugins available, but even those can't check for everything. Some serious writers will write their posts in a text editor with spell check, check all the spelling and proof it thoroughly before copying and pasting into WordPress.
Think before you post
    Ranting on blogs is commonplace today, but take a moment and think about what you are writing. Remember, once it is out there, it can be seen by many and crawled by search engines; and taking things back is harder once it is public. Take a moment to read what you've written before hitting the Publish button. When you are ready, share it with the world.
Write about what you like
    You’ve heard this a thousand times before and it sounds too cliched, but it is true. If you force yourself to write something that you don’t really enjoy, it will show. Perhaps you might not have a specific theme for writing when you just start, but that’s ok. You’ll become more focused later. Just enjoy the experience and write what you like.
Write frequently
    Write as frequently as you can, may be even more than twice a day, but don’t let quantity get in the way of quality. Your viewers come for content, don’t give them useless stuff.
Don’t use too much slang
    Not all the readers will be from your part of the world so make sure people can understand easily.
Don't hide your emotions
    Tempting as it might be, don’t hide your real emotions. After all that is what a blog is about. If you want, you can stay anonymous and voice your feelings on whatever you are passionate about. You might have strong views on various subjects but let your readers know your passion. What is passion worth if you can’t even share it? You’ll actually love the discussions it can lead to. The discussions will broaden your own thinking and you might end up making some really good friends.
Consider your readers
    Perhaps this sounds weird, but consider who needs to know about your blog before you tell them about your new blogging hobby. Will you be able to write freely if you tell them? How much should you let your readers know about you? Is it ok if your boss or girlfriend reads your posts? If you don’t want them to read, take anonymity measures accordingly.
Make use of comments
    Comments let people share their ideas. Sometimes, they might not be good, but you can ask such people to shut up. Most of the times, they will and if they don’t you can delete their comments. Blogging like real life, can be both fun and not so fun at times. Be prepared. Also, give your people a place to contact you in private if they want to write to you.
Worry about blog design later
    Blog design matters, but only to an extent. Don’t give up on blogging just because the design isn’t coming up as you’ll like it it to be. Sooner or later, you’ll get around the design problems with ease. But continue writing. Content is what attracts your readers, not just the look of your blog.
Don’t play too safe
    Talk about the real you. Readers aren’t impressed by how big your house is, which cool club you belong to, or what the weather is in your hometown. Don’t be a bore and put a long post on how you fixed the leaking tap in minutes. Readers don’t care about braggers, they care about the real you--how you feel, what gets you excited, why you are the person you are. But if achievements are all that you can talk about, you will bore your readers.
Use pictures and videos
    They make the pages colorful and viewers get to see a little of your part of the world. They feel connected.
Keep writing
    Don’t stop blogging. If you don’t have anything to write about, chances are, you are still holding back. Let loose. Perhaps surf more blogs and maybe you’ll get an idea. You can write about your friends, complain about your boss, or simply rant about what’s gone wrong. Yet if nothing else works, just write a review on the latest movie, book, or product. Easy actually.
Save your posts
    Save your posts before you press the publish button. Anything can happen with your computer or with an internet connection. You don’t need to lose your post.

Visual Versus HTML Editor

When writing your post, you have the option of using the visual or HTML mode of the editor. The visual mode lets you see your post as is, while the HTML mode shows you the code and replaces the WYSIWYG editor buttons with quicktags. These quicktags are explained as follows.

    b - <strong></strong> HTML tag for strong emphasis of text (i.e. bold).
    i - <em></em> HTML tag for emphasis of text (i.e. italicize).
    b-quote - <blockquote></blockquote> HTML tag to distinguish quoted or cited text.
    del - <del></del> HTML tag to label text considered deleted from a post. Most browsers display as striked through text. (Assigns datetime attribute with offset from GMT (UTC))
    link - <a href="http://example.com"></a> HTML tag to create a hyperlink.
    ins - <ins></ins> HTML tag to label text considered inserted into a post. Most browsers display as underlined text. (Assigns datetime attribute with offset from GMT (UTC))
    ul - <ul></ul> HTML tag will insert an unordered list, or wrap the selected text in same. An unordered list will typically be a bulleted list of items.
    ol - <ol></ol> HTML tag will insert a numbered list, or wrap the selected text in same. Each item in an ordered list are typically numbered.
    li - <li></li> HTML tag will insert or make the selected text a list item. Used in conjunction with the ul or ol tag.
    code - <code></code> HTML tag for preformatted styling of text. Generally sets text in a monospaced font, such as Courier.
    more - <!--more--> WordPress tag that breaks a post into "teaser" and content sections. Type a few paragraphs, insert this tag, then compose the rest of your post. On your blog's home page you'll see only those first paragraphs with a hyperlink ((more...)), which when followed displays the rest of the post's content.
    page - <!--nextpage--> WordPress tag similar to the more tag, except it can be used any number of times in a post, and each insert will "break" and paginate the post at that location. Hyperlinks to the paginated sections of the post are then generated in combination with the wp_link_pages() or link_pages() template tag.
    lookup - Opens a JavaScript dialogue box that prompts for a word to search for through the online dictionary at answers.com. You can use this to check spelling on individual words.
    Close Tags - Closes any open HTML tags left open--but pay attention to the closing tags. WordPress is not a mind reader (!), so make sure the tags enclose what you want, and in the proper way.

Workflow Note - With Quicktag buttons that insert HTML tags, you can for example click i to insert the opening <em> tag, type the text to be enclosed, and click /i or Close Tags to insert the closing tag. However, you can eliminate the need for this 'close' step by changing your workflow a bit: type your text, select the portion to be emphasized (that is, italicized), then click i and your highlighted text will be wrapped in the opening and closing tags.

The Quicktag buttons also have the accesskey JavaScript attribute set, so you may be able to use a keyboard equivalent (e.g., Alt-b for bold) to "press" the button, depending on your browser.

On Windows, IE and Firefox prior to 2.0b2 use Alt to activate accesskeys, while Firefox 2.0b2 uses Alt-Shift. On Mac OS X, Firefox uses Ctrl.

WordPress Semantics

WordPress was created by the developers as weblogging or blogging software. A blog, as defined in the Codex Glossary, is an online journal, diary, or serial, published by a person or group of people. Many blogs are personal in nature, reflecting the opinions and interests of the owner. But, blogs are now important tools in the world of business, politics, and entertainment.

Blogs are a form of a Content Management System (CMS) which Wikipedia calls "a system used to organize and facilitate collaborative content creation." Both blogs and Content Management Systems can perform the role of a website (site for short). A website can be thought of as a collection of articles and information about a specific subject, service, or product, which may not be a personal reflection of the owner.

The term Word in WordPress refers to the words used to compose posts. Posts are the principal element (or content) of a blog. The posts are the writings, compositions, discussions, discourses, musings, pictures, graphics, and, yes, the rantings of the blog's owner and guest authors. Posts, in most cases, are the reason a blog exists; without posts, there is no blog!

After a post is made public, a blog's readers will respond, via comments, to that post, and in turn, authors will reply. Comments enable the communication process, that give-and-take, between author and reader. Comments are the life-blood of most blogs.

An important part of the posting process is the act of assigning those posts to categories. Each post in WordPress is filed under one or more categories. Thoughtful categorization allows posts of similar content to be grouped, thereby aiding viewers in the navigation and use of a site. In addition to categories, terms or keywords called tags can be assigned to each post.

In turn, post categories are one of the elements of what's called post meta data. Post meta data refers to the information associated with each post and includes the author's name and the date posted as well as the post categories. Post meta data also refers to Custom Fields where you assign specific words, or keys, that can describe posts. But, you can't mention post meta data without discussing the term meta.

Generally, meta means "information about"; in WordPress, meta usually refers to administrative-type information. So, besides post meta data, Meta is the HTML tag used to describe and define a web page to the outside world, like meta tag keywords for search engines. Also, many WordPress-based sites offer a Meta section, usually found in the sidebar, with links to login or register at that site. And, don't forget Meta Rules: The rules defining the general protocol to follow in using this Codex, or Meta, as in the MediaWiki namespace that refers to administrative functions within Codex. That's a lot of Meta!

Finally, WordPress also offers a content management tool called a Page. Pages often present static information, such as "About Me", or "Contact Us", Pages. Typically "timeless" in nature, Pages should not be confused with the time-oriented objects called posts. Interestingly, a Page is allowed to be commented upon, but a Page cannot be categorized.
Terminology Related to Design

The flexibility of WordPress is apparent when discussing terminology related to the design of a WordPress blog. At the core of WordPress, developers created a programming structure named The Loop to handle the processing of posts. The Loop is the critical PHP program code used to display posts. Anyone wanting to enhance and customize WordPress will need to understand the mechanics of The Loop.

Along with The Loop, WordPress developers have created Template Tags which are a group of PHP functions that can be invoked by designers to perform an action or display specific information. It is the Template Tags that form the basis of the Template Files. Template Files contain the programming pieces, such as Template Tags, that control the structure and flow of a WordPress site. These files draw information from your WordPress MySQL database and generate the HTML code which is sent to the web browser. A Template Hierarchy, in essence the order of processing, dictates how Templates control almost all aspects of the output, including Headers, Sidebars, Archives, and Posts by Category.

Templates and Template Tags are two of the pieces used in the composition of a WordPress Theme. A Theme is the overall design of a site and encompasses color, graphics, and text. A Theme is sometimes called the skin. With the recent advances in WordPress, Theme Development has become a hot topic. WordPress-site owners have available a long list of Themes to choose from in deciding what to present to their sites' viewers. In fact, with the use of a Theme Switcher Revisited Plugin, WordPress designers can allow their visitors to select their own Theme.

Plugins are custom functions created to extend the core functionality of WordPress. The WordPress developers have maximized flexibility and minimized code bloat by allowing outside developers the opportunity to create their own useful add-on features. As evidenced by the Codex Plugins by Category and the Plugin Official Repository; there's a Plugin to enhance virtually every aspect of WordPress.

Terminology for the Administrator
Another set of terms to examine are those involving the Administration of a WordPress site. A comprehensive set of Administration Panels enables users to easily administer and monitor their blog. A WordPress administrator has a number of powers which include requiring a visitor to register in order to participate in the blog, who can create new posts, whether comments can be left, and if files can be uploaded to the blog. An Administrator also defines Links and the associated Link Categories which are an important part of a blog's connection to the outside world.

Some of the main administrative responsibilities of a WordPress blog involve adding, deleting, and managing Registered Users. Administering users means controlling Roles and Capabilities, or permissions. Roles control what functions a registered user can perform as those functions can range from just being able to login at a blog to performing the role administrator.

Another chief concern for the blog administrator is Comment Moderation. Comments, also called discussions, are responses to posts left for the post author by the visitor and represent an important part of "the give and take" of a blog. But Comments must be patrolled for Spam and other malicious intentions. The WordPress Administration Comments SubPanel simplifies that process with easy-to-use screens which add, change, and delete Comments.

The Terminology of Help
The final set of jargon relates to helping you with WordPress. There are many help resources available to WordPress users; Getting More Help, Finding WordPress Help, Troubleshooting, and WordPress FAQ (frequently asked questions) are good starting points. Also Getting Started with WordPress will jump-start readers into the world of WordPress and the excellent WordPress Lessons provide in-depth tutorials on many of the aspects of using WordPress. Among the most important resources is the WordPress Support Forum where knowledgeable volunteers answer your questions and help solve any problems related to WordPress. And, of course, this Codex which is filled with hundreds of articles designed to make your WordPress experience a success!

History of the WordPress Name
Besides the technical terminology of WordPress, it's also interesting to know the history of the name, WordPress. The name "WordPress" was originally coined by Christine Selleck (see related post) in response to developer Matthew Mullenweg's desire to associate his new software project with printing presses. In this sense, press refers to the world of reporters, journalists, columnists, and photographers. An aptly chosen name, because WordPress serves as the printing press that enables its users to publish their words. It's a good name, don't you think so?

First Steps With WordPress

You've just completed the famous 5 Minute Installation of WordPress without stress or fuss. WordPress is packed with many amazing features. So now that you've got it installed, what should you do?

Let's take a step-by-step tour through your WordPress site and learn about how all the different functions work and how to make your new site your own.

During the first part of this tutorial, we ask that you don't change anything within the program, unless it is part of the tutorial. Just follow these simple steps and soon you will be changing everything.
Starting from the Top

Begin by logging into the Administration Panel. This is the brain behind your website, the place where you can let your creativity explode, writing brilliant prose and designing the best and most lovely website possible. This is where the organization of your site begins - and this is just the start.

From the Administration Panel, from the top of the screen menu choose View Site. Like it? Don't like it? Doesn't matter, just look at it. This is where you are going to be spending a lot of time over the next few minutes, hours, weeks, months....
Test Driving Your WordPress Site

Take time to look at the site before you get into the changing of things and figuring out how all of this works; it's important to see how the default WordPress Theme is laid out and works. Consider this the test drive before you start adding on all the special features.

The layout you are looking at is called a Theme. It is the Presentation of your website, styling the look of the site. The default WordPress Theme features a blue "header" at the top with the title placeholder of your site. Along the side you will see some titles and links. This is your "sidebar menu." Within the main middle section of the page is the "post." At the bottom of the page is the "footer."

Let's look at the post for a moment. There is a title, and below the title is some information. This is called the post meta data and contains information about the post such as the date and time the post was made, the author, and the categories the post is in.

Scroll down the page and notice the bar at the end of the page. This is called the "footer," and for now it says "(your blog) is proudly powered by WordPress."

Back to the sidebar, you will see different sections with information. Among these you may find a list of Pages, Categories, Archives, Calendar, and Dates. This is part of the menu or navigation panel that people will use to move around your site, visiting posts from different categories or time periods.
It's All in the Details

Take time to notice the smaller details of this web page layout and design. Move your mouse over the title of the article post. Notice how it changes color. This is called a hover. Most Themes feature a distinctive color or change when you move your mouse over a link. Move your mouse over any of the links in the sidebar. Do they change? Is the change the same? You can change your link hovers to look different in different sections of your page, but typically they should be uniform. Also look at the color of the links. How are they colored to stand out from the rest of the text?

Observe the small design details and where they are placed within the page. In the near future, you may want to change some of these details, such as the color of the title in the blue box at the top of the page. If you remember that is called the header then you will know to look within the header section of your style sheet, the file that controls the look of your web page, when you want to make changes to it.Take a Quick Trip Around


For now you only have one post. It is residing within a page that is laid out as your home page or the front page. If you click on the title of the post, it will take you to the specific page for that post. The first page or home page of your site features the most recent posts on your site. Each post title will link to the actual page of the post. Some Theme designers design their single post pages to look different from the home page. By clicking on the title, you are taken to another web page that looks different from the home page.
WordPress Default Theme - Single Post Look
WordPress Default Theme - Single Post Look

Again, in the single post, pay attention to the layout and notice what is now different about the design elements. Is the header different? Smaller, larger, or a different color? Is there a sidebar? In the default Theme for WordPress, the sidebar disappears in the single post. Look at all the details and take note of the differences.

Posts are usually stored in categories so you can keep related topics together. Right now you only have one category, but will soon want more. Click on the single category that appears in the sidebar of the home page. You are now in a page that has been generated to display only the posts within that category. Again, take a look at the layout and see how it may be different from the home page and the single post.

Do the same with the Archives. You may only have one post, but look at how the pages are laid out. They may or may not change, but look at all of it to see how it all works.

All of these changes are created from only a few files called template files and you can learn more about how they work in Stepping Into Templates. For now, however, let's get on with how the rest of WordPress works.
Test Drive the WordPress Admin Panels
WordPress Admin Dashboard
WordPress Admin Dashboard

Now that you have an idea of how your site looks and what the different layout sections are called, it's time to test drive the WordPress Administration. This is like familiarizing yourself with the dashboard of your new website. In fact, the first page you see after logging in is called The Dashboard.

The Dashboard is a new feature in WordPress v1.5. It helps to keep you up to date on new and interesting bits of information from the many WordPress resources. In the corner it also features a list of the most recent activity you've done on your site.

Across the top of the Admin screen is the main menu, which says:

    Dashboard
    Write
    Manage
    Links
    Presentation
    Plugins
    Users
    Options
    Logout (name)

User Profile Panel
User Profile Panel

The links in the above list will take you to a series of articles that will guide you step-by-step through every aspect of the Admin panels. You're anxious to get started, so for now, let's start with the Users panel.

Click on the Users tab. The screen will change and you will see the panel called Profile. This is where you will enter information about you, the author and administrator of the site. In the next tab called Authors and Users you can set up more authors. Let's stick with you for right now. Fill in the information and click Update Profile when done.

Now, let's look at the powerful feature functions of the WordPress Admin.
Quick Changing the Look

The Presentation panel allows you to change the look of your site using Themes. Themes are presentation styles that completely change the look of your site. Designed by WordPress users, there are hundreds of themes available for you to choose from. In your Presentation panel, you will see two themes, classic and default. To try this quick-change process, simply select Classic and then click View Site to see how it looks. Wow, you have another look and nothing else on the site has changed. It's that easy.

Go back to the Presentation panel (Back button on your browser) and select Default to bring the design back to what you had. To see it again, click View Site, and there it is. Honestly, it is that simple.
Writing and Managing Posts

Back in the Admin panel, take a look at the Write panel, and the Manage panel. You can use the tabs under the Write Menu to write posts and Pages. Using the tabs under the Manage menu, you can manage the posts and Pages in your site.

Let's start by making your first test post in the Write Post tab.

If the screen looks a little intimidating, the Codex article on Writing a Post will take you step-by-step through the process of writing a post. Take a moment to read through the article and post your first entry and then return to this article and we'll take you onto the next step.

If you are in a hurry, then simply fill in the blanks, one by one, in the post beginning with the title and then write a little test message in the post window. This is just for a test, so you can write anything you want. When you are done, click PUBLISH below the post entry window and it is done. You will then see a blank Write a Post screen and you're ready to write another one. Go ahead. But do only three to four entries. We have more exciting work ahead of us.

Now that you've gotten a feel for writing posts, you can view your posts by clicking View Site at the top of the screen. Now it's time to get down to the real work.
Planning Session

All good websites come from a good plan. Sounds redundant, but it's true. If you want to create a good and solid website, you need a good and solid plan. I know it's hard to do, and I know you want to keep poking and playing with this exciting program, but it is time to take a break away from your computer and turn to the old paper and pen. That's right, we're going back in time to when people actually wrote things down.

On a piece of notebook paper, or whatever is lying around, describe your site. Take five to twenty minutes to come up with a purpose for your site, or better yet, call it your Mission Statement.

Answer the following questions:

    What am I going to do with this?
    Who is going to read this?
    What kinds of information will I be posting?
    Why am I doing this?
    Who am I doing this for?
    How often am I going to be posting and adding information?

Now, compile this information into a paragraph so it looks like this:
This website will be dedicated to X, Y, and Z,

and cover the topics of A, B, and C. The audience will

be __________ ________________ _______. I will be adding

posts every _____________ about ________ _______ ______________.

I am doing this because _____________ _____________ __________________.


Using the Information

From this exercise, we've gathered a lot of information. We've uncovered information on how you might layout and design your site. If you know your audience is mostly made up of young people under the age of 25, you will probably want a fashionable look ranging from wild colors and crazy graphics to dark foreboding tones. Something appropriate for that generation. If you are providing factual information about a serious subject, then you will probably want a more conservative look where the information is more important than a lot of pop and flash.

You probably already have a design idea in mind, or you will be copying over from your previous site, but take a moment to use this information to reconsider your design, and to see how what you want will work with the WordPress options.

You have also uncovered the possible categories for your site. The topics and subjects you will be covering are listed in your purpose statement. Let's say your purpose statement said,

            "The website will be dedicated to providing news and information on computers, web pages, and the Internet and cover the topics of computer tips, web page design, and Internet news."

Your topics are your categories. Write your categories down below your purpose paragraph and notes about your web page design.

Now, what subcategories might be under these topics? Under Computer Tips, you might want to segregate them by Windows, Linux, and Mac. Or maybe Software and Hardware. You can have sub-sub-categories, but let's stop with subcategories for right now. Write these down.

Remember the question about why you are doing this? Is it because you have valuable and timely information or knowledge to share, because you want to talk about a subject that interests you, or maybe because you just think it will be fun to do. Why not? Everyone's doing it!

Understanding the timeliness of the information you want to present on your site helps you organize the information on your website. Your website is organized by several different methods. If the date of when you posted the information is critical to the success of the page, then having links to your posts referenced by date is important. If the information itself is more important and timeless, then having your posts referenced by category is the best choice.

Have you noticed that you are starting to lay out your website? If you remember our earlier test drive of your new WordPress website, we examined the sidebar menu. This is the area where your past posts are organized. If you take another look (yes, you can go back to your computer for a moment), you will see the sidebar is laid out in a list by Archives by date, Categories by category, and may even feature a calendar (turned off in the Default Theme but visible in the Classic Theme).

As you lay out your website on paper, consider whether you want both categories and dates, or just one of them in your sidebar. What information you have and how you want to help the user find the information is critical to your website design.
What Information Do You Want to Share

As you think about what information the user will need to know, you have to consider what information you are willing to share with them. That information may include how to contact you, what the purpose of the site is, who you are, and what your expertise is.

WordPress v1.5 offers a new feature called Pages which makes the process of presenting this information in an easier fashion. Pages, similar to posts, are most commonly used to present unchanging information such as Pages for About Us, Contact Us, Sign Up for Our Mailing List, and other static information. Before creating your individual Pages, you need to think about what information you would like the Page to hold. Write down the possible Page titles and describe the information you are willing to share online on each Page.
Comments

Part of the fun of WordPress is the ability to have viewers leave comments on your site. It creates a dynamic interchange between you and the viewer. Do you want comments on your posts? Comments on posts come in a variety of forums, from pats on the back (Good job! Like the post!) to extensive conversations and commentary about the posts turning into long chats. Or maybe you are seeking comments that add to the information you've posted. How you present your comment form, and whether you do or not, invites people to comment.

Responding to comments and moderating them can also take up a lot of time. If they are critical to your site, then include them and consider how you want them presented. Go back to your test site; the first post created at the time of installation includes a sample comment. You can even make a few comments yourself on the posts you created. Take a look at how they are laid out and consider how you might want them to look to fit into the design and layout of your site.

When you have reached your decision about how you want to handle comments, take time to read through the article on comments and WordPress discussion options to help you set those features.

With this basic information, you are ready to return to your computer and start laying out your site and setting it up.
Setting Your Site Up

Before you get to the graphic look of your site, let's do a little more administration to your site to set it up. Consider making your first plugin installation the Codex and Forum Searcher Plugin. It allows you to search both the WordPress Codex and WordPress Support Forum from your WordPress Administration Panels. Click on one of the search results and the page will open in a new window or tab so you can have the article or discussion open while working on WordPress. This will make your transition to WordPress a much gentler one with information right at your fingertips.

You can also work from this page by clicking on a link with a Right Click and opening the documents in a new window or tab, so you can read along as you work on your site.

Let's start with making those categories written down on your list.
In the Manage > Categories tab, click Add Category and fill in the information about your category. Continue to add your parent categories, going down the list. Hold off on entering sub-categories until all the main categories are entered.

        NOTE: You can add any new categories any time, but make a note of the fact that categories can be sorted in WordPress in two ways: by name (alphabetically) or by ID number. As you enter the categories, they are assigned an ID number. It is difficult to change this, so if you don't want your categories sorted alphabetically, enter them in the order you want to see them presented on the screen.


When you have the parent categories entered, enter your sub-categories. In the pull down menu for Parent Category, you can select the parent to the sub-category you are adding. When you view your categories in the Manage > Categories panel, you will see the categories listed like this:

Computer Tips

    - Windows
    - Linux
    - Mac

Internet News
Web Page Design
    - Web Standards
    - WordPress

        - - Plugins
        - - Themes

Put Posts in Categories
  • Let's put some of your test posts into categories so you can see how this works.
  • WordPress Admin Manage Posts
  • WordPress Admin Manage Posts

From the Manage > Category panel, click on the tab for Posts. You should see the test posts you entered here. To the right are three links that say: View - Edit - Delete. Click on Edit to edit one of the posts. On the right side of the Edit Post screen you will now see your Categories. Choose one of them by clicking in the box next to it. Then scroll down the page and click SAVE. Repeat this for your other test posts, putting each one in a different category.

Now view your page by clicking View Site at the top of the Admin panel. Do you see the categories listed in the sidebar now? Great. If you are missing a category, that usually means that there are no posts in it. This is the default function of WordPress, so not to worry. When you add a post to the "missing" category, it will appear on your web pages. Click on one of the categories and you will be taken to a page for just that category. You should see the posts that went into that category. This is a generated Category page.

Now, click on the Archives for the month showing. Now you are visiting a generated page of your posts listed in chronological order for this month - well, specifically for today only. Two methods of finding the same information.
Preventing Spam

There is more to think about when it comes to having comments on your site. Unfortunately we live in a world where spam is a fact of life. It is recommended that you begin battling the comment spammers with the helpful article, Introduction to Dealing with Comment Spam.
What is Next

You've now done all the basics for your new WordPress website. You know how to write a post, create a category, and how to view your site's information by category and archive. You can start the customization process, and when you are done, don't forget to delete your test posts! Then start writing some wonderful information to share with your new-found public!
Customizing Your WordPress Site

Once you are familiar with how WordPress works, it's time to get creative and start customizing. The tutorial now splits into different subjects that require no order. From here on you can do whatever you want, adding and subtracting, perfecting and scrambling your site at will. The amount of effort you put into the site is now up to you. You can work with the two WordPress Themes that came with the installation, or seek out another Theme that better meets your needs. You can totally customize all the links and information, or get serious and completely re-design the entire site to do whatever you want. You have the basics, the rest is up to your imagination.

Finding a WordPress Theme
    Look for one that better suits the look you desire on your site.

Customizing the Look
    When you are ready to plunge into the code, you can customize the look and layout of the site through CSS and modifing the Themes (or create your own).

Enhance Your Site with Plugins
    Plugins add function and sometimes fun to your site. There are hundreds of different plugins from adding custom links like related articles to your sidebar to adding weather reports.

WordPress Themes
There are hundreds of WordPress Themes to choose from. All do basically the same thing but graphically present the information in a myriad of ways. Choose a few that look interesting to you, and meet your audience's needs and your desires, and then test drive them following the test drive instructions above. Click through the whole site, the categories and archives as well as the individual posts to see how the Theme handles each one. The look may be nice on the front page, but if it handles things in a way you don't like on the single post, then you will have to dig into the code and make changes. Not ready for that, try another theme.

If you run into problems, check out the Codex's Troubleshooting Themes article.
Customizing The Look

If you are familiar with CSS, HTML, and even PHP and MySQL, consider customizing the Theme to your own needs. This is not for the timid, and it is for the informed and experienced. If you want to expand your web page design and development skills, WordPress can help:
  •     Using Themes
  •     Theme Development
  •     Stepping Into Templates
  •     Templates Files
  •     Blog Design and Layout
  •     CSS Overview, Tips, Techniques, and Resources
  •     FAQ - WordPress Layout
  •     Stepping Into Template Tags
  •     Template Tags
  •     CSS Troubleshooting
  •     CSS Fixing Browser Bugs

WordPress Plugins
Plugin Panel
Plugin Panel

WordPress Plugins are also known as add-ons or extensions. They are software scripts that add functions and events to your website. They cover the gamut from up-to-date weather reports to simple organization of your posts and categories. Plugins are designed by volunteer contributors and enthusiasts who like challenges and problem solving. They are usually fairly simple to install through the WordPress Admin Plugin panel, just follow the instructions provided by the plugin author. Remember, these are free and non-essential. If you have any problems with plugins, contact the plugin author's website or plugin source first, then search the Internet for help with that specific plugin, and if you haven't found a solution, then visit the WordPress forums for more help.
  •     WordPress Plugin Repository
  •     WordPress Plugins
  •     Managing Plugins
  •     Plugins

Above and Beyond the Basics

The exciting thing about WordPress is that there are few limits. Thousands of people are using WordPress for blogging and for running their websites. All have a different look and different functions on their sites.

Wednesday, May 1, 2013

Changing File Permissions

On computer filesystems, different files and directories have permissions that specify who and what can edit and read them. This is important because WordPress may need access to write to files in your wp-content directory to enable certain functions.

Here is one possible permission scheme.
All files should be owned by your user account, and should be writable by you. Any file that needs write access from WordPress should be group-owned by the user account used by the webserver.

  •     / - The root Wordpress directory: all files should be writable only by your user account
  •         EXCEPT .htaccess if you want WordPress to automatically generate rewrite rules for you
  •     /wp-admin/ - the WordPress administration area: all files should be writable only by your user account.
  •     /wp-includes/ - the bulk of WordPress application logic: all files should be writable only by your user account.
  •     /wp-images/ - image files used by WordPress: all files should be writable only by your user account.
  •     /wp-content/ - variable user-supplied content
  •         /wp-content/themes/ - theme files. If you want to use the built-in theme editor, all files need to be group writable. If you do not want to use the built-in theme editor, all files can be writable only by your user account
  •         /wp-content/plugins/ - plugin files: all files should be writable only by your user account.
  •         other directories under /wp-content/ should be documented by whatever plugin / theme requires them. Permissions will vary.
  •         The WordPress Database Backup Plugin requires the /wp-content/ folder be made writeable. In some cases, this may require assigning 755 permissions or higher (e.g. 777 on some hosts). 
 Using an FTP Client

FTP programs ("clients") allow you to set permissions for files and directories on your remote host. This function is often called chmod or set permissions in the program menu.

In a WordPress install, two files that you will probably want to alter are the index page, and the css which controls the layout. Here's how you change index.php - the process is the same for any file. In the screenshot below, look at the last column - that shows the permissions. It looks a bit confusing, but for now just note the sequence of letters.
Initial permissions
Initial permissions

Right-click 'index.php' and select 'File Permissions'
A popup screen will appear.
Altering file permissions
Altering file permissions

Don't worry about the check boxes. Just delete the 'Numeric value:' and enter the number you need - in this case it's 666. Then click OK.
Permissions have been altered
Permissions have been altered

You can now see that the file permissions have been changed.
Unhide the hidden files

By default, most FTP Clients, including FileZilla, keep hidden files, those files beginning with a period (.), from being displayed. But, at some point, you may need to see your hidden files so that you can change the permissions on that file. For example, you may need to make your .htaccess file, the file that controls permalinks, writeable.

To display hidden files in FileZilla, in it is necessary to select 'View' from the top menu, then select 'Show hidden files'. The screen display of files will refresh and any previously hidden file should come into view.

  1. To get FileZilla to always show hidden files - under Edit, Settings, Remote File List, check the Always show hidden files box.
  2. Using the Command Line

If you have shell/SSH access to your hosting account, you can use chmod to change file permissions. Before you start using chmod it would be recommended to read some tutorial like this and also the manual page to make sure you understand better what you can make with it.

You can make all the files in your wp-content directory writable in two steps:
  1.     Go to your WordPress main directory, with a command like cd wordpress/
  2.     Enter chmod -R 777 wp-content

What does this mean? chmod is a unix command that means "change mode" on a file. The -R flag means to apply the change to every file and directory inside of wp-content. 777 is the mode we are changing the directory to, it means that the directory is readable and writable by WordPress. Finally, we have the name of the directory we are going to modify, wp-content.

If you use Permalinks you should also change permissions of .htaccess to make sure that WordPress can update it when you change settings or add some new Page (which requires update of the file to work when Permalinks are enabled).
  1.     Go to the main directory of WordPress
  2.     Enter chmod 666 .htaccess


 

Importing from Other Blogging Systems Into WordPress

WordPress currently supports importing data in the form of posts (articles) and most of the details or features supported by the content publishing platform.

Most of the following Content Import scripts can be found under the "Import" tab of your WordPress administration interface.

If you run into specific problems, a search on the WordPress Support Forum will likely lead to a solution or try the Codex FAQ. Users of a blogging system not listed here who wish to switch to WordPress are invited to ask for help in the WordPress Support Forum as well.

To help you understand the differences between WordPress and other existing software, we recommend you review the WordPress Features and more on Working with WordPress.
b2

The script for importing b2 posts into your WordPress blog is located on your site in the wordpress/wp-admin/import-b2.php.

(Note: In Wordpress 2.0.2, this is no longer true. There is a b2.php file under wordpress/wp-admin/import, however, it is empty.)
b2evolution

There are currently two methods of importing a b2evolution install into Wordpress described in this section.

Direct Import Between Databases

A non-WordPress script for for importing from b2evo to WordPress 2.x is available (legacy importer for WordPress 1.x).

Instructions:

    Install WordPress

    Download file, remove .txt extension, and upload to your wp-admin directory
    Run the script and input your b2evo database name and password

Done! Details about the script and usage can be found in this forum topic with discussion and updates

This script has currently not been updated since September 2006 and is incompatible with the current (v1.9) b2evolution database structure.

Import via Movable Type Export Format

The second approach is to re-skin a b2evolution blog so that when its source is viewed it appears to be in the Movable Type export format. This approach, which should work for all versions of Wordpress, and all recent versions of b2evolution is described in full on this page.
Blogger

Users of WordPress 2.2 and above can import from Blogger. Earlier versions cannot import from Blogger because "New Blogger" was released by Google, invalidating all the old importers. Only WordPress 2.2 and later has support for "New Blogger".

If you haven't already, you must be using New Blogger and a Google Account on Blogger. If you are still using Old Blogger, the importer will not work.

To start the importer, go to Manage → Import → Blogger and follow the directions.
Blogware

    A Guide to Importing from Blogware to WordPress

Target page no longer exists. There is an import function built in to WordPress 2.5.1
Blosxom

    A Xcript for Importing from Blosxom to WordPress

    Perl script for converting Blosxom entries to WP-friendly RSS (Picky about html correctness in Blosxom entries, including final slash in img and br tags.)

Dotclear

    View the tutorial(en) to import a Dotclear blog into a WordPress 2 one.

Drupal

    Detailed migration of Drupal 4.7 to WordPress
    Migrating Drupal to WordPress

e107 CMS

You can find a dedicated script to import e107 news, categories, users, custom pages and comments to Wordpress on Coolkevmen's blog.

Greymatter
The script for importing Greymatter posts into your WordPress blog is located at wp-admin/import-greymatter.php.

The script is fairly old. It was originally written to import from Greymatter to b2. There have been cases where the import script does not work with WordPress 1.5. In these cases, you can try this workaround:

    Install WordPress 1.2
    Import from Greymatter
    Then upgrade to WordPress latest version

You can also read the forum thread at http://wordpress.org/support/topic.php?id=24110 for other workarounds. 
Jogger.pl

There's a script that allows to import entries and comments from Jogger.pl - Polish, Jabber-powered weblog system. Comments and manual are in Polish (since Jogger is mostly polish), but if you have any questions, feel free to ask in comments on author's blog.
LiveJournal

The script for importing LiveJournal posts into your WordPress blog is located at wp-admin/import-livejournal.php (Manage → Import → LiveJournal). It is available in WordPress 2.1.1. WordPress 2.3 and above, it is located at wp-admin/import/livejournal.php

The LiveJournal importer requires you to export entries from your LiveJournal account in XML format. Instructions for exporting LiveJournal entries can be found at LiveJournal export instructions. This tools seems to require exporting your journal one month at a time. However. the import tool will happily accept all the entries in a single file, so you may save them all in the same file. You may also have to do a "View Source" on the page that the Livejournal export tool returns, in order to see the XML source. You can then copy and paste this into a file to import.

If your exported XML file is very large (several years' worth of content, for example), the import script may run into your host's configured memory limit for PHP. A message like "Fatal error: Allowed memory size of 8388608 bytes exhausted" indicates that the script can't successfully import your XML file under the current PHP memory limit. If you have access to the php.ini file, you can manually increase the limit; if you do not (your WordPress installation is hosted on a shared server, for instance), you will have to break your exported XML file into several smaller pieces and run the import script on the one at a time.

    http://heinous.org/wiki/LiveJournal_XML_Export_Script has a perl script (ljexport.pl) that can export all LJ entries to one XML file for a range of years, saving the trouble of having to manually pull this for each month.
    LJ Archive is a Windows-only exporter for LiveJournal.

Live Space (MSN Space)

    Live Space Mover

Mambo

    A Script for Importing from Mambo to WordPress (ZIP)

Motime - Splinder

These are brands of the blog hosting provider Tipic Inc.

Using a python script named Spleender, you can import the posts (not the comments), see an English case study or the full documentation in Italian.

You can import comments, posts and categories also using the WP Plugin Splinder/Motime Importer, see an English quick guide or the full documentation in Italian.
Pivot

There is a script: Importing posts from Pivot 1.2 with *Linux* server to WordPress

There is another script, which has been updated to work with WordPress 2.0: Pivot importer for WordPress. It tries to preserve users and categories.

However, Pivot also has an excellent RSS support and that WordPress can import RSS. Example.
Movable Type

To import from Movable Type, select the Manage tab, then the Import sub-tab. You can also run the import.php program manually. It is located on your site in the wordpress/wp-admin/import.php. Select the link Movable Type and TypePad.

    Importing from Movable Type to WordPress
    Scot Hacker's "Notes on a Massive WordPress Migration"

Nucleus CMS

    A Guide to Importing from Nucleus CMS
    James Sasitorn's Script for Importing from Nucleus CMS mentioned in http://wordpress.org/support/topic/2893
    Nucleus zu WordPress-Konverter, a script for converting, with German explanation.
    Tested working importing from NucleusCMS 3.24 to Worpress 2.1
    Ultimate NucleusCMS to any blog migration: Adding any blogging engine, including wordpress, to a nucleus directory, keeping all old URLs intact and without issues with images etc.

Radio Userland

    A Guide to Importing from Radio Userland

Roller

You can fairly easily import data from Roller using the MovableType import script. First, you need to export your blog from Roller database, then use it to create entries in your new blog. Pictures you need to copy to appropriate content directory yourself. Modify the $user, $oldresources, $newresources, and $connection variables in a beginning of script, store it on somewhere on you web host where php execution is allowed, and you will get the dump of your Roller blog in MovableType Import format in return. You can just use wget to store it into file. Then follow the instructions for MovableType import...

    Importing From Roller is complete and comprehensive. This should work for Roller pre-2.0 release. After Version 2.0, the comment table is changed to roller_comment. Just change the select statement to roller_comment.

    Also have a look another technique explained at the blog Null Pointer.

Textpattern

The script for importing Textpattern posts into your WordPress blog is located at wp-admin/import-textpattern.php.

Another script may be found on the WordPress Forum on this forum thread.

(Update March 31, 2007) The wordpress textpattern.php import script seems to be buggy. Therefore, another script(hack of the wordpress-included one) and step-by-step importing instructions are to be found over here.
TypePad

The Importing from Movable Type to WordPress works for TypePad blogs, too. The only difference is in the process of exporting entries from the TypePad blog. Contact TypePad support for instructions on exporting entries from TypePad. Once you have the exported entries, follow the instructions in Importing from Movable Type to WordPress to complete the import into WordPress.
Typo

    Script and instructions for automatically importing typo articles, pages, comments, categories and tags into WordPress

web-log.nl

    Script and Instructions for Importing from web-log.nl to WordPress

WordPress

To import from a WordPress export file into a WordPress blog follow these steps.

    Log into that blog as an administrator.
    Go to Manage: Import in the blog's admin panels.
    Choose "WordPress" from the list.
    Upload this file using the form provided on that page.
    You will first be asked to map the authors in this export file to users on the blog. For each author, you may choose to map to an existing user on the blog or to create a new user
    WordPress will then import each of the posts, comments, and categories contained in this file into your blog

Xanga

xanga.r is a program that parses xanga pages to get the post and comments. Then it can output them in the WordPress rss 2.0 xml format for WordPress to import.
Xanga Archives

If you had paid for Xanga Premium and saved your archive files before switiching to WordPress, an importer can be found here.
Zoomblog

These are the instructions to import your posts from Zoomblog:

    Go to your Zoomblog account and export your blog data (it generates an XML file).
    Download the Zoomblog importer from here. Save it as zoomblog.php and upload it to your wp-admin/import directory.
    Login into WordPress and go to Manage:Import:Zoomblog.
    Choose the Zoomblog XML export file and it should be done.

It imports all posts and comments, and creates new categories, though, unfortunately, there's no way to figure out the proper category name, so you'll have to edit them afterwards. It does not deal with multiple authors.
Importing from an RSS feed
2.0.x

2.0 introduced this as an option in the Admin menu under "Import".

First, save the RSS feed you wish to import someplace on your local machine. This would be the source and would come from the site that has the content you wish to import into your WP blog. A simple way to get the feed into a text file is to find the RSS link for that site, click it and view it in your browser, then copy/paste that to a text file. Or, of course, use your preferred tools.

Click the "Browse" button and navigate to the file containing the feed you wish to import and click "Import" to let it run.

Note: Depending on the feed and format, you may not get the entire thing loaded on the first attempt. One option is to determine how much got imported (Manage -> Posts) and remove those sections from your saved RSS file and then re-import. Lather, rinse, repeat as necessary.
Pre 2.x

WordPress also has a generic RSS importer, which you can find in your WordPress source at wp-admin/import-rss.php. If your current blogging system can export in a valid RSS format, you can import that into WordPress.

Importing the RSS data is done by running the import-rss.php script from the server. For security reasons you have to edit the script to point to the file where the RSS data is stored.

If you have your blog at http://example.com, you can place your file, for example oldblog.xml, in the wp-admin directory on your site.

Edit import-rss.php by changing the value of RSSFILE in the beginning of the script. After you have changed this, run the script by accessing the script with your browser, in this case you’ll go to http://example.com/wp-admin/import-rss.php.

If the script finds your file, a link marked Begin RSS Import occur, and by pressing this link the import will start.

The RSS data are now imported, and you can remove the RSS file and restore the script.

Saturday, April 27, 2013

WordPress Installation Techniques

In addition to the typical installation of WordPress, there are other ways to install WordPress to consider.


What to use WordPress in a language other than English? There are various versions, tips, sites, and support forums for the various languages of WordPress. Considering moving your old blog to WordPress? If you are working on developing WordPress Themes or Plugins, you may consider installing WordPress to your computer so you can work without connecting to the Internet. There are also tips for installing WordPress to a Linux server.

If you are new to WordPress, we recommend that you start with the introduction to installing WordPress and review the hosting requirements, working with FTP client programs, and be sure you know how to change file and folder permissions on a server.

These special installation techniques are not for the novice. Be sure you backup everything and keep extra copies of your WordPress files, Themes, and Plugins, just in case.

If you are nervous about installing WordPress, do not use these special techniques. Use the simple to use WordPress installation instructions and guide or get volunteers to help you from Install4Free WordPress, a service supported by WordPress volunteers.
Installing WordPress in Your Language

To install WordPress in a language other than English, see Installing WordPress in Your Language and WordPress in Your Language for support and files.
Moving to WordPress

If you are moving to WordPress from another blogging platform, these articles and tips may help you to import your former blog's content into your new WordPress blog.
  •     Importing from Other Blogging Systems Into WordPress
  •     Moving WordPress
  •     Importing from Movable Type to WordPress
  •     Importing from b2
  •     Importing from b2evolution
  •     Importing from Blogger
  •     Importing from Blogware
  •     Importing from Blosxom
  •     Importing from Dotclear
  •     Importing from Drupal
  •     Importing from e107 CMS
  •     Importing from Greymatter
  •     Importing from Jogger.pl
  •     Importing from LiveJournal
  •     Importing from Live Space (MSN Space)
  •     Importing from Mambo
  •     Importing from Motime - Splinder
  •     Importing from Pivot
  •     Importing from Nucleus CMS
  •     Importing from Radio Userland
  •     Importing from Roller
  •     Importing from Textpattern
  •     Importing from TypePad
  •     Importing from Typo
  •     Importing from web-log.nl
  •     Importing from WordPress
  •     Importing from Xanga
  •     Importing from Xanga Archives
  •     Importing from Zoomblog
  •     Importing from Importing from an RSS feed
  •     Importing from Roller to WordPress

Updating/Upgrading WordPress

There are various ways to update your WordPress blog.
  •     Upgrading WordPress
  •     Installing/Updating WordPress with Subversion
  •     InstantUpgrade WordPress Plugin (offsite)

Installing WordPress Locally

There are a variety of articles on and off the WordPress Codex to show you how to install WordPress locally - on your own computer. These techniques involve installation of files and programs that turn a portion of your computer's hard drive into a server.
  •     Install WordPress Locally on MacOS X (offsite)
  •     Install WordPress Locally on MacOS X with MAMP (offsite)
  •     Install WordPress Locally on Debian Etch using .deb
  •     Install WordPress Locally on Gentoo Linux (offsite)
  •     Install WordPress Locally on Windows with 'Web-Developer' Server Suite (offsite)
  •     Install WordPress Locally on Debian Linux (offsite)
  •     Install WordPress Locally on Ubuntu Linux with LAMP (offsite)
  •     Install WordPress Locally on Windows XP with XAMPP (offsite)
  •     Install WordPress Locally with WAMP (offsite)

Using Various Web Host Interfaces

Some web hosts allow installation of WordPress through their server interfaces. Here are some articles on how to use the most popular web host interfaces.
  •     Uploading WordPress with FileZilla
  •     Installing and Using WordPress in cPanel
  •     Installing WordPress Using phpMyAdmin
  •     Installing WordPress Using the MySQL Client
  •     Installing WordPress Using Plesk

Customizing Your WordPress Installation

There may be times when you need a custom form of installation to work WordPress into an already existing website or installing it to its own directory on your server.
  •     Moving WordPress
  •     Moving to a New Server
  •     Uploading WordPress to a Remote Host
  •     Installing Multiple Blogs
  •     Creating a Static Front Page
  •     Integrating Wordpress with Your Website
  •     Giving WordPress Its Own Directory
  •     "Hiding" WordPress Installation Files (offsite)

Monday, April 1, 2013

Common Errors after transfer WordPress to new server

WordPress is most well liked blogging framework of PHP. When any one try to move the wordpress website from one server to other site than there is some mistake will come. This mistake is not a large-scale matters and it can be explained by easy modification. There are many monarch of mistake come after transferring and underneath are the solution of this kind of some mistake.
Database mistake

mistake) Database mistake after uploading location in new server
This is just because of you require to change database title, username and password in config file. You need to change all like below connection step by step.

answer)
Check it step by step.
404 mistake

Error) 404 not discovered mistake when bang on mail after move to new server
This type of mistake arrive when you have changed in “GENERAL > Permalink” to make “/%postname%/”. This is because there is some application finished in .htacess document.

answer) you need to go to “GENERAL > Permalink” and make it default option than check the location and bang on post connection. If you open the post than change it afresh to “/%postname%/”. So you will get precisely same as before.
list Not brandish

Error) major menu not brandish.
Solution)This is difficulty when you change server or use other theme on website. You can easily go to “Appearance > list” and set it again. so you will get menu as it is.
Images Not brandish

mistake) Some images is not display.
answer) This kind of problem happens because you didn’t use benchmark connection of likeness. In any php document you have utilised “[URL]/wp-admin/[folder location]” this kind of URL. But you require to make it just like that “/wp-admin/[folder location]“. No require to use your domain URL to compose in link.