Connect with us


How to Move WordPress From Local Server to Live Site?



How to Move WordPress From Local Server to Live Site

How to Move WordPress From Local Server to Live Site? If that's what you need an answer to then you're at the perfect place.

Moving a site from a local server to a live site isn't the hardest task on this planet, but it's not the easiest either, so I'll try to simplify it as much as possible for you.

What's a Local Server?

Before answering How to Migrate WordPress Website from Localhost to Live Server, let me start from the basics.

A local server is basically just the “web-environment” on your computer which allows you to work on your web-projects similarly as you would on the internet, but just with a lot more speed and ease.

That's the case because on the Internet you need to save and refresh for every change to take effect and that in total makes a “lot” of changes, hence lot's of wasted seconds which add up to hours in the long run.

Also on the web, deleting or modifying certain files need repeated permissions, asking you to login or authenticate over and over again, but on your local server,  you just need to authenticate them once.

The only problem is, a project on the “local server” is placed locally on your system and not the internet. So if you want the project to be accessible worldwide on the web, you need to move it to a live server.

So the bottom line is, “local server' and “live server” both are basically just “storage space” for your projects, the former is local and offline while the latter is online and available to everyone.

How to Move WordPress From Local Server to Live Site?

Before you can move your WordPress from local server to live site, you'll need three basic things:-

  • Make sure your local site is ready.
  • Make sure WordPress is already installed on your Live server.
  • Make sure you write down the SQL database and password which you use while installing WordPress.

Step 1:- Exporting the Site Content

The first thing you need to do is, export your WordPress content so that you can upload it to your live server.

In order to do that, go to your local server's WordPress module, go to your dashboard and click on Tools>Export.

How to Move WordPress From Local Server to Live Site

On the next page, choose “all content” and click on “download export file”.

How to Move WordPress From Local Server to Live Site

You'll get a .xml file containing all your WordPress site's content. This is the file you'll need to import in the next step.

Importing the WordPress Content:-

Now you'll need to import the file you just downloaded. Again login to your WordPress, go to tools>import.

It might ask you to install an “importer”. Just install the “WordPress” importer. (It takes couple seconds only!)

How To Move Your WordPress Website From localhost To Live Server

Once you've installed it, just browse to the .xml file you downloaded and import it. Once that's done it means you've successfully imported your posts, images, menus, etc to your live site.

Step 2:- Exporting and Importing the SQL database:-

You need to import your MySQL database to your live server as well so that your live server can communicate with your WordPress files.

Login to your Phymyadmin module on the local server. You can alternately use “http://localhost/phpmyadmin” to directly access it on your local server.

How to Migrate WordPress Website from Localhost to Live Server

Next, you'd want to click on “export” if you want to learn How To Move Your WordPress Website From localhost To Live Server.

So click on export, and select “SQL” from the drop-down menu and click go.

How to Move WordPress From Local Server to Live Site

Now you'd need to find and replace all the primary URLs of your project. Because by default, local server projects have the URL of “localhost”. You need to change them to your URL.

So right-click on the SQL file you just downloaded, and edit it with any editor. I normally use notepad++.

Just press ctrl+f and go to the “replace” tab. There enter “http://localhost/your_project (replace “your_project” with the name of your project file), and in the “replace with” tab, enter your URL.

How to Move WordPress From Local Server to Live Site

Step 3:- Linking the Database with your WordPress Installation:-

During the WordPress installation, there was a moment when you were asked to create a new username and password for the database.

Something like the following screenshot:-

How to Move WordPress From Local Server to Live Site

I'm sure you wrote down the username and password. Those are the credentials you'll need now.

Now you'll need to edit your Wp-config.php file. Just change the following credentials with the credentials you used while creating the MySQL databse during the installation:-

  • define(‘DB_USER’, ‘your_database_user’);
  • define(‘DB_PASSWORD’, ‘your_database_password’);
  • define(‘DB_HOST’, ‘localhost’);
  • define(‘DB_NAME’, ‘your_database_name’);


