A blog about blogs from Dmitry Donchenko. Setting up WordPress: A Complete Guide How to Install and Configure WordPress Correctly

Hello, dear reader!

What a powerful combination of video channel + blog, I think it’s not worth mentioning. This is an obvious fact! The combination of text and video provides the maximum opportunity to convey information in full. I think you agree with me.

But does the reader always want to go to the channel? YouTube? Do you, as a blog author, need it? Of course not! So, there is such a plugin for WordPress blog., which creates a video gallery directly on the page of your site. This is what we will talk about today.

Installing the video gallery plugin

In the WordPress blog console, find the “plugins” section through search YourChannel and install. Everything is standard. Activate and proceed to configuration. In the console, select “settings” and click on YourChannel, and then Edit

Then fill in the fields in the window that opens:

Below we open the settings panel and set the necessary options. Please note which settings items should not be touched.

I, as a tester, of course, ruined it and tried everything. That is why I recommend checking the checkboxes, as shown in the figure above.

For more information about the installation process and setting up a video gallery on your blog, see my video:

I suggest you see what I got thanks to this plugin.

Your video gallery will most likely look different. It's all about ! It can create full-width pages (and more).

This is one of the hundreds of features of this unique WordPress template!

Extended version of the “video gallery” plugin

After automatic translation of the description additional features highlighted the following useful features:

  • Subscribe button YouTube channel(several styles)
  • Ability to sort videos in the desired order
  • Search bar under the channel header/search for video on request
  • Changing the color to match your blog style
  • Show statistics and ratings
  • Limiting the number of videos on a page
  • Autoplay “Next video”
  • Custom CSS Input
  • Social media buttons, like under the video on the channel
  • Black list

That's all I could make out.

This beauty costs about 1000 rubles ($15). I'm still deciding whether to buy it or not. It's not expensive for a good plugin!

Optimizing the “Video Gallery” page

I will outline my view on this issue. It is, perhaps, advisory rather than mandatory. Use your knowledge in promotion if you do not agree with me.

In my opinion, there should be no text on the video gallery page, or very little. A person initially goes there to watch videos. And the large text at the beginning, if it does not alienate the reader, then he simply will not read it.

I wrote a couple of lines just to attractively display the repost in social media. But still, I used all 160 allowed characters in the description.

And also prescribed keywords in the title (Title) and (Keywords).

With this, let me take my leave. This short post is more than made up for by the video instructions in the article.

I wish you success in installing and setting up a video gallery on your blog!

Our regular readers, in the comments to articles on web technologies, often asked us to go a little further than just setting up a web server and tell us how to install one of the popular engines and make a full-fledged website on it. We decided to meet this request halfway and began a separate series of articles devoted to website building, in which we have already discussed a number of theoretical issues, separately considered setting up the server, and now it’s time to move on to practice.

We will perform all the actions described below on a server configured according to the instructions: . We strongly recommend that you familiarize yourself with it so that in the future there will be no misunderstanding of some points and settings. In this case, the server used is absolutely standard, which will allow you to repeat the described steps on any other system, including virtual hosting, with minor adjustments to the specifics of your case.

Why did we decide to start with Wordpress? Because it is very easy to learn, but at the same time convenient and functional engine, which allows you to quickly create a working website from scratch. Wordpress has gained well-deserved popularity among webmasters and according to data W3Techs is the most popular system content management system (CMS), which runs a quarter of websites.

TO strengths Wordpress is extremely easy to work with; you do not need to have special knowledge to create pages for your site; doing this is no more difficult than typing text in a text editor.

All operations for servicing and managing add-ons are also extremely simplified and consist of literally pressing a couple of buttons. At the same time, you have at your disposal a huge collection of add-ons, designed in the form of a familiar store, with descriptions, reviews, and ratings. We chose what we liked, clicked install, and the system will do the rest itself.

