add password to wordpress post or wordpress page

If you will publish a post or page in WordPress then it will be visible to visitors right away but sometimes you want to show content to specific people. So you can do it very easily in WordPress by adding a password to your post or page. After entering that password, the visitor will be able to see post or page content. These are the steps to add password to your post or page:

Step 1: On the right side of the page editor you will see Publish section. There you will see Visibility option. You need to click on Edit link after Public label. Visibility is set to Public by default but we will change it to Password protected.

protect wordpress page or post with password

Step 2: After clicking Edit link you will see other two options Password Protected and Private. Please see below image:

password protect wordpress post or page

You need to click on Password protected and then you need enter your password in password box and then click on ok button.

  • godaddy

  • Step 3: Now you will see that your page or post visibility is changed to Password protected. Now you need to click on Publish button but if you are adding a password to the existing published post or page then you will see the Update button instead of Publish button. Now you will click the Update button. I am creating a new post so it’s showing Publish button. Please see this below image:

    how to apply password to wordpress post or page

    Step 4: After clicking publish or update when you will open your post or page you will see that it will ask for a password and it will show you a message that “This content is password protected. To view it please enter your password below“. Please see this below image:

    Now enter your password which we added in step 2. After entering that password, content will be visible to you. So in this way you can protect your post or page with a password in WordPress.

    If you are facing any issue then please message me below in comments section and don’t forget to share this article.

    change wordpress admin login URL

    In WordPress, if you want to login to your WordPress dashboard then you need to add /wp-admin or /wp-login.php at the end of your domain i.e www.yourwebsite.com/wp-admin or www.yourwebsite.com/wp-login.php then it will take you to WordPress dashboard login page.

    But sometimes it can affect your website security because of some reasons like anybody can come to know that you are using WordPress or hacker can try to guess your username and password and can try to hack your website. So we should change our website login page URL in order to make our website secure.

    We will use WPS Hide Login plugin to change URL of our login page.

    These are steps to change WordPress login page URL:

    Step 1: Firstly we will go to Plugins >> Add New.

    add new plugin

  • Godaddy

  • Step 2: We will search for “WPS Hide Login” plugin and then you will see this screen. Please check this image:

    install wps login page

    You need to click on Install button and then Activate. The plugin is activated now we can use this plugin to change our admin page URL.

    Step 3: In order to change admin page URL we will go to Settings >> General tab and then scroll down.

    settings general

    Step 4: After scrolling down you will see WPS Hide Login section. You need to enter your login URL there. By default its login but you can change it to something else. In below image, you can see that I have changed it to mylogin.

    change website admin URL in wordpress

    Step 5: You can see in below image that my website login URL is changed from www.websofttutorials.com/wp-admin to www.websofttutorials.com/mylogin

    change wordpress login url

    In this way, you can change your website login page URL to make it secure. If you liked this article, then please subscribe to my youtube channel for more programming related tutorials and don’t forget to share this article to help more people to protect their website.

    If you have still any question then please comment below.

    deactivate all plugins from phpmyadmin

    It is very easy to disable plugins from WordPress dashboard but sometimes the situation will arise that you will not be able to access your WordPress admin panel. This usually happens when a plugin on your website is creating problems for you to logging into your admin area or When you see the blank white screen on WordPress website which is also called white screen of death. So under these situations, you will not be able to access your website admin panel.

    In order to get rid of this problem, it is recommended that you should deactivate all plugins and then activate them one by one to check that which plugin is creating the problem on your website.

    There are two ways to deactivate WordPress plugins without accessing admin panel:

    1. Deactivate plugins via FTP
    2. Deactivate plugins via Phpmyadmin

    1. Deactivate plugins via FTP

    In this method, you can deactivate all plugins via FTP client like (FileZilla or Cute FTP) or you can deactivate all plugins from your hosting File Manager but Some hosts will not provide you the option to access file manager (WordPress hosting) so you need to deactivate it with help of FTP client.

    Firstly you need to connect to your website host via FTP. Once you will be connected to your host then you will see WordPress folders like wp-admin, wp-content, wp-admin. You need to click on the wp-content folder because all plugins are stored in the wp-content folder. Then you will see plugins folder. Now you need to rename this plugins folder and you can give it any name you want. You can see this below image:

    deactivate all wordpress plugins ftp

    Once you will change plugins folder name then you will see that your all plugins will be deactivated. You can see this below image:

    plugins deactivated wordpress

    In this image, you can see that all plugins have been deactivated. You will an error message as well “Plugin has been deactivated due to an error: Plugin file does not exist.“. This is showing this error message because we have changed plugins directory name.

    Now all plugins have been deactivated. it’s time to change plugins folder name again from plugins_dectivated or Whatever name you have given to your plugins folder to plugins folder actual name.

    rename wordpress directory name

    We have renamed our plugins folder name again to actual name. Now refresh your screen 4-5 times and then you will see that error message Plugin has been deactivated due to an error: Plugin file does not exist. has been removed and now you can start activating your plugins one by one and check that which plugin is creating the problem. Then you can remove that plugin which was creating problem on your website.

  • godaddy

  • 2. Deactivate plugins via Phpmyadmin

    In this method, you need to deactivate all plugins via phpmyadmin. So firstly you need to access phpmyadmin and then you need to select wp_options table. On my side, I have different table prefix. Because of security reasons I have changed my table prefix from wp_ to wp_zdbfy4rzp3. So my table name is wp_zdbfy4rzp3_options. So I will select wp_zdbfy4rzp3_options tables so this means if you have a different table prefix then you need to look for a table that ends with _options.

    deactivate all plugins from phpmyadmin

    After selecting _options table then you need to click on Browse link. Then after this, I have changed the number of rows to display to 300 so that we will be able to see all rows at once. Please see this below image:

    change number of rows to display in phpmyadmin

    I have entered 300 and then click on Show button so that it will show maximum 300 rows.

    Now we need to look for active_plugins row and the best way to find it by using Ctrl + F and then enter active_plugins in popup box. please check this image:

    find row in phpmyadmin

    Now you can see that we have entered active_plugins to popup box and then it will find active_plugins automatically. Now we need to click on pencil icon which is highlighted in above image. Click on this pencil icons and then you will see this screen.

    edit row in phpmyadmin

    Now you need to remove option_value and change it to a:0:{} and then click on Go button. Please check this image:

    change option_value in phpmyadmin

    Now if there was some plugin which was creating the problem for your website then you will be able to login to your WordPress dashboard and then you can check that which plugin was creating the problem by activating it one by one.

    If you liked this article, then please subscribe to my youtube channel for more programming related tutorials.

    If you have still any question then please comment below.

    1 Comment  Like
    boost blog post via social media

    Hello, blogger!
    Do you have a great blog that isn’t getting many views? Are you striving to get traffic to your blog posts?
    For you, it can be very difficult not having an audience to read your blogs, however, once you have your own audience, enormous impacts will be there!

    Today, social media is the most powerful source for driving traffic and increasing your blog presence.

    Follow the below list to help you grow an audience for your blog posts via Social media

    1 – Facebook: (1.32 Billion daily users on average for June 2017)


    1. Share your blog posts on your personal profile and/or your page and encourage your friends/followers to share it across their profiles/pages.
    2. Use Facebook groups that are related to your niche, share your blog posts on them, but don’t forget to read the group rules before you do the share because some groups don’t allow it.

    QUICK INFO: 57 percent of social content sharing activity took place on Facebook.

  • Godaddy

  • 2 – Instagram: (200 Million daily active users on average for April 2017)


    1. Share your blog posts multiple times to increase the chance of the click through to your blog, make sure you use catchy content and image with each share.
    2. Increase your CTA (Call To Action) click by giving people a reason to click your blog post link, don’t just tell them to click it, you should specify what’s the use of reading your blog.

    QUICK INFO: 4.2 Billion average likes per day on Instagram.

    3 – Twitter: (328 Million monthly active users on average for the second quarter of 2017)


    1. Post multiple times every day and it should be at an optimal time for your audience, so you need to know when is it likely that your audience are on Twitter to share your blog and increase the chance of the click through. You can use scheduling tools if you can’t be around at the time your audience are.
    2. Using (1-2) hashtag/s with each shared tweet about your blog increases the likelihood that it will be seen by Twitter users, especially if you don’t know your audience.

    QUICK INFO: 500 Million Tweets are sent per day.

    4 – LinkedIn: (40% of the 500 Million LinkedIn users use LinkedIn daily on average for 2017)

    linkedIn logo

    1. LinkedIn is the largest online network for professionals, so if your blog posts are about Resumes, CVs, Interviews, Jobs, or any other related topics this should be your number 1 platform for growing your audience.

    QUICK INFO: 3 Million users share content on LinkedIn weekly.

    5 – Social media influencers:

    Influencers can be a powerful way to grow an audience of readers for your blog.
    Steps to use this strategy:

    1. Find an influencer that has the followers that match your target audience.
    2. Contact the influencer to get to an agreement about how he/she is going to talk about your blog and how much are you going to pay for it.

    6 – Engaging with your followers:

    engage audience

    1. Show your audience that you are always connected to them by replying to their negative/positive comments is always a good sign.
    2. Ask your followers questions, sometimes they give you an idea to write about.

    7 – Social media sharing buttons on your blog/website:

    sharing buttons

    1. Make it easier for your audience to share your blog posts with one click by implementing share buttons for Facebook/Instagram/Twitter/LinkedIn/ any other social media platform you or your audience are on.
    2. Remember that when they share it you win more audience.

    8 – Share other bloggers posts:


    1. Sharing other blogger posts increase your credibility because when your audience see that they will trust you more.
    2. If you do this you are encouraging other bloggers to share your blog posts too, which is a win for you.

    9 – Headlines are important:

    1. You need to work on catchy headlines a lot, because this is the first thing a reader will see, headlines are also the first thing that will show up on search engines.
    2. Revise your headline multiple times and make sure it will get readers to scroll down to the article.

    10 – High-quality images:

    high quality images

    1. Blog posts with images get 94 percent more attention.
    2. Don’t ever use other than high quality and meaningful pictures that relate to your blog post topic.
    2 Comments  1
    send email to multiple email addresses contact form 7

    Contact form7 is one of the best and most used contact form plugin for WordPress. Sometimes you need to send emails to multiple email addresses. For example, You want that if somebody will fill contact form on your website then emails should go to departments like Sales, Marketing and Support Department.

    There are two methods to do this in Contact form7 and both are very easy:

    METHOD #1: In this method you can add multipple email addresses seprated by comma(,). You can see below image.

    multiple email addresses

  • godaddy

  • METHOD #2: In this method you need to add Cc, Bcc to Additional Headers section. You can see this below image:

    Cc and Bcc in conact form7

    So these are the two methods to send email to multiple email addresses. If you have any question or if you are facing any issue then please comment below.

    1 Comment  1
    how to install wordpress theme

    There are two ways to install WordPress theme.

    1. Install WordPress theme from the dashboard.
    2. Install WordPress theme via ftp.

    Method 1: Install WordPress theme from dashboard

    The first way is to install WordPress theme via WordPress dashboard and it is very easy as well. In order to install new theme you need to go to Appearance >> Themes. You will see a list of Themes which have installed. If you want to add new a theme then you need to click on the Add New button:

    install wordpress theme new option

    install wordpress theme

    You can see that you can install a theme from this page and you can enter your search keyword as well. You can see that I have added blogging as a search keyword. You can see some other filters like Featured, Popular, Latest, Favorites.

    Afer selecting your theme you need to click on install button and then click on activate button to activate your selected theme.

    activate wordpress theme

    Now you have your new website ready with new look and feel.

  • godaddy

  • Method 2: Install WordPress theme via Ftp

    The second way is to install WordPress theme is via ftp. You need to connect to ftp via Filezilla or cuteftp whatever you want to use.

    Firstly you need to connect to Ftp. I am using FileZilla which you can see on the image. Then you need to go to wp-content >> themes and then from the left panel right click your theme folder and then click on upload option. You will see that your theme will start uploading. Once your theme is uploaded, you need to go to WordPress dashboard and then go to Appearance >> Themes.

    upload wordpress theme ftp

    You need to open wp-content and then themes folder and then you need to upload your theme on themes folder. Once this theme is uploaded then you need to go to WordPress dashboard. Then go to Appearance >> Themes.

    activate wordpress theme

    You will see your uploaded theme, now you just need to activate your theme and then you will see your website with new look and feel.

    So these are two ways to install WordPress theme. If you have any question or you are facing any issue please comment below.

    customize wordpress css

    Suppose you want to change colors, fonts or any other styling in your WordPress theme but you will see that these styling options are not available in your theme. So at that time, there will be two methods to change or add custom CSS to your WordPress site.

    Method 1: Customize CSS using a Plugin

    In this method, you need to install a WordPress plugin to add or customize CSS. There are many plugins available for this task but personally, I like to use Simple Custom CSS. I am using this plugin for a long time and I have used it on many websites. Even orange titles on my websites are created using this same plugin.

    So firstly you need to install this plugin. After installing this plugin you need to go to Appearance >> Custom CSS. You will see a Simple Custom CSS Panel where you need to write you css.

    You can see in the below image that how I have added my CSS and you can see my orange heading code as well.

    Simple Custom CSS

    After adding your CSS code you need to click on Update Custom CSS button. Then your new CSS will be applied to your theme. So this was the first way to add or customize CSS to your WordPress website through Plugin.

    Note: Sometimes your Custom CSS will not overwrite your existing CSS so in that case you need to use !important tag. If you will see above image, I have used !important tags many times in my CSS so that my custom CSS will work.

  • godaddy

  • Method 2: Using CSS default theme customizer

    Most of WordPress theme has default CSS Customizer option where you can add or overwrite your existing CSS. In order to use Theme Customizer, you need to go to Appearance >> Customize.


    After clicking this link you will be redirected to theme customizer page where you will see many options related to your theme but you need to click on Additional CSS option but it can be written as Custom CSS on your side. Because it depends upon theme developer what name he/she wants to give to this tab. On my side its Additional CSS but I can be something else on your side like: Custom CSS.

    additional css

    After clicking this link we will be redirected to a page where you will write your CSS code. You can see an image below where I have written my CSS code and you can see that after adding my code, menu background color is changed to Red.

    custom css


    In the end, we can say that there are two easiest methods to write your own CSS code to WordPress. The first method is via plugin and second is by using default theme customizer. So its depends upon your choice that which method you want to use but I personally like to use plugin to customize theme.

    If you have any question please comment below:

    1 Comment  Like

    We have installed WordPress in our previous article. Now, we need to do some essential settings to our website to make it fast, efficient and secure. Here is the list of these essential settings which we should do after installing WordPress:

    1. Remove Dummy Content
    2. Change Site Title, Tagline and Time Zone
    3. Select www or non www version of website
    4. Configure WordPress Permalinks
    5. Enable/Disable User Registration
    6. Configure Reading Settings
    7. Install Nice Looking Theme
    8. Improve Page Load Speed
    9. Secure Your Website
    10. Media Files Settings
    11. Setup User Profile
    12. Optimize Your Images
    13. Configure Ping List
    14. Setup Google Analytics
    15. Install SEO Plugin

    1. Remove Dummy Content

    After installing WordPress you will see a dummy post (Hello World), a dummy page (Sample Page) as well as a dummy comment. It is highly recommended that you should delete this dummy content. You can easily delete this from your WordPress Dashboard. You can see below images:

    (Delete WordPress dummy Hello World! post)

    Delete dummy wordpress post

    (Delete WordPress dummy Sample Page)

    delete dummy wordpress sample page

    (Delete WordPress dummy Comment)

    Delete WordPress dummy comment

  • godaddy

  • 2. Change Site Title, Tagline and Time Zone

    In order to change Site Title, Tagline and Time Zone we need to go to Settings >> General from your WordPress Dashboard. We have to change the Site Title and Tagline because it will appear on Google Search results.

    (Change Site Title and Tagline in WordPress)

    Change Site title and tagline in wordpress

    (Change Time Zone in WordPress)

    Change Time zone in wordpress

    3. Select www or non www version of website

    You will see some websites with www prefix like www.inderbia.com, www.google.com on another side you will see some website without www prefix for example yoursite.com. You can use anyone you want but most of the big companies use www prefix with their domain name. If you will not use www prefix then it will not affect your website SEO. So it means it’s completely your personal choice that you want to use www prefix to the domain name or not. In WordPress if you want to use this prefix then you need to go to Settings >> General. Then you will see this page.

    use www

    You need to add www prefix and then click on save button. Then you will be automatically logged out from WordPress and then you need to log in again. Now you will be able to see www prefix with your domain name.

    You need to go to Settings >> Permalinks to change permalinks structure.

    Default permalinks structure is – http://yourwebsite.com/?p=123

    We need to change it because it’s not friendly to search engines. So we need to change it to Post name.

    change wordress permalinks structure

    5. Enable/Disable User Registration

    user registration

    If you will enable this option, only then users will be able to register on your website. You need to enable this option if you want to use guest blogging on your website. You can set their default role. You can see a list of roles and permissions which they will have so that you will be able to decide if you want to enable user registration or not.

    Administrator – Administrator will have access to all admin features on the website.
    Editor – Editor creates and manages posts. They can manage posts of another user as well.
    Author – Authors can publish and manage their own posts only.
    Contributor – Contributors can write and manage their own posts but they can’t publish them.
    Subscriber – Subscribers can manage their profile only.

    There will be a chance that you will receive spam registrations so there are some plugins available which can help get rid of this spamming issue. I have used WangGuard plugin to stop spam user registration and it works very well.

    6. Configure Reading Settings

    wordpress reading settings

    Reading settings are very important if you want to use a static page as a front page of your website or you want to increase/decrease posts per page. For reading settings you need to go to Settings >> Reading. If you want to use a static page as a front page of your website, then select A static page option and then select a page from the list of pages. If you haven’t created any page yet then you can go to pages >> Add new where you can create pages and if you want to increase/decrease the number of posts per page then you can change it from Blog pages show at most option. You just need to enter a value here. By default, it’s 10 but you can change it.

    7. Install a Nice Looking Theme

    It’s time to install a nice looking theme for the blog. WordPress provides many free and nice looking themes which you can use on your blog. In order to install new theme you need to go to Appearance >> Themes

    install wordpress theme new option

    You will see list of Themes which are installed. If you want to add new a theme then you need to click on the Add New option then you’ll see below this screen:


    You can see that you can install a theme from this page and you can add your search keyword as well. You have some filters like Featured, Popular, Latest, Favorites and you can see upload theme options. Upload theme option allows you to upload a theme zip file from your computer.

    Or if you want to purchase a nice looking theme then you can purchase from these websites.

    1. Themeforest
    2. Mythemeshop
    3. Template Monster

    8. Improve Page Load Speed

    Page load speed is very important, if your website has slow page loading, this will stop visitors to come to your website. So, page load speed plays a very vital role to attract new visitors. In WordPress, there are many plugins available which can help to increase website page load speed.

    Here is some free plugins:

    1. Wp Total Cache
    2. Wp Super Cache
    3. Smush Image Compression and Optimization
    4. Wp Lazy Load

    We’ve used one premium plugin as well (Wp Rocket). It works very well to increase page load speed.

    9. Secure Your Website

    You need to do some settings on your website to protect your website from hackers and spammers. So, you need to do activate settings like disabe directory access, change admin panel url, Limit login attempts,and change your password.

    1. Disable directory access: In order to disable directory access you need to go to .htaccess file from your hosting cpanel and add this code Options All -Indexes at the bottom.
    2. Change admin panel url: Changing admin panel url will protect your website from those hackers who are trying to login to your website via admin panel. There are some plugins available with which can easily change your website admin panel url. Here are some plugins: Protect Your Admin, WPS Hide Login.
    3. Limit login attempts: If somebody is trying to guess your website password then this plugin will be very helpful as it restricts user by limiting them with login attempts. If somebody attempts to log in multiple times, this plugin will block their ip address so that they’ll not able to access admin for next some time. You can change your password during this time.
    4. Change password: If you are using an easy password it’s time to changed it to a more complex one. You can change it by going to users and clicking on edit link under the username. Scroll down and there you can change your login password.
    5. change password

    6. Update themes and plugins: It is strongly recommended that you should check and update your WordPress themes and plugins regularly.

    10. Media file settings

    Whenever you upload an image to WordPress media library, then at that time WordPress automatically generate thumbnails of that image in different sizes. Means it will add unnecessary files to your uploads folder of your website and it will start consuming more space on the server. So if you don’t want these images to generate automatically then you need to go to Settings >> Media. Then you will see this page:

    media settings

    You can set these numbers to zero so that it will stop generating unnecessary image files on the server. On the other side, you can set image size according to your choice as well. Like you can see in this image you can set a default size for the thumbnail, medium and large image size as well.

    11. Set up user Profile

    It is very important to set up user profile because if you want to change user login password or you want to change default display name or you want to show your more details like First Name, Last Name, Nickname, Email and social media profiles then you need to click on Users tab and click on your username.


    display name

    change password

    12. Optimize Your Images

    Images also play a very vital role in page loading speed. If you upload large images then it will put a heavy load on the server which will affect page load speed of your website. This is what makes your site slow down and prevents visitors from viewing all the content on your site. So, it’s very important to optimize images of your website. There are some plugins like WP SMUSH and EWWW Image Optimizer available in WordPress which will help you optimize your website images very easily.

    13. Configure Ping list

    If you want to index your blog posts to search engines quickly then you need to use these ping services. For this you need to go to Settings >> Writing. Then you will see this page:

    paste ping list here

    Copy and paste this ping list to your website:


    14. Install Google Analytics

    Integrating google analytics is very important for your website because with google analytics you will have all statistics of your website like how many visitors are coming to your website, how much time they are spending, what is their location, what devices they are using to explore your website, how many users currently viewing your website and you will get more stats as well. So that you will be able to create your marketing and promotion strategy accordingly. Now you can understand how google analytics plays very important role in your website. Now I will tell you steps to integrate google analytics to your website.

    Step 1: Go to this url: https://www.google.co.in/analytics/
    Step 2: Click on Google analytics link from this page

    Step 3: You will be asked to login to your gmail account. Now you need to login to your gmail account. Then you will redirect to this page:

    google analytics singup

    Step 4:

    account details

    Analytics tracking id

    You need to fill this form and then you need to click on Get Tracking ID button. You will get a Tracking ID and you need to add this tracking id to your WordPress website. There are many WordPress plugins available with which you can add google analytics code to your website.

    These are some plugins which you can use to add google analytics code to your website:

    1. GA Google Analytics
    2. Google Analytics

    15. Install SEO plugin

    Search engines are another big source of traffic for websites. That’s why it’s very important to install SEO plugin your website so it’ll be able to drive traffic to your website from search engines. We recommend some SEO plugins which will help you to drive traffic to your website such as:

    1. All in One SEO Pack
    2. Yoast SEO
    Leave a comment  1