Optional Step:-

If you had customized your WordPress local server with logos and personalized images, you'd need to upload all the files you have on your local server to the live server.

This is nothing technical or complex, all you've to do is upload all the files to your Public_HTML folder (if you have not installed WordPress is any other directory like /blog /mysite etc).

Or use a simple FTP client like FileZilla to accomplish the task.

Final Step:-

So that was all I had on How to Move WordPress From Local Server to Live Site folks. Hope this piece was helpful.

Although I do understand that it's one of the “more complex” articles, so there's a fair chance that you're stuck somewhere, in case you are just let me know in the comment box and I'll help you out.

Last but not least, I wouldn't mind if you share this piece around your social networks.

Evan Derek is the Founder and Chief SEO Analyst @ VebbLabbs. Specialising in Affiliate Marketing and helping newcomers to make it a stable profession in the online world, he boasts 6+ years of experience in the industry. 19 year has he spent on this planet successfully, and plans on spending atleast 50more !


How to Fix Error Too Many Redirects Issue in WordPress?



this webpage has a redirect loop

No doubt that WordPress is the world's most popular CMS existing today! It powers over 25% of the total world websites! But with great power, comes great responsibilities, right? So one such issue WordPress sometimes gives in to is the question How to Fix Error Too Many Redirects Issue in WordPress?

That's exactly the question I'm addressing today! Redirection issues are one of the most common issues with WordPress! And the twist is that they're pretty easy to solve too!

But just because of those complicated terms like this webpage has a redirect loop and things like that, many people think it's something that requires you to have a Ph.D. in rocket science, well you don't!

What are Redirection Issues?

WordPress is nothing but URL's, right? A lot of well organized, structured, and linked urls! Well although WordPress has taken good care of URLs and their links, sometimes things go south.

Let me put it this way, WordPress uses Permalinks structures to publish, open and maintain websites, right? Every permalink takes you to a specific address.

The problem is that the same URL algorithm/structure (whatever you want to call it) is also used by a lot of plugins we use on our websites.

And sometimes, the settings in the plugins, themes, elements (can be anything else!) conflict with the default URL pattern of WordPress and hence this problem exists.

In short, there's no fixed reason why this issue will arise, but it does arise. The simplest explanation is that URL's sometimes mis-redirect, or don't redirect at all, and hence the redirection issues come up.

So a slight misconfiguration with the Theme or a plugin can cause havoc on your websites. And you get something like this one the screen:-

Too Many Redirects

But let me tell you, fixing them is extremely easy! Which we will come to eventually.

What are the Most Common Redirection Issues:-

Now there are over 50 redirection issues that exist, but you don't face each one of them so easy, neither is fixing them!

But there are a couple of issues which knock down your door every next week or maybe a month.

  • This Page isn't Redirecting Properly.
  • This webpage has a redirect loop! – It occurs when Your page 1 is redirecting to Page 2, and Page 2 is redirecting back to Page 2, so basically you never reach your destination.

Worry not, fixing both of them has an identical procedure so this article will help you out in either case.

Why Should you Fix Too Many Redirect issues on WordPress:-

It's simple, if your website has a redirection issue, it won't come up. None of your visitors would be able to visit your website.

It's an era of extreme competition, unless you're a brand and authority already, in which case you might have an excuse, your blog would be doomed.

People won't care t click on your links in the search results next time, ever! That would take down your CTR,  push you down the search results, lower your traffic, and you'd end up quitting the site, all this, just from one simple redirection issue.

So here's how to fix it.

How to Fix Error Too Many Redirects Issue in WordPress:-

The Most Common Reason (And fix) to the Problem:-

Go to your WordPress Dashboard, and click on settings>General

How to Fix Error Too Many Redirects Issue in WordPress
How to Fix Error Too Many Redirects Issue in WordPress

There you would see the simple option of WordPress Address and Site Address! Now here's the catch. All the hosts let you select your primary URL structure.

Meaning if you want your website to have the www prefix, or not! It depends on what you've selected as the preferred URL.

I can't show the screenshots here because I'm not sure what your choices are. But it's simple if you've selected WWW as the preferred URL, and on the WordPress settings, you have only the naked URL set, this problem might show itself up.

The second scenario is when you have the naked URL set on the host as a preferred URL, but you've set www.yoursite.com in the WordPress settings as your URL.

The Solution:- I think it's already clear, just make sure that you're Preferred URL and WordPress setting's URL are the same.

Answer #2 to How to Solve This Webpage has a Redirect Loop Problem:-

The above solution was simple, wasn't it? Here's another “simpler” solution! It works when the issue is on the client-side and not on the server-side.

Hit Control+Shift+N on Google chrome to reach Incognito Mode.

How to Fix Error Too Many Redirects Issue in WordPress

Click on the three-line bars at the top-right corner>Settings.

How to Fix Error Too Many Redirects Issue in WordPress

Type “cookies” in the search bar, and click on Clear Browsing Data.

How to Solve This Webpage has a Redirect Loop Problem

Select Clear cookie option, set the time to “beginning of time”  and click on Clear browsing data.

How to Fix Error Too Many Redirects Issue in WordPress

This should probably solve your problem, because this issue isn't always based on the server-side, and hence if it was on your side, this should solve it.

Method #3 on How to Fix Error Too Many Redirects Issue in WordPress:-

I already mentioned this issue might also arise due to a URL redirection conflict with themes and plugins? Right?

So the simple solution to the problem is:-

  • Find out “IF” plugins are causing this.
  • Find out “which” plugin exactly is causing it.
  • Deactivate /update the plugin.

So in order to do that, here's what we will do:-

Deactivate all Plugins (and if that solves the problem= Plugins are causing this!) > Start reactivating them one by one ( to figure out which plugin exactly is causing this!)

So okay we hit the WordPress Dashboard, Plugins> Installed Plugins.

How to Solve This Webpage has a Redirect Loop Problem

Select the Topmost check Bar, and check it. This will select all your plugins in the list in a single click.

How to Fix Error Too Many Redirects Issue in WordPress

Bulk Actions> Deactivate

How to Fix Error Too Many Redirects Issue in WordPress

Once they're deactivated, check if the website is working! If it starts working, it means your problem is being caused due to a malfunctioning plugin.

Now, start Reactivating the plugins one by one. Activate one plugin, check the site, keep repeating this till you get the error again.

Once you get the error, you'll know that the last activated plugin was causing the error. So just click on Deactivate once you find the plugin.

How to Fix Error Too Many Redirects Issue in WordPress

(Note that “blogger importer” isn't the plugin which causes it, I'm using the screenshot only to show you an example!)

Final Words:-

So that was How to Fix Error Too Many Redirects Issue in WordPress guys! If this piece helped you can show your experience in the comments section.

Also, feel free to hit the share button.

Continue Reading


How to Switch from Blogger to WordPress without Losing Search Rankings?



How to Switch from Blogger to WordPress

How many times have you been in the dilemma of How to Migrate your Blog from Blogger to WordPress? Me? Around 10 times, and well by now I've already moved blogs too and fro about 7 times, (the first three times I was just too scared!), so the point being, that's what I'm covering in this piece today, How to Switch from Blogger to WordPress without Losing Search Rankings.

If you're an avid reader over here, you're most probably already familiar with my tradition, I get into the “why” before the “how”, well and that only seems fair.

If I'm explaining to you How to Import a Blogger blog to WordPress, I think you do deserve a chance to know who to import a blogger blog to WordPress in the first place, right?

Why Import a Blogger Blog to WordPress:-

Now well, WordPress is used by a total of 25% of the overall world websites! That's a big number! But no reason for you to switch to WordPress too, yeah granted.

So here are some of the most basic advantages and reasons which would make you consider switching your blog to WordPress right about now:-

  • Self-hosted CMS:- The worst thing about a blogger? Nope, it's not the layout or the themes, it's the “control”. You don't “own” your own blog! Google owns it, it can delete, edit, change or completely remove your years of hard work (not from just the Search Engines, but remove “literally” from the blogosphere directly!) without any notice to you.
  • Better Themes and Layouts:- WordPress has dozens of platforms devoted to getting you the best possible looks and layouts, while blogger? Not so much. Themeforest is one such leading platform! The point being, the types of layouts and designs possible with a blogger blog aren't so achievable with the blogger blogs.
  • Third-Party Plugins:- “Blogging” has turned into a whole lot of science right now! You can't imagine getting ranked or making a career just by “writing content”! You need Email popups, CDN's, Lockers, and what not in order to outrank your competition! Guess what, none of that is possible on a blogger blog, while WordPress? Well totally possible!
  • Better security:- The only thing a hacker needs to hack in order to cause havoc on your blogger blog, is your Gmail account! And hacking Gmail? It is a kid's job! (Take it from someone who has spent a lot of time doing this exact shit!). While on WordPress? You've got extra security layers, a personalized cPanel, defensive plugins like WorDfence and lots more!

So yeah, I think I've listed more than enough reasons for you to consider the switch, right? Now let's get into some action.

How to Switch from Blogger to WordPress without Losing Google Rankings:-

Well the primary reason you loose your rankings is, during the migration process, you mess up your article permalinks. And additionally, don't properly redirect it, as a result the new site becomes “completely” new for Google, and hence the rankings are all vaporized.

So if you don't want that to happen, the first thing you'd want to do is, export your blogger blog.

How to Switch from Blogger to WordPress without Losing rankings

Log in to your Blogger blog, go to settings.

Then, click over the “other” option.

How to Switch from Blogger to WordPress without Losing rankings

Now, choose the “back up content” button.

How to Import a Blogger blog to WordPRess

And finally click on save to computer.

Migrate from Blogger to WordPress without losing Google Search rankings

This would get you a .xml file on your computer.

Great, you're done! Now let's import this .xml blogger file to your WordPress website, right?

Login to your WordPress, and go to Tools>Import.

How to Migrate your Blog from Blogger to WordPress

Then choose the “blogger” option from the list.

How to Migrate your Blog from Blogger to WordPress

And click on Install importer. This importer is an external plugin that you can use to import the blogger blog to WordPress pretty smoothly.

How to Migrate your Blog from Blogger to WordPress

Once it's installed, click on “activate and run importer” button.

How to Switch from Blogger to WordPress without Losing

On the next screen, just click the “choose” button and upload the blogger backup file you just downloaded.

How to Switch from Blogger to WordPress without Losing

Done! You just imported your blogger blog content to your WordPress blog. But hey, that was just the first step, that's what you can find almost in any other piece on the internet about How to Migrate your Blog from Blogger to WordPress, but the main part, the “don't lose your rankings” part is still to follow.

So once you've imported the content, let's work on “not losing” our rankings.

You'd want to go to your WordPress blog's settings> Permalinks for the next step.

ow to Migrate your Blog from Blogger to WordPress

Now you need to make sure that your WordPress permalink is exactly the same, or as close as possible to your blogger blog's permalinks. And well for that I'd say the safest bet is choosing Month and Name. Because that's the default blogger permalink structure, right?

ow to Migrate your Blog from Blogger to WordPress

So once you save that up, you're done with the permalink settings.

The Redirection:-

So once you've done the permalinks thing, the last thing that remains to be done is the redirection.

  • Redirecting Blogger Blog to Redirect to the WordPress site.
  • 301 redirecting posts to exact permalinks on the WordPress site.

Go to your Blogger Dashboard, and click on Templates.

Migrate from Blogger to WordPress without losing Google Search rankings