However, there is also another side to the coin. The concept of the engine does not provide for deep manual tuning; no, you can of course modify it as you see fit, but with the next update all your edits will be automatically deleted. Also, the built-in editor of the engine has its own ideas about layout, which may not coincide with yours if you suddenly decide to correct the HTML code yourself.

In general, when working with Wordpress, we have a certain analogy with the iPhone, it’s also beautiful and convenient, but you’re not allowed to climb deep inside. Is it good or bad? It’s impossible to give a definite answer, it’s definitely good for beginners, but if you like to tinker around inside the engine or have your own requirements for HTML markup, then most likely you will need to use a different CMS.

The main purpose of Wordpress is blogs. What is a blog? This is a simplified website that contains regularly added posts in reverse chronological order (i.e., newest on top), which can be grouped into categories and contain special labels - tags that can easily be used to find similar materials. This format is very popular and allows you to create websites of various sizes and themes.

To get the latest Wordpress distribution, go to the project page ru.wordpress.org, where you can also see examples of sites on this engine, read the documentation or get help on the forum.

The distribution itself is small in size and is available as a zip or tgz archive. Let's download it to your computer and, without unpacking, transfer it to the server in any convenient place, since our server is on Linux, it is better to download the tgz archive. Why is this so? One large file will be downloaded much faster than a large number of small ones. Although if you do not have access to the server, for example, virtual hosting, then the archive will have to be unpacked first and its contents uploaded to the site folder.

Then let's go to the server and unpack the archive. This can be done with the command:

Tar -xvf wordpress-4.5.2-ru_RU.tar.gz

After which a WordPress folder with the contents of the delivery will appear in the same directory. Everything inside needs to be copied to the root folder of your site. For this you can use file manager mc or run another command:

