Hi, how are you? Hope you’re doing well.
In this article we’ll study relating to how you’ll be able to configure WordPress Part 2, if you have not already read How to Configure WordPress (Part 1), first read it for your better understanding and then you can continue with reading this post.
The Media SubPanel permits you to outline media choices. You’ll be able to notice all settings mentioned during this section beneath the Settings -> Media SubPanel. Before uploading any media to your website you may need to be positive you outline your default image sizes.
The Media SubPanel enables you to define media options. You can find all settings discussed in this section under the Settings -> Media SubPanel. Prior to uploading any media to your website you will want to make sure you define your default image sizes.
WordPress has inbuilt image resizing practicality supported based on the image sizes outlined beneath this SubPanel. Once you upload a brand new image to your website, WordPress automatically creates up to 3 completely different sizes of that image: thumbnail, medium, and large. The initial is additionally saved and stated as the full image.
WordPress solely resizes your image if it’s larger than the image sizes outlined beneath your Media settings, thus a picture that’s a 100 × 100 wouldn’t be resized to a bigger medium image of 300 × 300.
Setting your image size dimensions is an important step if you propose on using numerous image sizes throughout your theme. If you choose to alter your image sizes down the road, there’s no automatic way to return and size all of them. To try to do that, you just would want to use a third party application or plugin to want to do so.
The Regenerate Thumbnails plugin will do a wonderful job to make all of your WordPress thumbnails if you choose to alter their sizes when the fact:
Image thumbnails are cropped by default. This suggests the image are sliced to form an ideal sq. thumbnail. The advantage to the current technique is that the thumbnail size are consistent throughout your entire website.
The disadvantage to the current technique is that the images are going to be cropped, thus you will lose components of your image from the thumbnail. Presently there’s no way to outline how the thumbnail is cropped.
The Privacy SubPanel permits you to outline all WordPress privacy choices. You’ll be able to notice all settings mentioned during this section beneath the Settings -> Reading SubPanel. Once you are making a brand new website it’s a good practice to block all search engines from categorization of your website till when it’s launched.
Changing the “Search Engine Visibility” setting permits you to lock down your website from being indexed by search engines. This is often an excellent technique while you’re within the development stages of your new website. You don’t need the search engines to index your website once it’s solely half completed, however rather once it’s formally launched.
Setting this feature to block search engines adds a noindex, nofollow meta tag to the header of your entire website as shown here:
<meta name=’robots’ content=’noindex,nofollow’ />
Another suggested tip to block search engines from categorization your website is to use a robots.txt file. A robots.txt file may be a technique of preventing cooperating computer programme spiders from accessing all or a part of your website. To block your website from being indexed, produce a brand new robots.txt to go into the root of your WordPress installation.
Inside the file add these lines of code and save the file:
The * indicates this rule is for all search engine spiders. Disallow: / tells the spiders to skip categorization something from the foundation directory down. To permit search engines to index your content simply take away the forward slash when prohibited. Using these 2 strategies just about guarantees your website won’t seem in search results from the key search engines till you’re prepared for it.
The Permalinks SubPanel permits you to outline all WordPress permalink and address choices. You’ll be able to realize all settings mentioned during this section beneath the Settings-> Permalink SubPanel. Permalinks are permanent URLs to your posts, pages, categories, archives, and so on. These links ought to never modify and are generally used for sharing your content.
WordPress by default uses web URLs, that embody a question mark followed by an ID number, to form links to your posts, pages, categories, and so on. WordPress offers the flexibility to form custom permalinks, or pretty keyword URLs, that are far more user and search-engine friendly.
The permalink settings permit you to pick out the Default, Day and Name, Month and Name, Numeric, or outline your own Custom Structure for permalinks.
When you save your permalink settings WordPress tries to change the .htaccess go into your root directory. If allowed by your web server, setting .htaccess permissions to 644 permits WordPress to automatically update this file.
If the file can’t be updated, WordPress provides the code that has to be additional to .htaccess. You’ll be able to manually edit this file by inserting the rewrite code provided directly into the .htaccess file on your server.
Creating custom permalink rules offers you final management over your address structure. Using structure tags permits you to form a custom permalink rule in WordPress. As you decide on completely different Permalink Settings the custom structure is automatically crammed out with the structure tags used, showing samples of however that rule is formed.
Several different structure tags also are accessible, as represented within the Table 1-1.
|TABLE 1-1: PERMALINK STRUCTURE TAGS|
|%year%||The four-digit year|
|%monthnum%||Month of the year|
|%day%||Day of the month|
|%hour%||Hour of the day|
|%minute%||Minute of the hour|
|%second%||Second of the minute|
|%postname%||Sanitized post title or slug|
|%post_id%||Unique ID of the post|
|%category%||Sanitized category name|
Custom permalink rules can even be combined with static parts. As an example you’ll be able to add an extension to the tip of your URL like so: Custom permalink rules can also be combined with static elements.
As an example you can add an extension to the end of your URL like so:
This rule would turn out a permalink like: This rule would produce a permalink like:
Starting your permalinks with the category, tag, or postname structure tag isn’t suggested as a result of there are often performance problems. Beginning your permalink with one among these structure tags forces WordPress to work out whether or not you’re attempting to look at a page or post, which might hamper load times.
Also be terribly careful once using solely the postname (/%postname%) structure tag for your permalinks as it may result in you be able to unknowingly block access to needed files like your style sheet or wp-admin URL.
It’s invariably suggested to use some style of numeric field in your permalink, whether or not it’s the year and month or distinctive post ID. It’s always recommended to use some type of numeric field in your permalink, whether it is the year and month or unique post ID.
What are your opinions about Media, Permalinks feature in WordPress? Have you used these features in WordPress? What are your thoughts about using them? Let me know in the comments!
Did you like this guide of configuring Wordpress Part 2? Share it with your friends on Facebook, Twitter, and Google Plus!
Don’t forget to Subscribe to our Newsletter for more insightful post updates, tips and guides!
Hi, I’m Aakanksha, a computer science engineer and the founder of TheTechPower. I help people make there online presence process easier by empowering them with clean, beautiful and easy to use wordpress themes.