Then scroll down to the very bottom of the page, and click on the “Revert to Classic Templates” button.

Migrate from Blogger to WordPress without losing Google Search rankings

Once you've clicked on that button, you can clearly see the “Edit Template HTML” box. Delete everything in the text-box, and paste the following code there:-



   <link rel="canonical" href="http://example.com/" />

    <link rel="canonical" href="http://example.com/?blogger=<$BlogItemPermalinkURL
gt;" />

   <h1><a href="http://example.com/"><$BlogTitle
    <h1><a href="http://example.com/?blogger=<$BlogItemPermalinkURL

Note:- Replace the Example.com in the above code with your new WordPress blog URL. And save the template.

How to Migrate your Blog from Blogger to WordPress

Done! Now just one last piece of work left for you to finish off. Login to your Cpanel, and go to File Manager Public_Html

How to Switch from Blogger to WordPress without Losing

Then go to Blog Name> Wp-Content > Themes > Theme Name >there you'd find your functions.php file and then right Click on functions.php>edit.

How to Migrate your Blog from Blogger to WordPress

And paste the following code into the functions.php file.

function blogger_query_vars_filter( $vars ) {
  $vars[] = "blogger";
  return $vars;
add_filter('query_vars', 'blogger_query_vars_filter');
function blogger_template_redirect() {
  global $wp_query;
  $blogger = $wp_query->query_vars['blogger'];
  if ( isset ( $blogger ) ) {
    wp_redirect( get_wordpress_url ( $blogger ) , 301 );
add_action( 'template_redirect', 'blogger_template_redirect' );
function get_wordpress_url($blogger) {
  if ( preg_match('@^(?:https?://)?([^/]+)(.*)@i', $blogger, $url_parts) ) {
    $query = new WP_Query ( 
      array ( "meta_key" => "blogger_permalink", "meta_value" => $url_parts[2] ) );
    if ($query->have_posts()) { 
      $url = get_permalink(); 
  return $url ? $url : home_url();

You just 301 redirected your blogger blog to WordPress!

301 is the best redirection protocol ensuring the least ranking loss. (100% ranking loss is “impossible”, it always loses some juice, but this causes the least damage and you can come back up in less than a week!)

Final Words:-

So that was all I had folks on How to Switch from Blogger to WordPress without Losing. I'm sure this piece should've helped you out Migrate from Blogger to WordPress without losing Google search rankings.

If it did, I'd love it if you hit the share buttons. Or maybe got a question? Something isn't working, right? Do leave a comment I'll try my best to help you out.

Continue Reading


How to Lock WordPress Content?



How to Lock WordPress Content

It's a thankless world, no matter what you do, you don't always get the support you deserve or crave for right? That happens with us too. And hence I had to come up with this piece on How to Lock WordPress Content.

At times, after spending weeks on research and hours on the keyboard when I finally get a piece finalized, I expect some support from my readers but that's not always what happens, and hence I'll be teaching you How To Restrict Access To Areas Of Your WordPress Website, now that's something which helps.

What Does Restricting Content Mean?

Well if I'm writing a piece for the audience, what's the point in restricting it, right?

The point is, the restriction doesn't exactly mean restriction, it means partial restriction, let me show you How to Add Content Locking in WordPress, and you'd understand.

#1. Partial Locking:-

Basically it's like the content is locked till a certain action is performed, let's say alike, a share of the article on social media, or a comment!

#2. Password Protection:-

Restricting isn't always for social shares or engagement, at times we also need to Password Protect our content, so that only a select few individuals have access to that content!

This can be used in order to compartmentalize information, or maybe if you're selling a particular kind of content, you can give them the passwords once you get paid.

Anyway, the reasons to lock WordPress content are endless.

What are the Benefits of Locking WordPress Content?

The benefits range from getting social signals, to more engagement!

It's like a cycle, let's say you lock a piece of content and the readers need to share the piece on their social media in order to gain access to the article, so once they share the piece, their friends would land on your site, and they'd share the piece too, hence creating a cycle of unlimited audience.

Not to mention the ranking boost that you'd get with the help of the strong social signals.

Also this way, your blog would attain a certain kind of authority on social media, people would naturally start sharing your content if the content is really good without you needing to force them to do so.

And if you're going with the Password Protection method, I think you already know why passwords are a good thing, right? They help you secure your privacy, restrict unwanted users from accessing content that's not for them and so on.

How to Lock WordPress Content:-

Well, there are a number of ways to lock WordPress content, but we would stick to the simplest and easiest ways to do so.

There are two ways to lock WordPress Content which I'll be discussing:-

  • How to Lock Specific Content in WordPress Blog Post using Passwords.
  • Lock WordPress content using third party plugins:-

So let's get along with the first method. That's how to lock WordPress content using Passwords.

This is the simplest method to lock WordPress content, in fact, it takes less than 10seconds to be completed, and doesn't require any third-party plugins or even the need to move away from the page where you're writing your content!

How To Restrict Access To Areas Of Your WordPress Website,

It's pretty easy, just write a post on your WordPress dashboard as you normally would, and then click on the “edit” option under the publish > visibility tab on the right sidebar of the dashboard page:-

Next click on the “password protect” button and enter the password you want to set.

How to Lock WordPress Content

Done! Just publish the article with these settings and it would be password protected. Now only those who have the password to the article will be able to view the articles!

Note that this restriction method is only applied to the current post, meaning for the post which you were writing, it's not universal, if you want this on every post of yours, you'd have to manually do so.l

Method #2  to Restrict WordPress content using Plugins:-

This method is more fruitful if you ask me, basically locking WordPress content with this method helps you get more social signals and exposure.

There isn't a lot of settings you've got to manage either, in fact, it's as easy as “install and use”. Of course, there are advanced settings for those who are interested, but the basic settings are preloaded and don't need a lot of effort from your side.

So in order to lock WordPress content with this method, you'd need to login to your WordPress dashboard, and click on Plugins > add new.

How To Restrict Access To Areas Of Your WordPress Website,

And then search for “Social Locker”, and install the below plugin.

How To Restrict Access To Areas Of Your WordPress Website,

Once it's installed, You'd get the locking shortcode on your WordPress dashboard writing box.

How to Add Content Locking in WordPress

So in order to lock content, just select the text you want to lock, and then click on the shortcode.

how to Lock Specific Content in WordPress Blog Post


Let me show you how the locked content looks once it's live!

How to Lock WordPress Content

If you ask me, I'd say the locker does a pretty professional job! And it wasn't hard installing it either was it now?

Final Words:-

So that was all I had on How to Lock WordPress Content guys. I'm sure this piece should've helped you.  If it did, I'd appreciate it if you leave a comment down in the comments section.

Or if you're stuck somewhere and I can help, do let me know. Also, I'd love to hear if you've got your own thoughts on locking WordPress content, maybe a plugin that's better, or maybe a different method altogether?

Basically feel free to speak your minds out.

Continue Reading


How to Create Custom Post Types in WordPress?



Ever wondered How to Create Custom Post Types in WordPress? Then this article is exactly for you! I've been scribbling down a lot many WordPress posts recently, and hence this Title hit my mind.

Okay, so WordPress is the most popular CMS that exists on this planet today, featuring more than 25% of the total world websites. (Which I've probably said a thousand times!)

So anyway, it didn't hit that mark the day it was launched. It has gone through some major updates and releases and that's the reason why you know it in the form you do today.

And another great secret about WordPress is that many people take it as just a blogging platform! Unaware of all the superpowers it holds! And custom post types is one such superpower!

What are Custom Post Types?

The very first question hitting your minds right now probably is, what exactly are custom post types, right? Yeah, I get that.

Now tell me what do you understand when I say a “Post type” on WordPress? Probably a blog post, right? Or max, maybe a page. That's your definition of WordPress Post types, isn't it? And it's totally natural too, I was one of you just weeks back!

Well, Custom post types are different kinds of posts you can create on WordPress. Not “posts” exactly, but somewhat similar.

They're more than just an article or a page, offering you more features and stuff! Basically, they're an advanced version of WordPress, they're features that make WordPress more than just an article writing platform.

The current WordPress custom post type fields that WordPress supports apart from the article and pages are:-

  • Article/Post.
  • Page.
  • Revision
  • Attachment
  • Nav Menu.

And the story doesn't end there! It even lets you create your own custom post types! Well yeah! Let's say you have a portfolio page, you can create it's custom URL structure, elements, and everything else, without coding a single line!

Or, let's say you want to create a Testimonials page, that page won't be the kind of “articles”, right? It needs to look different, contain testimonials, feel different, doesn't it? That's what a custom post type lets you do.

The most popular custom post type used by bloggers is, the review type! Yeah because reviews are a pretty popular blogging niche, and thus a lot of bloggers are already using this custom post.

How to Create Custom Post Types in WordPress

Here's an example of a custom post type from Wpbeginner.

In short, you can create any kind of custom post type on WordPress as you want, and that's exactly what I'm going to show you today.

Why do You Need Custom Post Types:-

Another question that might be hitting your mind right now after knowing what a custom post type is, why do you even need it, or if even you need it at all!

Let me answer that, custom post types give your pages a better look, a matching look with the content! For eg., you can have a testimonials' page even in the form of an article, but having it look like a custom testimonials page makes it look better, right?

It also gives a better structure to your pages! For eg. on the articles' types contains only text+images, right? On the custom post types, you can have a lot more than that as you might have seen in the above example.

How to Create Custom Post Types in WordPress:-

So okay getting back to the track, let's look into how to create the custom post types on WordPress.

Now, there are more than one methods to achieve this:-

  • Using a Plugin (Will take 1minute to install the plugin+ around 2minutes to create the custom types!)
  • Manually coding the feature. (Will take 3-4minutes + Is a lot more complicated!)

So, let's just stick to the first easier, safer and faster option, right?

Login to your Dashboard, and click on Plugins  > Install new.

How to Create Custom Post Types in WordPress

Now search for Custom Post Types UI on the search bar.

wordpress custom post type fields

And then install the plugin.

wordpress custom post type fields

Once it's installed, click on the Activate now button.

wordpress custom post type fields


Now just click on the Add/Edit Post types option that has appeared on your sidebar.

How to Create Custom Post Types in WordPress

Then just complete the basic settings as shown, and according to your own requirements.

How to Create Custom Post Types in WordPress

Once that's done, scroll down for the primary settings, this is where you actually design the custom post type, just fill it according to your needs, because there are 20+ options and the needs would vary, so I'm not filling them up here.

And then finally just click on the “Add new post type” button at the bottom of the screen.

How to Create Custom Post Types in WordPress

Done! Your new custom post type would be live instantly!

Final Words:-

So that was all I had on how to create custom post types in WordPress guys! It's pretty straightforward with the plugin.

Although yeah I do agree there is quite a bit of field to fill in, you're creating a whole new type of posts on WordPress, so it's only natural for it to be this way, right?

Well if you face problems with the filling of forms, worry not! They've got a “hints' text always available for each field. So you'll always know what to fill in.

Did you learn anything from this piece? If you learned even a single newline, data, process or even a sentence, do let us know in the comments, I love hearing from you guys.

And if you get stuck somewhere while filling the fields, just use the comments section, I'll help you out as soon as time permits me.

Continue Reading


How To Disable Comments in WordPress?



how to disable comments in wordpress

WordPress comments are more than just  “comments”. Right now, they're primarily used for backlinking more than “feedback”. Even on honest feedback, there's a link attached. There's nothing wrong with it, but just in case you're someone like me, you might want to learn How To Disable Comments WordPress.

And that's exactly what I'll be covering in this piece. Well, I'll go into the basics of course (as always) and let you know why you should consider disabling them in the first place.

It's not 2008 anymore, so there's a lot that's changed with comments, and you need to understand those factors before jumping into the conclusion that you want to disable comments for your WordPress website.

So let's start from the basics, as always.

Why Would you Want to Disable Comments WordPress:-

There are a good number of reasons for you to disable comments on your WordPress site right now! It's not the year 2008 as I've already said.

So? What's changed? Let me tell you what's changed!

Back in 2008, commenting was a way to express your opinion, your feedback on the content! Right now? It's a way to spam other people's websites, overload their servers, curate backlinks for yourselves.

And all this without providing any value on the content! Probably not even reading it!

Even if you do not have a problem with the links being passed from your website, Google does have a problem! Here are the primary reasons why it's bad for your SEO

  • The number of outbound links from your URL reduce your overall link value.
  • Links to irrelevant sites, especially spam and adult websites is extremely negative for your SEO and it affects the content from where the link has been passed.
  • Spam is just not desirable! The comment takes up important and limited server resources and space, which could be utilized by some other legit commentator!
  • Comments, is time-consuming. Not just approving comments, but checking them, reading them and replying to them consumes time there's no doubt to that, and hence it's yet another point when you might want to disable comments on the WordPress site.

So those are the primary reasons why disabling comments sounds like a good idea right now!

I've been talking so much about spam comments! What exactly are these comments? 

It's important for me to explain to you what “spam' comments are before telling you to How to turn OFF comments on your WordPress pages, right? Only then you'd be able to make a wiser decision with your comments!

What are Spam Comments:-

Spam comments are the primary reason why you might be wanting to disable comments on your WordPress site.

Spam comments are comments, which are posted on your website without any intellectual value in them. They are posted by people who might not have even read the article.

They're just posted for the sake of backlinks primarily, or to grab attention. They're comments without a valid person or organization behind them in some cases.

Spam comments are also posted in bulk by some bots on the internet.

So basically, the bottom line is spam comments are just comments which harm and overload your website and are in no way profitable for you.

So yeah those are what Spam comments are, so now let's have a look at How To Disable Comments WordPress.

How To Disable Comments in WordPress:-

Now there are two “disable” options you can use. First is, not allowing people to post a comment at all! Meaning your blog won't have a comments section.

And the second is enabling a moderation model. This mode will let the comment section be there, but the comments would be temporarily hidden until you approve them, so unless you don't approve the comments, they're disabled.

Let's first go with the first method.

In order to disable comments in WordPress, login to your dashboard, and click on Settings.

how to disable comments in wordpress

After that, click on the “discussions” option.

how to disable comments in wordpress

This would bring up a screen, and just unmark the “

how to disable comments in wordpress

And then finally click on the “save” button to finalize your settings! Done!

how to disable comments in wordpress

Now your visitors won't have the comments option on your new posts!

Method 2:- In case you don't want to completely disable the comments, there's something else for you as I promised.

What happens in this method is, the comment box is still there, and people can still comment, but the comments are shown only once you approve them.

So in other words, the comments are disabled until you approve,  and hence it's pretty much the same thing, in fact, it's better if you ask me.

This way you can have a look at the comments and approve if a legit one pops up.

So well, just proceed similarly as in the above steps till you reach the Settings>Discussions screen, and there, just click the “Comment must be manually approved” option under Before a comment appears settings.

how to disable comments in wordpress


Final Words:-

So that was all I had on How To Disable Comments WordPress. If the piece helped, I'd appreciate it if you hit the share button.

Also, do let me know your feedback and experience on this post, it helps me improve the quality of the articles. And if you faced any kind of problem, issue or anything that's not working out in the above method for you, just leave a comment.

I'll try to get it fixed for you.

Continue Reading