Cp -r wordpress/* /var/www/example.org

This assumes that you are in the same directory as the archive and the unpacked folder, and /var/www/example.org- the root directory of your site. The result should be the following:

After copying, you should set the correct owner and group for the engine files, this can be either the www-data user, if all sites are running on behalf of the web server, or the user specified in the virtual host settings, if you are running sites as a user through mpm-itk. To set permissions, enter:

Chown -R user:user /var/www/example.org

Where user:user user and group name maybe www-data:www-data, or andrey:andrey, as in our case, and /var/www/example.org- directory with the site.

Now that all the files are in place, you can begin the installation. Just don't forget to create a clean database before doing this. MySQL data in UTF-8 encoding. To install, open your browser and enter the address of your website there, in our case example.org. You will be taken to a web-based installer interface that will carefully guide you through all the steps.

The next step is the “most difficult” one in the installation process; you will need to specify the name of the created database and connection parameters to the DBMS server. And no, we’re not joking, this is truly the most difficult installation stage for an untrained user; even a housewife can handle the rest on her own.

After the script has successfully connected to the database, you will need to answer a couple more questions: indicate the name of the site, the administrator’s name and password, and email. Please note that not only business mail will be sent to this address, but also a link to reset your password, so please indicate your real address.

All! Installation is complete. We talked about this above - Wordpress is aimed as much as possible at the inexperienced user and, starting from the installation stage, tries to be simple and friendly.

What's next? If acquaintance with the theater begins with the hanger, then with a CMS it starts with the admin panel. After installation, you will be prompted to log in. The developers do not abandon us here either, but carefully suggest the first steps. At this stage, we advise you to walk around the admin area, look at the options, settings, and in general, get used to it a little. Everything is extremely simple and friendly, there is absolutely no place to get confused or lost, even if this is your first site.

We completely agree with the developers and prefer to start working with a new site by setting up a theme; as they say, you meet people by their clothes. To do this you can click on the link choose another topic In chapter Console or go Appearance- Themes - Add new.

After that you will get to the store, and then there are no friends to taste and color. Choose what you like, because this is your site and how it will look is up to you too. The only thing we want to warn you against is that don’t try to surprise visitors with some “cool” design, remember that the content comes first. If there is nothing to read on your site, then no design will save it, and vice versa, if you offer high-quality original content, then users will read you regardless of the design.

But this does not mean that you can design a website in a clumsy style and you’re done. You don't leave the house in a wrinkled shirt and dirty trousers, do you? It’s the same on the website, there is no need to surprise anyone with a “cool” design, these days are long gone, it’s enough for everything to be neat and tidy.

Did you like the topic? Just click on the button Install, Wordpress will do the rest itself.

After installation, the theme can be activated immediately, but we recommend following the link to view it and try it on live.

Please note that many themes will not look as nice as in the pictures, some of them require the use of special post types or offer their own site structure. For example, there are themes designed for multimedia content (photos, videos) and are poorly suited for text content.

In our example, you can see that the downloaded theme provides a minimalist design and there is absolutely nowhere to place many navigation elements on it. Sure, we'll keep looking...

Once you have found a suitable theme, take the time to study its settings. You should immediately change the site description, upload a logo, arrange widgets and check how the site will look on mobile devices, to do this, use the switches at the bottom of the page.

The process of setting up a theme is intuitively simple, all your actions are immediately displayed on the right and you can immediately see how the site will look with this or that setting. When you finally like everything just click at the top Save and activate.

After this, you will be taken to the site and can already start working with it, using the elements to control top menu, but it’s better to return to the admin panel, to do this, click on the site name in the menu and select Console.

Bright red circles with numbers inside indicate the presence of updates; in our case, one update is available for plugins. Let's move on to this section. Plugins can be updated either one at a time or in batches; to do this, check the boxes next to the required plugins, select Update in the drop-down menu and click Apply.

We recommend keeping the system and plugins up to date. Wordpress is a popular engine, which means that in addition to users, it attracts the close attention of attackers and the presence of outdated code can be a direct threat to the security of your site.

Two plugins come with Wordpress, one of them is useless - Hello Dolly, but the second is Akismet, we recommend activating it, especially if you use the standard comment system. After activation, the plugin appears either in the section Settings, or a separate item in Consoles, if it provides additional functionality.

Additional plugins, like themes, can be obtained in the Store by simply selecting Add new In chapter Plugins. However, we want to warn you against a common mistake: you should not immediately install all the plugins you like. A large number of plugins can slow down the site, and since this is third-party code that is supported by developers, you should be aware of possible vulnerabilities and generally approach the choice of plugins carefully.

Despite the fact that you can find a lot of articles on the Internet with titles like " 100500 Wordpress plugins you need to install right now", we do not recommend installing plugins at all unless necessary. A task has arisen - we are looking for a plugin, only one way and no other way. This will allow you to keep your engine in “sports shape”, without unnecessary code that takes away resources and can be a security threat.

The only plugin that needs to be installed at the very beginning is this All in One SEO Pack, this plugin will optimize your pages for search engines and does it well even with the default settings.

The plugin has many settings and is quite well documented, which allows it to be used by both beginners and experienced users.

Finally, it’s worth taking a look at the section Settings and go through all the points. Even though the default settings are quite optimal, you should still review them and change some of them to suit your needs. If you want to allow visitors to register on your blog, then enable this option in the section Are common.

And be sure to check the section Discussion, spammers also love WordPress very much, and they will appear there much earlier than real visitors, so make their life as difficult as possible. For example, send any comment containing a link for moderation; to do this, reduce the number of allowed links from two to zero.

Now let's move on to the main thing - filling the blog. To do this, let's go to the Posts section, where we will have access to a list of all existing posts, categories and labels (tags). During installation, one entry and one comment were created for it; you can delete or edit it.

You can also immediately create the necessary sections, but we do not recommend doing this, since if there is little information on the site, empty sections look inappropriate and mislead visitors. It is best to create new categories and tags immediately when adding new information, then your site will develop harmoniously and the visitor, following the link that interests him, will always receive the expected information.

Let's create new entry. After which you will be taken to the editor, working with it is quite simple if you have experience working with office packages, then there should be no difficulties. Type text, format it, add headings, lists, and generally do the same as when typing regular text. Just try to avoid large continuous blocks of text, they are poorly perceived from the screen, try to break them into small paragraphs.

To add an image to the material, place the cursor at the location of the image and click the button Add media file above the editor.

A special window for working with media files will open, with which you can select already downloaded images or upload new ones. Just choose required file and add it to the post. Before doing this, pay attention to the lower right corner, where you should select the size of the inserted image and set its alignment on the page. Standard image sizes can be changed in Settings site.

After you have added text and images, do not forget to select or create categories to which the article will belong and add labels (tags). If everything is clear with the headings, then the tags should reflect some keywords by which visitors can search for similar articles. For example, if you review LibreOffice and Firefox in detail in your Ubuntu review, you should add tags with these names, this will allow you to quickly find articles about LibreOffice, regardless of which category they belong to.

It seems that everything is ready, but do not rush to publish the entry. You also need to separate the introductory text, otherwise the entire entry will end up in the feed, which is inconvenient. To do this, place the cursor after the part of the text that will be the announcement in the feed and click the Add “Next” tag button; a dotted line will appear in the text.

Now let's scroll to the bottom of the page and add a thumbnail to the post, this is an image that will be displayed in the feed above the introductory text. You can use any image as a thumbnail, but keep in mind that the thumbnail, depending on the theme, has its own dimensions, in our case it is 750x375 px. The selected image will be scaled and cropped at the edges, so if you want your site to look neat, prepare a separate image for the thumbnail.

Let's add one or more entries and see what we got.

Quite decent, right? And it took a little time. And the most “difficult” operation turned out to be specifying the parameters for accessing the database.

Finally, pay attention to Pages, this is a special type of post that is not displayed in the feed, but is displayed in the site menu. Pages are designed to contain information that should always be in one place, this could be information about the blog and its author, contact information, reprint rules, etc.

Technically, creating pages is no different from creating posts. Links to pages, depending on the topic, are displayed in the site menu and are usually located in a prominent place; in the topic we have chosen, this is the upper right corner.

What's next? And then, no matter how trivial it may sound, you should start filling out the site. Post new interesting posts, respond to comments, and before you know it, your first regular readers will appear, and other sites will start linking to your blog and ranking up in search engine results. But keep in mind that maintaining a website is quite hard work, and to get results you need to work hard and hard. Should it be otherwise?

  • Tags:

Please enable JavaScript to view the

Hello, dear blog readers! I have been creating and promoting websites on the Internet for a long time. Nose WordPress engine I decided to work only four months ago. Very often I came across resources on WordPress, read reviews about it, and in the end, it won me over. Especially - installing WordPress on hosting, I’ll write about this a little lower. So what will my article be about? It is about those first steps of installation and configuration that beginners face. After reading this article, you will save your time and prepare the engine for further full-time work in blogging.

And so, first, let’s choose the domain name most suitable for the theme of your site: for example, blog theme - Computers, I'll call him The second life of an IT specialist, and the most suitable free domain will be website. Why should you choose a themed domain name? Yes, because it contains keywords, and this guarantees the highest positions for this request in search results even without additional website promotion. I'm not talking about the fact that you will be in the top for this request, but that your positions will be higher than they could be with a different domain name. If you have chosen a name, we register it.

The next step is to rent hosting. I won’t talk about which hosting is better to choose, since there is a sea of ​​them on the Internet. All you have to do is enter a request into a search engine... For special lazy people, I can recommend the Internet Hosting Center, which hosts itself. The speed is good, and the price is not expensive. We pay the rent, register the domain in the hosting panel, and create an MSQL database there.

In the WordPress installation archive we find the file wp-config-sample.php and rename it to wp-config.php. Open it and find the following lines:

// ** MySQL Settings: This information can be obtained from your hosting provider ** //
/** Database name for WordPress */
define('DB_NAME', ' database_name_here‘);

/** MySQL username */
define('DB_USER', 'username_here‘);

/** Password for the MySQL database */
define('DB_PASSWORD', ' password_here‘);

/** MySQL server name */
define('DB_HOST', ' localhost‘);

To the places indicated in bold , enter your details. In 95% of cases, the “localhost” inscription remains unchanged.

Next in address bar browser, type http://Name of YourSite.ru/wp-admin/install.php. If everything is correct in the wp-config.php file, then expect the legendary 5-minute installation. To be honest, I didn’t expect such an instant installation during installation.

Well, okay, we’re not done yet and we’ll bring the engine to mind. Next, I’ll tell you how to set up a website on WordPress. Installing an SEO plugin All in One SEO Pack– critically necessary if you plan to promote your website. Since this is one of the main tools for bringing a site to the top for certain search queries. It’s better to start working with this tool from the very beginning than to add all the articles again later. You can read about how to work with the All in One SEO Pack plugin in the article “”.

The second plugin you can’t do without is TinyMCE Advanced. It's visual text editor, which creates simplicity, speed and convenience in writing an article. After installation you will not see big changes in the editor, in order to add additional tools in the editor, you need to go to the “Options” section – “TinyMCE Advanced” and transfer them to the main work panel. Don't forget to save.

And the last plugin that I will recommend to you is Rus-To-Lat. It changes the transliteration of CNC (human readable URL). By default, links in WordPress are created in Russian. At first glance, a beautiful, human-readable link, however, if you copy and paste it, you will see a clunky image, and this cannot have a positive effect on SEO. Search engines love it when keywords are included in the URL. Let's look at what this plugin does using an example:

Standard CNC WordPress https://site/category/installation-Wordpress

What Rus-To-Lat is doing about it https://site/rubrika/ustanovka-wordpress

In the administrative panel, go to “Settings” – “Permanent links” and check the box at the very bottom line.

There you will also need to register the display of the directory in the ..html links. That is, the category and title of the article will be shown.

I think these are the best WordPress plugins and they must be installed on every site.

Thank you for being with me! In order not to miss new articles, I recommend subscribing.

The best "Thank you" is your repost .sp-force-hide ( display: none;).sp-form ( display: block; background: #ffffff; padding: 15px; width: 560px; max-width: 100%; border-radius: 8px; -moz- border-radius: 8px; -webkit-border-radius: 8px; border-color: #289dcc; border-style: solid; border-width: 2px; font-family: Arial, "Helvetica Neue", sans-serif; background -repeat: no-repeat; background-position: center; background-size: auto;).sp-form input ( display: inline-block; opacity: 1; visibility: visible;).sp-form .sp-form- fields-wrapper ( margin: 0 auto; width: 530px;).sp-form .sp-form-control ( background: #ffffff; border-color: #cccccc; border-style: solid; border-width: 1px; font -size: 15px; padding-left: 8.75px; padding-right: 8.75px; border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; height: 35px; width: 100 %;).sp-form .sp-field label ( color: #444444; font-size: 13px; font-style: normal; font-weight: bold;).sp-form .sp-button ( border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; background-color: #0089bf; color: #ffffff; width: auto; font-weight: bold;).sp-form .sp-button-container ( text-align: left;)

You can begin the most important and interesting process, installing WordPress on the hosting server.

The installation process itself is not complicated, just download the archive from WordPress to your computer, unzip it and upload it to a folder on your hoster’s server, usually called public_html or htdocs or www. If there are any difficulties with this, please contact technical support, let them tell you.

Next, in the hosting administration panel, you need to create a MySQL database for WordPress to run, create a user for this database and assign a password by which this user will connect to the database.

Now you need to edit a file in the wordpress folder called wp-config.php, another one may be called wp-config-sample.php, then you need to rename it or copy it with the file name wp-config.php.

In the file itself, you need to indicate the name of the database you just created, the username and password for this database. Also make sure that the line that specifies the language of your blog looks like this define('WPLANG', 'ru_RU');

This file will also contain lines like:

define("AUTH_KEY", "enter a unique phrase here"); define("SECURE_AUTH_KEY", "enter a unique phrase here"); define("LOGGED_IN_KEY", "enter a unique phrase here"); define("NONCE_KEY", "enter a unique phrase here"); define("AUTH_SALT", "enter a unique phrase here"); define("SECURE_AUTH_SALT", "enter a unique phrase here"); define("LOGGED_IN_SALT", "enter a unique phrase here"); define("NONCE_SALT", "enter a unique phrase here");

define ("AUTH_KEY" , ) ;

define("SECURE_AUTH_KEY" , "enter a unique phrase here") ;

define("LOGGED_IN_KEY" , "enter a unique phrase here") ;

define("NONCE_KEY" , "enter a unique phrase here") ;

define("AUTH_SALT" , "enter a unique phrase here") ;

define("SECURE_AUTH_SALT" , "enter a unique phrase here") ;

define("LOGGED_IN_SALT" , "enter a unique phrase here") ;

define("NONCE_SALT" , "enter a unique phrase here") ;

In order not to have to worry about coming up with unique phrases, go to a special WordPress service, copy the generated lines from there, and paste them into the file.

After all these steps, through a web browser, open the address of your blog. A page with the WordPress installation should appear, there’s nothing complicated here either, the name of the blog, the administrator’s e-mail and password, the installation is complete. You will be prompted to log into the admin area with a username and password, which will also be sent to the E-Mail you specified. Strictly speaking, the WordPress installation ends here and the configuration and installation of plugins begins.

Installation and configuration of plugins.

  1. (CNC).

How to Add Video to WordPress Website

In this tutorial we'll talk about how to add videos to your blog posts and pages. One of the most simple ways adding a video to your website means uploading it to one of the services that provide free video hosting services, such as YouTube or Vimeo. Once your video has been successfully downloaded and converted, you can copy the “Embed Code” and paste it into your post. However, thanks to the built-in WordPress object insertion feature, this can be done even easier. For example, I have a cool video that I would like to add to my site. All you have to do is copy the URL of this video and then go back to the blog and create a new post. Now you need to paste the link directly into the content field. I'll give this post a title and paste the link that I copied from the video hosting site, and then click Publish.

If you look at this post, you can see that WordPress not only inserted the required video, but also adjusted its size perfectly. If desired, you can change the size of the video player in which the video is shown. This is done using shortcodes (Shortcode API) - a special function provided in WordPress, starting with version 2.5. Without going into detailed description these very convenient tools, here is the shortcode for our case (in text format):

Shortcode for You Tube:

Shortcode for Vimeo:

Here width and height are respectively the width and height of the player for demonstrating the video. Please note: window size numbers are given in pixels and are written in quotes. Instead of the phrases “Link to video from YouTube” or “Link to video from Vimeo”, substitute the link copied from the corresponding site. you can use this method adding videos not only from Vimeo, but also from many other popular video hosting resources, including Flickr, Instagram, SoundCloud, Twitter, YouTube, etc. You can also visit this page www.codex.WordPress.org/Embeds for more detailed information.

If for some reason this method does not work on your blog, or you simply want more control over the parameters of the video you post, you can insert videos into your posts manually. First, set the video size you need, then copy the embed code. After that, go to your admin panel and create a new post or page, and before you paste the code, make sure you're in "Text" mode. This is important because if you paste a video link in Visual mode, WordPress will simply display the code text instead of the video.

Once you have pasted the code you can use preview, or immediately publish your post in order to see what your video looks like on the blog page. Adding Videos to a WordPress Website Using automatic function inserting objects is the simplest, so for greater convenience we would advise you to use it.
In addition to videos and photos, you can add other types of files to your blog. We'll go into more detail on this in the next video.

You may also be interested in: