Blog

How to Add an Author Info Box in WordPress Posts


Do you want to add an author bio box in your WordPress posts? The author bio box is a small section where you can display information about the blog’s author, show their social media profiles, and more.

Many WordPress themes allow you to easily display author bio using the default WordPress functionality. However, some themes may not have this feature built-in, or you may want to change how they display the author bio section.

In this article, we will show you multiple ways to easily show an author info box in WordPress posts. We will also show you how to customize author bio and make it more useful.

Easily add an author info section to WordPress posts

Why and When You Need an Author Info Box in WordPress

Seeing an actual person behind the content helps build credibility and strengthens your site’s authority among users.

For a single-author WordPress blog, you can just add an about me page, but for a multi-author WordPress sites, you’ll need to add an author info box below each post.

This helps your users learn more about individual authors on your website. It also provides authors an additional incentive to contribute more often and interact with readers.

If you want more users to submit content to your website, then the author info box is a great way to attracts writers who are looking for exposure and new audiences.

Having said that, let’s take a look at how to easily add an author info box in WordPress posts.

Adding Author Info Box in WordPress Posts

WordPress is the best website builder in the world because of the flexibility and customization options it offers.

There are many different author bio plugins that you can use to add an author info section. We will show you the default WordPress method, two different plugins as well as the code method. This way you can choose a method that works best for your site.

  • Adding Author Box in WordPress using WordPress Themes
  • Adding Author Box in WordPress using a Plugin
  • Adding Author Box in WordPress Sidebar
  • Adding Author Box in WordPress using Code Snippets

Method 1: Adding Author Bio Using Your WordPress Theme

If your WordPress theme comes with an author information box below each article, then you can simply use that to display your author bio.

In order to make use of it, you will simply need to visit Users » All Users page. From here you need to edit the user you want to change.

Editing a user profile

On the profile edit screen, scroll down to the ‘Biographical info’ section to add the author’s bio. You can also use HTML in this field to manually add links to the author’s social media profiles.

Add author bio in user profile

The author profile image is fetched using Gravatar. If the author has not set up a gravatar photo, then you can ask them to follow our guide for setting up a gravatar photo in WordPress.

Alternatively, you can also allow users on your website to upload a custom author profile photo by editing their profile.

Don’t forget to click on the ‘Update user’ button to save your changes.

You can now visit any article on your website to see your WordPress theme display author bio box below the content.

Preview default author info box

Method 2. Adding Author Info Box in WordPress Using a Plugin

If your theme does not show an author info box, or you want to customize it, then this method is for you.

For this method, we’ll be using a WordPress plugin to add author info box to your WordPress posts.

First, thing you need to do is install and activate the Author Bio Box plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, you need to visit Settings » Author Bio Box page to configure plugin settings.

Author Bio Box settings

From here, you can choose colors, gravatar size for the author photo, and location to display author bio box.

Once you are done, don’t forget to click on the ‘Save changes’ button to store your changes.

Next, you need to visit Users » All Users page and click on the ‘Edit’ link below the user you want to change.

Editing a user profile

On the profile edit screen, you need to scroll down to ‘Contact Info’ section. From here you can add links to the author’s social media profiles.

Add social media links to user profile

The plugin will only show icons for social networks where you enter a URL.

After that, you can scroll down to the ‘Biographical Info’ section to add the author’s bio. You can also use HTML in this field to manually add links or use basic HTML formatting options.

Add author biographical information

Once you are finished, click on the Update user button to save your changes.

You can now visit any article written by that user to see the author info box in action.

Author info box plugin preview

Method 3: Display Author Info in a Sidebar Widget

Do you want to show the author info in the sidebar instead of below the article? If yes, then this method is for you because it allows you to show author info box in a sidebar widget.

For this method, you’ll need to install and activate the Meks Smart Author Widget plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, you need to visit Appearance » Widgets page. There you will find Meks Smart Author under the list of available widgets. You need to add this widget to the sidebar where you want to display the author information.

Adding author info widget

The widget comes with a number of options. The most important option that you need to check is the checkbox next to ‘Automatically detect author’ option.

Click on the Save button to store your widget settings. You can now visit your website to see the author’s information widget in action.

Author bio box widget

This plugin fetches user information from their WordPress profile. You or your authors will need to fill their biographical information by editing their profiles.

Method 4. Add Author Info Box Manually (Coding Required)

This method requires you to add code to your WordPress website. If you have not done this before, then please take a look at our guide on how to add code snippets in WordPress.

First, you need to add the following code to your theme’s functions.php file or a site-specific plugin.

function wpb_author_info_box( $content ) 
 
global $post;
 
// Detect if it is a single post with a post author
if ( is_single() && isset( $post->post_author ) ) 
 
// Get author's display name 
$display_name = get_the_author_meta( 'display_name', $post->post_author );
 
// If display name is not available then use nickname as display name
if ( empty( $display_name ) )
$display_name = get_the_author_meta( 'nickname', $post->post_author );
 
// Get author's biographical information or description
$user_description = get_the_author_meta( 'user_description', $post->post_author );
 
// Get author's website URL 
$user_website = get_the_author_meta('url', $post->post_author);
 
// Get link to the author archive page
$user_posts = get_author_posts_url( get_the_author_meta( 'ID' , $post->post_author));
  
if ( ! empty( $display_name ) )
 
$author_details = '<p class="author_name">About ' . $display_name . '</p>';
 
if ( ! empty( $user_description ) )
// Author avatar and bio
 
$author_details .= '<p class="author_details">' . get_avatar( get_the_author_meta('user_email') , 90 ) . nl2br( $user_description ). '</p>';
 
$author_details .= '<p class="author_links"><a href="'. $user_posts .'">View all posts by ' . $display_name . '</a>';  
 
// Check if author has a website in their profile
if ( ! empty( $user_website ) ) 
 
// Display author website link
$author_details .= '  else  
// if there is no author website then just close the paragraph
$author_details .= '</p>';

 
// Pass all this info to post content  
$content = $content . '<footer class="author_bio_section" >' . $author_details . '</footer>';

return $content;

 
// Add our function to the post content filter 
add_action( 'the_content', 'wpb_author_info_box' );
 
// Allow HTML in author bio section 
remove_filter('pre_user_description', 'wp_filter_kses');

This code simply fetches the author information and displays it below WordPress posts. You need to style this author info box so that it looks nice and matches your WordPress theme.

You can add the following custom CSS to style your author box. Feel free to modify it to meet your needs

.author_bio_section
background-color: #F5F5F5;
padding: 15px;
border: 1px solid #ccc;

 
.author_name
font-size:16px;
font-weight: bold;

 
.author_details img 
border: 1px solid #D8D8D8;
border-radius: 50%;
float: left;
margin: 0 10px 10px 0;

This is how the author info box looked on our demo site.

Custom author info box

We hope this article helped you learn how to add an author info box to WordPress posts. You may also want to see our tips on how to increase your blog traffic, or our step by step guide on how to create an email newsletter.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Add an Author Info Box in WordPress Posts appeared first on WPBeginner.



Source link

How Much Does a Domain Name Really Cost? (Expert Answer)


If you have ever tried to register a domain name before, then you have likely seen a wide-variety of prices ranging from $9 to several thousand dollars.

The cost of a domain name varies based on the domain extension (such as .com, .org, .net), domain registrar, availability, and few other factors.

Apart from new domain names, you can also buy premium domain names from someone else who has registered it before you. Domain name investors often register premium domain names that are shorter, brandable, and easy to remember for the sole purpose of reselling.

In this article, we’ll explain how much does a domain name really costs. We’ll also show you different ways to buy a domain name including a way to get one for free.

How much does a domain name really cost

Since this is a comprehensive guide on domain name costs, we have broken it down into few sections:

How Much Does a New Domain Name Cost?

Buying a new domain name would typically cost you anywhere between $9 and $14.99 per year. However, these prices may differ based on the domain extension or the domain registrar you choose.

If you are starting a new website, then we recommend using Bluehost. They are one of the top web hosting companies in the world.

They are offering WPBeginner users a free domain name + free SSL certificate on top of the 60% discount on their web hosting plans.

→ Claim Your Free Domain Name with Bluehost ←

Since you need both a domain name and web hosting to make a website, this is the most affordable option to get started.

If you just want to purchase a domain name, then we recommend using Domain.com as your registrar. You can use our Domain.com coupon code to get 25% off your purchase.

Here is how much a new domain registration costs with different registrars.

  • Bluehost – Free domain with hosting $2.75 / month
  • Domain.com – $7.45 for .com domain names with our coupon code
  • HostGator – Free domain with hosting $2.64 / month
  • GoDaddy – $11.99
  • DreamHost – Free domain with hosting $2.59 / month

These prices are for new .com domain names only. The pricing of other extensions such as .net, .org, .info, .blog, etc. will vary based on the domain registrar you use.

When it comes to domain extensions, we always recommend users to use .com because it’s the most popular one.

Hidden Costs of a Domain Name

Aside from the domain registration cost, there are few hidden domain costs and upsells that you should be aware of, so you can make the most educated decision.

Yearly Renewals

Domain name registration is done on a yearly basis. You can maintain control over your domain name as long as you continue to renew your registration each year.

Some domain registrars offer domain name discounts on first year purchase, but their renewal costs are much higher. If you see a promotion where you can pay $0.99 for a domain name, then please know that it’s usually for first year only. Your annual renewals will be at a much higher price.

WHOIS and Domain Privacy

ICANN is the not-for-profit public-benefit corporation that is responsible for coordinating the assignment and maintenance of domain names. They require each domain registrar to collect contact information for the website owner.

This information can be publicly accessed using WHOIS data. Other businesses and companies can use this information to contact you about a potential business partnership.

Having the WHOIS data publicly available can result in unwanted emails and phone calls. This is why many domain registrars sell an add-on called Domain Privacy.

This addon typically costs an additional $9.99, and it’s completely optional. The problem is that often registrars automatically add it to the cart, and you have to manually remove it if you don’t want to pay for it.

Some registrars like DreamHost offer free domain privacy with their domains.

Business Email Accounts (Email Domains)

When buying a domain name, you will likely see an addon for email domains for setting up a professional business email address.

You do not need to buy this because you can get a free business email address with most web hosting companies.

If you want a more professional option, then we recommend buying this directly from G Suite or Microsoft Office365, so you’re not locked into a registrar.

Pro Tip: Secure Domain Discounts for Multiple Years

Some registrars like Domain.com allows you to pre-pay for multiple years upfront. This is a great way to get the introductory discount offer for multiple years.

Since you have to pay for domain renewals every year, pre-paying for multiple years can be a significant saving. Not to mention, it saves you from future price increases.

But these hidden fees and domain cost explanation is primarily for new domains that are available to register.

What about premium domains or domains that you buy from other people? Let’s take a look at the premium domain costs in details.

How Much Does a Premium Domain Name Cost?

Premium domain names are pre-registered domain names that are often shorter, brandable, and more memorable. Often domain investors register these premium domain names to sell later at a higher price for profit.

Cost of premium domain names can range anywhere from a few hundred dollars to thousands of dollars. It all depends on the uniqueness of the name, domain length, and its overall brand potential.

Some premium domains may even cost hundreds of thousands to millions of dollars. Here are some of the most expensive domains sold in history:

  • Insurance.com – $35.6 million
  • PrivateJet.com – $30.18 million
  • Hotels.com – $11 million
  • Fb.com – $8.5 million
  • Business.com – $7.5 million

You can find premium domain names listed for sale by private sellers on various websites.

We recommend buying domain names from reputable websites to ensure a safe transfer of the domain name. See our guide on the best places to buy a premium domain name.

How to Estimate The Value of a Premium Domain Name?

Many beginners ask us about how to find the right offer to make for a premium domain or a pre-registered domain name?

Domain names that are already taken are often sold at a higher price. However, most of the time the asking price is outrageously high which discourages many inexperienced domain buyers from making an offer.

We recommend users to do some research and make a reasonable counter offer. Remember, the domain investor only makes money when they sell the domain.

Like most trades, the value of a premium domain largely depends on the maximum you’re willing to pay and the lowest the seller is willing to accept.

However, you can look at domain marketplaces like BuyDomains, Sedo, or Flippa to better understand the market rates, so you can make a respectable offer for a particular niche.

Flippa domains

If the domain you are looking for already has a listed price, then you can start by offering 50-75% of the listed price.

Note: Most domain value estimation tools are completely useless, so it’s best to avoid using them as a reference.

We recommend caution when buying a registered domain name. If you are unsure about the domain’s potential worth to your business, then simply walk away.

How Much Does an Expired Domain Names Cost?

Each day thousands of domain names expire. These are the domain names where the owner decided not to renew their registration, or they simply forgot about these domain names.

Expired domains provide an excellent opportunity to find great brandable domain name. The following are a few places where you can look for recently expired domain names.

1. FreshDrop

FreshDrop

FreshDrop is a domain marketplace that allows you to follow expired and soon to be expired domain names. It comes with an advanced search tool that you can use to narrow down your search.

2. ExpiredDomains

ExpiredDomains

ExpiredDomains is a search engine dedicated to expired domain names. It may not look as easy to use as other domain search tools but it has a large and constantly updated index of domain names.

Note: You need to check for domain abuse and other problems before buying a used, pre-registered, or expired domain names (more on this later).

Cost of Expired Domain Names

Normally, you can register an expired domain name at the usual yearly rates of your domain registrar company.

However if a domain name is soon to be expired, then you can use a domain backorder service. This allows you to place an advance order for the domain name.

If there is no other advance order for that domain name, then your order will become successful. Most domain name companies charge a small one-time fee ($25 – $99) to provide this service.

How to Buy a Domain Name Not Listed for Sale?

So far we have talked about the cost of domain names that are available for registration or sold by third-parties. What if you have your eye on a domain name that is already taken but not listed for sale?

There is a good chance that you can still get your hands on that particular domain name.

You see, many users register domain names to start a new online business idea. A lot of them end up never using that domain name or abandon the idea.

Since they’re not using the domain name, you can directly contact the domain owner to make an offer.

If the domain name has a website, then you can use the contact form on their website to reach out.

Alternatively, you can use the Whois search to find contact information of the domain owner and send them a message to show your interest.

Sometimes people register domain names for future ideas, so even if they’re not using it, they still wouldn’t want to sell it. Some folks get greedy and will ask for a premium to part ways with their domain.

Remember, you’re buying someone’s “dream idea”, so you need to be respectful but also realistic about the value.

Pro tip: If you have a business idea, then it’s better to register a domain name even if you’re not 100% sure. You don’t want to risk someone else registering it before you get around to it. We think of it as an insurance policy because a domain costs only $9.99.

Doing Your Homework Before Buying a Domain Name

If you are buying a domain name that has never been used before, then you are good to go.

However, if you are buying a domain name that was previously owned by someone else, then you need to do some basic due diligence.

These domain names could be violating copyright or trademark, used to distribute malware or spam, or misused in other malicious activities.

Don’t worry, there are plenty of tools that you can use to do your homework.

1. Check For Trademark

First, you would want to make sure that the domain name is not a registered trademark of an existing business.

According to ICANN rules, if a domain name violates a company’s registered trademark, then that company can claim the domain name or ask you to take it down.

You can check the United States Patent and Trademark Office’s database to do a quick trademark search. Simply enter your domain name in the search box to see if it returns any matches.

Trademark search

2. Check Past Domain Name Usage

Next, you would want to see how the domain name has been used in the past. What kind of websites were made using that particular domain name?

The easiest way to do this is by using the Wayback Machine. It is a massive historical archive of the internet with snapshots of websites archived on a regular basis.

Wayback Machine

3. Check Historical Whois Records

Whois tools provides you historical whois records for a domain name. This helps you see when a domain name was created, last renewed, DNS changes, and other historical data.

Whois

4. Run a Domain Health Check Test

Finally, you need to make sure that the domain is not used to send spam, launch DDoS attacks, or spread malware. You can use MxToolBox’s domain health tool to see if raises any red flags.

Check domain health check

Frequently Asked Questions About Domain Name Costs

Having helped thousands of users start a blog and website, we have answered a lot of questions related to domain names. Below are some of the most common ones:

Can I get a domain name for free?

While domain name typically costs $14.99 / year, you can get a domain name for free as a bundled offer with various web hosting companies.

Hosting companies like Bluehost, HostGator, Dreamhost, GreenGeeks, and others offer free domains with their web hosting packages.

Which is the best domain name registrar?

We believe that Domain.com is the best registrar right now because they have the features you need, and they’re offering a 25% off discount.

However it’s a smarter money decision to get a free domain with web hosting like Bluehost because it saves you time and money.

You can always transfer your domain name to another popular domain name registrar if you’re not happy with your existing provider.

Do I need both domain name and web hosting to build a website?

Yes, you need both the domain name and web hosting to build a website. Domain name is your website’s address on the internet whereas web hosting is where your website files are stored. For more details, see our guide on difference between domain name vs web hosting (explained).

Can I buy a domain name forever (permanently)?

No, you cannot buy a domain name permanently. Domain name registration is done on a yearly basis. However, you can pre-pay for up to 10 years which guarantees that you will have a domain name for 10 years.

How much does a domain name cost on Wix vs WordPress?

When using a hosted website builder platform, the cost of your domain name will vary. It’s important to remember that website builder platforms offer a combination of hosting + domain.

For example, Wix domains cost $14.95 / year, but they are free if you choose the annual plan which costs $13 / month.

WordPress.com domains cost $18 / year, but they are included for free with the annual Personal plan which costs $8 / month.

But if you use a self-hosted WordPress platform, then you can start a website with Bluehost for $2.75 per month, and it comes with a free domain name. For more details, see the difference between WordPress.com vs self-hosted WordPress.org.

We hope this article helped you learn how much does a domain name really cost. You may also want to see our guide on how much does it really cost to build a WordPress website.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.



Source link

How to Prevent Clients from Deactivating WordPress Plugins


Do you want to prevent clients from accidentally deactivating WordPress plugins on the website?

If you make websites for clients, then you probably already have a favorite toolkit of must-have WordPress plugins to install on each site. You may also add custom code snippets inside site-specific plugins for that client.

However, clients can accidentally deactivate one of those plugins, which may affect their site’s functionality or even break it completely.

In this article, we’ll show you how to safely prevent clients from deactivating WordPress plugins without restricting their control on the website.

How to stop clients from deactivating crucial plugins in WordPress

We will cover two methods, and you can choose the one that works best for you. We’ll also discuss some alternative approaches along the way.

Let’s start with the easiest option.

Method 1. Prevent Plugin Deactivation in WordPress by Using a Plugin

This method is easier and less intrusive. It also gives all users with administrator role full control, and they can turn it off whenever they want.

Basically, we will be using a plugin that will remove the ‘Deactivate’ link from all plugins. Users would still be able to install new plugins and can disable this prevention anytime at their own risk.

The first thing you need to do is install and activate the Disable Plugin Deactivation plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, you need to visit Plugins » Plugin Deactivation Settings page to configure plugin options.

Disable Plugin Deactivation settings

Simply select ‘Enable’ next to ‘Disable Plugin Deactivation’ option to turn off the ‘Deactivate’ link for all plugins.

Optionally, you can also disable plugin activation which will stop users from activating any other plugin. You can also turn off plugin deletion and prevent users from installing plugin updates.

Note: You should never disable plugin updates on client sites. This would compromise WordPress security and make your client vulnerable to security threats.

Don’t forget to click on the ‘Save changes’ button to store your settings.

You can now visit the plugins page to see the plugin in action. You’ll not see the ‘Deactivate’ link below any of the active plugins on the website.

No deactivation

The plugin provides an easier and non-obtrusive way to disable the plugin deactivation option. However, your clients can simply go to Plugins » Plugin Deactivation Settings page and disable this feature.

Method 2. Prevent Specific Plugins from Deactivation

This method allows you to prevent deactivation of a single plugin or a group of specific plugins installed on a website.

You’ll need to add code to your WordPress website. If you have not done this before, then take a look at our guide on how to easily add code snippets in WordPress.

First, you need to find the plugin locations that you want to disable. WordPress plugins are stored in the wp-content folder on your website.

You can view this folder by connecting to your WordPress hosting account using an FTP client. Inside the plugins folder, you’ll see different folders for each plugin installed on that website.

Plugins folder

Inside each folder, you’ll also find a plugin file, which is usually named after the plugin and ends with .php extension.

Next, you need to add the following code to your theme’s functions.php file or a site-specific plugin.


add_filter( 'plugin_action_links', 'disable_plugin_deactivation', 10, 4 );
function disable_plugin_deactivation( $actions, $plugin_file, $plugin_data, $context ) 

	if ( array_key_exists( 'deactivate', $actions ) && in_array( $plugin_file, array(
		'wpforms/wpforms.php',
		'woocommerce/woocommerce.php'
	)))
		unset( $actions['deactivate'] );
	return $actions;


As you can see in the above code, we have disabled deactivation for two plugins, WPForms and WooCommerce.

We have added the plugins by mentioning their location inside the plugins folder. For example, wpforms/wpforms.php

Don’ forget to replace plugin locations with the plugins that you want to protect.

You can now visit the plugins page, and you will notice the deactivate link disappear below those plugins.

Specific plugins protected

This method is better as it only affects crucial plugins. Your clients will still be able to deactivate other plugins, install new plugins, delete plugins, and update all plugins.

Limiting Plugin Access by User Roles and Permissions

WordPress comes with a built-in user role management system. A default WordPress installation comes with the following user roles:

To learn more, see our complete beginner’s guide to WordPress user roles and permissions.

Only the Administrator user role has permission to manage plugins. If you are making a website for a client, then you can create two user accounts for them.

One with the Administrator privileges, which will allow them to manage the website on their own. After that, you can add a second user account with the Editor user role. Your clients can use it to create content.

This would reduce the chances that they will accidentally deactivate crucial plugins. You’ll need to educate them to use the Administrator account carefully for installing updates or adding new users.

Alternately, you can create a custom user role with a specific set of permissions. This way you can create a user role that can modify themes but cannot manage plugins.

We hope this article helped you learn how to prevent clients from deactivating WordPress plugins. You may also want to see our guide on how to create a custom WordPress login page for your clients.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.



Source link

How to Get Google Sitelinks for Your WordPress Site


One of the questions we often get asked from readers is: how do I get additional links to appear under my site’s search results in Google?

Sometimes when you search for a company name in Google (like “wpbeginner”), you may notice that the search listing is larger than others because it contains sitelinks to other important pages from the website.

These sitelinks in Google helps your brand stand out and get more exposure. In this article, we will share how you can get Google sitelinks for your WordPress site.

How to Get Google Sitelinks in WordPress

Since this is a comprehensive guide on adding Google sitelinks, we have created a table of content for easy browsing:

  • What are Google Sitelinks?
  • Why are Google Sitelinks Important?
  • How to Get Google Sitelinks for Your WordPress Site
  • How to Add Google Sitelinks Search Box

Google sitelinks are additional sub-pages that appear under the first site in search engine ranking results (SERPs). These are often internal links to the most popular pages of that website. Google sitelinks are often shown when you search for a specific brand keyword because they help the user easily navigate around the website.

The exact number of Google sitelinks may vary for each website. A typical brand name search in Google can contain two, four, or six sitelinks displayed underneath the website name.

Here’s an example of what a Google sitelink looks like:

What are Google Sitelinks?

Google sitelinks are chosen by their algorithm to provide the best user experience because it allows users to head directly to the top pages without extra clicks.

If your website is brand new or does not get a lot of traffic, then Google may not display any sitelinks for your keyword.

Don’t worry, we’ll share some tips on how to influence Google sitelinks for your website. But before we do, let’s talk about why Google sitelinks are important.

Google sitelinks are coveted by business owners and SEO professionals because they help your brand stand out. Here are the top 5 reasons why Google sitelinks are important.

1. Google Sitelinks Improve Your Click-Through-Rate (CTR)

Studies show that the top 3 spots in Google get the most clicks. When sitelinks are shown for a specific brand, it takes up the same amount of space as three regular search listings.

This significantly increases your overall click-through rate. Simply put, more visitors will visit your website from the keyword.

Google Search Click-Through-Rate by Position

2. Google Sitelinks Help Build Trust and Credibility

As we mentioned earlier, Google Sitelinks are not shown for all websites. When Google display sitelinks for a brand, it means that a website is popular, well-optimized, and/or that Google believes the results are useful for the visitor.

Google sitelinks take up a lot of screen space (a.k.a digital real-estate). This tells the user that Google believes the #1 result is a lot more relevant than others on the page.

Google Sitelinks Above the Fold (Digital Real Estate)

On mobile, the same sitelinks take even more screen space, further highlighting the brands credibility.

3. Google Sitelinks Can Increase Product Awareness

Google sitelinks highlight the most important pages on the website. This is based on what Google’s algorithm believes to be the most relevant to the user’s search intent.

For a company like OptinMonster, this works out great because it lets new users quickly become aware of their product, features, pricing, and even blog content.

Google Sitelinks Key Product Pages

A new user may not know that the OptinMonster blog has the best conversion optimization tips, but because of Google sitelinks they’re more likely to check it out.

For an eCommerce website or online store, Google sitelinks may even show more personalized results to help users quickly discover and purchase available products.

For example, when we search for Apple, Google sitelinks are personalized to not only show the top Apple products but also the closest physical Apple stores.

Google Sitelinks Personalized Results

This lets us easily discover Apple’s top products, and even have one-click access to the stores, hours, and directions. This is extremely helpful and makes it much more likely for the user to make a purchase.

4. Google Sitelinks Allow Users to Discover Top Pages

Google sitelinks can also act as a great “Start Here” point for websites with a lot of content. This makes it easier for users to discover the top pages on your website.

For example, if a new user searches for WPBeginner, they will see our most popular (and most helpful) content first such as our Start Here page, our guide on How to Start a Blog, How to Make a Website, our 200+ WordPress tutorials category, our WordPress Beginner’s Guide category, and of course our popular WordPress blog.

WPBeginner Google Sitelinks

5. Google Sitelinks Search Lets Users Browse Deeper Pages

For some websites, Google sitelinks may be accompanied by a dedicated site-specific search box. This Google sitelinks search box allow users to search within the specific website directly from Google.

This is an extremely powerful feature, so Google only adds it for websites with a lot of content because they believe that including a search box will be the most useful for the user.

Google Sitelink search box only appears with sites that contain a lot of content like WPBeginner, YouTube, Wikipedia, etc.

What are Google Sitelinks?

Now that you know the importance of Google sitelinks, let’s take a look at how you can add Google sitelinks to your website.

There’s no guaranteed way to get Google Sitelinks for your website. Unlike other SEO features, there’s no button that you can click in Google Search Console to enable sitelinks for your WordPress site.

Google sitelinks are automated, and they are displayed entirely based on Google’s algorithm. However you can follow certain SEO best practices to significantly improve your chances of getting Google sitelinks for your website.

Let’s take a look at the 8 best practices to get sitelinks for your website.

1. Your Website Name Must be Unique

Google sitelinks are primarily displayed on brand specific search queries, and they’re only added for the site that ranks #1 for that search results.

If you have a generic brand name like “Global HR Expert Consulting”, then you will likely struggle to rank at the top. Even if you get to position #1, Google still has a hard time deciding if the user is really searching for your company or the general topic.

This is why generic brand names don’t have sitelinks:

No Google Sitelinks for Generic Brands

Unless of course your brand becomes a household name like Apple, in which case Google knows the search intent is for people interested in the tech company, Apple, and not the fruit.

Since most companies will not have the marketing budget like Apple to become a worldwide brand, its better to select a more unique name for your company like WPBeginner, OptinMonster, etc.

Now if you already have an established brand, we definitely don’t recommend changing it just to get sitelinks because this is a very complicated task, and it has its own risks. For more details, see our guide on: how to move your site to a new domain.

2. Rank at Position #1 for Your Brand Name

As we mentioned earlier, Google sitelinks are only assigned to the first search result, so you need to work on ranking #1 for your brand term.

This can take some time for a new company, but with enough promotion you can get there.

For example, our new website, WP Mail SMTP, doesn’t rank #1 for its keyword, so we don’t have Google sitelinks yet.

Whereas our other new website, RafflePress ranks #1, so it has Google sitelinks.

RafflePress Site Link Example

To improve your website’s ranking, you need to follow our WordPress SEO guide and implement the best practices. You also need to do keyword research and write quality blog posts that are optimized for SEO. After that, you need get backlinks to your site.

3. Use Proper Structured Data for SEO

Search engines use automated bots to crawl and index your website. These search engine bots look for structured data to better understand what is the website and the specific page is about.

Structured data can help improve your chances of getting a Google sitelink, featured snippet, and even appear in the answers box.

You can set this up by using a WordPress SEO plugin like Yoast SEO, All in One SEO, or another similar plugin that lets you add meta data and other schema elements.

Again like with anything else, Schema markups or Structured Data doesn’t guarantee that Google will add sitelinks, but it definitely improves your chances.

4. Have Clear Website Structure and Navigation

As a website owner, it is your job to make sure that Google and other search engines can easily find their way around your website.

You can do this by organizing your top pages in well-thought out hierarchical dropdown WordPress menus.

You can add breadcrumb navigation on your website to make it easy for users and search engines to see the site structure.

You also need to make sure that you have the important website pages like About, Pricing, Contact, etc created and linked from various areas of your website.

5. Create a Sitemap and Add Your Site to Google Search Console

Google and other search engines rely on XML sitemaps to properly discover and index all pages from your website.

You need to create an XML sitemap, and then submit it to Google search console.

This will make it easier for Google to discover all the pages on your site, and it can also help increase your chances of getting a Google sitelink.

6. Make Internal Linking a Habit

Internal linking is one of the most important part of on-page SEO. You need to make sure that you’re frequently linking to your top internal pages on your website.

Since Google uses backlinks as a ranking signal, internal linking helps Google see which pages are the most important on your site.

You can see how we have linked to various of our internal website content from this article.

7. Improve Page Titles and Make them Relevant

Page titles are probably the most important on-page SEO element. You need to make sure that your page title is relevant to the keyword you’re trying to rank for.

Google uses page titles to generate the sitelinks, so you need to make sure that your page titles are relevant.

TrustPulse team has done a great job with their page titles:

Google Sitelinks Generated from Page Title

You can define the post or page title inside your WordPress SEO plugin settings for that respective page.

8. Increase Your Brand Awareness

As we mentioned earlier, that Google sitelinks are typically shown for established websites.

You don’t have to be a big brand like Apple or WPBeginner, but you need to raise enough awareness for Google to notice you.

Your website’s authority and presence online plays an important factor in Google’s ranking algorithm.

Here are few things you can do to boost your brand awareness:

  • Create social media profiles for your brand and make sure they link to you
  • Get positive business reviews about your brand on Facebook, Yelp, Google, and other review aggregators.
  • Guest blog on popular industry websites
  • Participate in community discussions and/or give interviews
  • Do press releases and reach out to news outlets to cover your brand

Brand awareness helps increase the number of brand search which is an indicator Google uses to determine if Sitelinks should be added for that particular term.

Just like Google sitelinks, the search box with sitelinks is also added based on Google’s discretion. The Google sitelinks search box is typically dedicated to websites with a large number of content such as WPBeginner, Wikipedia, YouTube etc.

What are Google Sitelinks?

With that said, you can add some code snippets on your website to encourage Google to display a site search box along with your Google sitelinks.

If you’re using the Yoast SEO plugin, then it adds the JSON+LD markup for site search automatically.

If you’re not, then you can use the Sitelinks Search Box plugin to add the relevant JSON LD schema markup.

Frequently Asked Questions about Google Sitelinks

In our Facebook Group and support channels, we have received many questions related to Google sitelinks. Below are the top ones.

How do I remove sitelinks from Google?

In the past, Google allowed webmasters to “demote” sitelinks from the Google search console. However that option was removed to simplify things. The only way to remove a specific page from Google sitelinks is to either delete the page or set it to noindex. There’s no way to disable Google sitelinks once they’re added unless you de-index your entire website which is not recommended.

How do I change Sitelinks in Google?

There is no way to change Sitelinks in Google. The Google algorithm automatically selects the relevant pages on your site and add it to the sitelink. You can customize the page titles, but it’s entirely up to Google as to what text they display. There’s no way to edit the text on Google sitelinks since it’s automated.

Can I pay to get Google sitelinks?

Sometimes beginners can confuse Google sitelinks with the Google Adwords Sitelink extension. When you’re paying for ads, Google lets you use the sitelink extension to add additional sublinks as part of your ad. This does not influence the Google sitelinks on your organic listing.

We hope this article helped you learn how to get Google sitelinks for your WordPress site. You may also want to see our guide on how to increase your blog traffic and how to monetize your blog.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Get Google Sitelinks for Your WordPress Site appeared first on WPBeginner.



Source link

120+ Black Friday / Cyber Monday 2019 WordPress Deals – Big Savings


Looking for the best Black Friday and Cyber Monday deals on your favorite WordPress products?

The next few days are the perfect time to buy premium WordPress plugins, themes, web hosting, and tools to grow your business. As always, to help you find the best deals, we have created the ultimate listed of best WordPress Black Friday and Cyber Monday deals for 2019. Some of these are exclusive just for WPBeginner readers.

View our Complete Black Friday and Cyber Monday List for 2019

Bonus Giveaways

Some WordPress companies are doing exclusive Black Friday giveaways. Here are the top ones:

  • Win a Macbook Pro from WPForms
  • Win an iPad Pro from MonsterInsights
  • Win a Macbook Pro from OptinMonster
  • Win an iPad from SeedProd
  • Win a Mac Pro from Elegant Themes
  • Win a Macbook Pro from MemberPress
  • Win a Macbook Pro from Formidable Forms

Once again, to see all the WordPress Black Friday deals, click here!

View our Complete Black Friday and Cyber Monday List for 2019

The post 120+ Black Friday / Cyber Monday 2019 WordPress Deals – Big Savings appeared first on WPBeginner.



Source link

How to Restrict Your WordPress Forms to Logged-in Users Only


Are you looking for an easy way to restrict your WordPress form submissions to logged-in users only?

If you have a membership site, online store, or another type of website that has registered users, then you may want to restrict certain forms access to only logged in users.

In this article, we will show you how to restrict your WordPress forms access so only logged in users can fill out and submit them.

Restrict Form Access in WordPress

When and Why You Need to Restrict Access for WordPress Forms?

There could be a number of scenarios when you would need to restrict access to certain WordPress forms to logged-in users only.

For example:

  • You may be hosting a private members event, and you only want registered users on your site to RSVP.
  • You may restrict access to support for members only, and by restricting it to logged-in users only, you can dynamically populate certain information from their profile.
  • You might want to run an employee survey or poll, and you want to restrict access to your internal team only.
  • You are running a customer NPS survey that you only want to be submitted by logged-in users only.
  • You might have a special prize claim form that you want to be accessed by only certain logged-in users.

These are just some examples, but there could be literally hundreds of other use cases where you want to restrict form access to registered users only.

With that said, let’s take a look how to restrict your WordPress form access to logged-in users only.

Method 1: Restrict Form Access with WPForms Form Locker Addon

This method is easiest and most powerful, so we recommend it for all beginner users. We will use the WPForms plugin and their Form Locker addon to completely lock down WordPress form access.

WPForms is the best WordPress form plugin used by over 2 million websites. It was created by WPBeginner’s founder, Syed Balkhi, to have all the features we needed for running our business.

The first thing you need to do is install and activate the WPForms plugin. For more details, see this step by step guide on how to install a plugin in WordPress.

Upon activation, you need to enter your license key and then add over to the WPForms » Addons page to install the Form Locker Addon.

WPForms Form Locker Addon

Now you’re ready to create a new form that has restricted access for logged-in users.

To do this, go ahead and create a new form by going to WPForms » Add New. This will open the WPForms form builder where you will be presented with the option to either choose a form template or start with a blank one.

WPForms drag & drop form builder is extremely easy to use, so you can add or remove fields and customize the form to your liking.

WPForms Form Builder

Once you have added all the necessary fields, you need to go to the Settings Tab and click on Form Locker.

WPForms Form Locker Settings

On this tab, you will see the option to enable password protection for your WordPress forms, set total entry limits, enable form scheduling, and enable restricting entries to logged-in users only.

Form Locker Logged in User Only

Once you check the box, you will see a new Message field where you will need to draft a message that will appear to all users who are not logged in to your site.

WPForms Form Locker Restrict Access Message

Once done, you can tweak other form settings that you might need and then click the Save button.

Now you can embed this form on any WordPress post or page on your site by using the WPForms shortcode in the Classic Editor or by using the WPForms block in the Gutenberg editor.

Simply go to Post or Pages, and then click on the Plus icon to select a block. Next, type WPForms in the block search.

Add WPForms block to WordPress post or page

Once the WPForms block is added, select your form to embed and you’re done. Congratulations, you have successfully created a WordPress form that’s restricted to logged-in users only.

Method 2: Restrict Form Access with Password Protected or Private Pages

Another way to restrict form access in WordPress is by using the default WordPress visibility settings. You can use this method with the free version of WPForms or any other contact form plugin.

Simply create a Page or Post where you want to embed the form. After that click on the Visibility settings on the right panel.

WordPress Page Visibility Settings

You have the option to either make the whole page private or make the whole page password protected.

Private pages can only be seen by the Administrators and Editor level users on your website.

If you set a password for the page, then you will have to share that password with everyone who you want to give access to.

While this method works, there are several downsides to it.

First, the entire page is hidden not just the forms area. You lack the finer controls, and there’s no way for you to see which logged-in user submitted the form (if you’re using the password protected setting).

Method 3: Use Advanced Membership Plugins to Restrict Form Access

If you’re using an advanced WordPress membership plugin like MemberPress, then it comes with a lot of access control features built-in.

You can simply go to MemberPress » Rules to create a new permissions rule.

Add new rules in MemberPress

The rule edit page allows you to select different conditions and associate them to a membership plan.

For example, you can select all content that matches a particular tag or category to be available only to members with the silver subscription plan.

Add a rules set to MemberPress

You can also create more specific rules. For example, a single post or page, child pages, or a specific URL.

Once you have set the rules, you can use it in combination with any WordPress contact form plugin to restrict form access to logged-in users only.

For more details, see our step by step guide on how to restrict content access in WordPress.

We hope this article helped you learn how to restrict your WordPress forms to logged-in users only. You may also want to see our list of best WordPress plugins for business websites.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.



Source link

21 Best WordPress Themes for Car Dealerships (2019)


Are you looking for the best WordPress themes for car dealerships?

There are hundreds of free and paid WordPress themes for business websites.

However, if you need a theme specifically designed for car dealerships or automotive enthusiasts, then it becomes difficult to find a perfect theme that just works out of the box.

In this article, we have hand-picked some of the best WordPress themes for car dealerships.

WordPress Themes for Car Dealerships

Creating a Car Dealership Website with WordPress

WordPress is the best website builder used by thousands of businesses around the world including many big name brands. It is also a popular choice among car dealerships, automobile enthusiasts and bloggers.

Before getting started, make sure that you are choosing the right platform. A self-hosted WordPress.org site will give you access to WordPress features (see our comparison: WordPress.com vs wordPress.org).

Self-hosted WordPress sites need a domain name and web hosting.

We recommend using Bluehost. They are one of the top hosting companies in the world and an officially recommended WordPress hosting provider.

For WPBeginner users, they are also offering a free domain name, free SSL certificate, and a generous discount on web hosting.

→ Click Here to Get This Exclusive Bluehost Deal ←

After purchasing the web hosting, you should check out our how to make a website guide for step by step WordPress installation instructions.

Once you’re ready, let’s take a look at some of the best WordPress themes for car dealerships.

1. Divi Car Dealer

Divi Car Dealer

Divi Car Dealer is a stylish WordPress theme for car dealerships, car rentals, and automobile businesses. It ships with multiple landing pages for about page, contact page, and more.

It also includes a car financing and listing page template. With this theme, you can launch your car dealership website quickly.

2. Car Repair by Astra Theme

Astra Car Repair

Car Repair is a beautiful WordPress theme for an auto repair, car service, or car dealership website. It is available as with the Astra Theme, and you’ll need to use their Starter Sites plugin to import the Car Repair theme.

It comes with a beautiful full-width layout with a clear call to action button. You can simply edit the homepage using the default WordPress editor. The theme is highly optimized for SEO.

3. Ultra Horizontal

Ultra Horizontal

Ultra Horizontal is a modern WordPress theme well-suited for car dealerships, car rentals, car accessories, and more. It comes with a unique horizontal featured content slider.

It comes with a collapsible footer area that the users can see by clicking on the arrow at the bottom of the page. It supports WooCommerce out of the box making it easier to create your online store.

4. OceanWP

OceanWP

OceanWP is a free multipurpose WordPress theme with dozens of ready-made website demos to create a website for your car dealership. It is fully compatible with WordPress page builders.

It comes with unlimited color schemes, multiple page layouts, custom widgets, and crisp typography. You can change your theme settings using live customizer, which makes it quite easy to use for beginners.

5. Neve Vintage

Neve Vintage

Neve Vintage is a retro-style WordPress theme available as starter site with the Neve Theme.

It gives your website a nostalgic feel which makes it unique and easy to standout. Your site can be edited using the default WordPress editor. You can simply replace the demo content and images with your own and customize theme settings to match your own needs.

6. Automotive

Automotive

Automotive is a dark-colored WordPress theme built specifically for car dealerships. It has a powerful search engine for users to find cars on your websites.

It offers unlimited color schemes and crisp typography. The theme comes with a built-in module to integrate your website with PayPal for selling cars online.

7. Car Wash by Astra Theme

Astra Car Wash

Car Wash is a stylish WordPress theme designed specifically car service, car rental, and car dealership websites. It features a beautiful layout with a fullscreen custom background image.

To install the Car Wash theme, you’ll need to download Astra Theme and then use their Starter Sites plugin to import this layout.

The homepage is divided into different sections to showcase your services, clients’ testimonials, and more. You can use WordPress customizer or drag and drop page builders for easy customization.

8. Altitude Pro

Altitude Pro

Altitude Pro is a flexible WordPress theme to create a website for any business niche including car dealerships, car rentals, and automotive businesses. It is a Genesis powered theme which makes it powerful and robust.

It has a widgetized homepage to set up and customize the website quickly. The theme is compatible with WooCommerce to create an online store.

StudioPress is now part of WP Engine, the most popular managed WordPress hosting company. You can get this theme and all 35+ other StudioPress themes if you sign up for WP Engine hosting to build your website.

Bonus: WPBeginner users also get an additional 20% OFF. Get started with WP Engine today!

9. Hestia Pro

Hestia Pro

Hestia Pro is a modern one-page WordPress theme built to create all kinds of websites. The theme can integrate with popular page builders like Beaver Builder, Elementor, etc for customization.

It has color choices, fonts, and multiple layout designs. Hestia Pro is translation ready and fully supports WPML to create a multilingual website.

10. Automax

AutoMax

AutoMax is a professional WordPress car dealership theme. It allows you to import/export external inventory with scheduled imports to run automatically.

It comes with a custom search feature that is quite fast and allows your users to find their favorite cars. AutoMax theme is easy to set up and helps you quickly get started.

11. Breakthrough Pro

Breakthrough Pro

Breakthrough is a powerful WordPress theme built on top of the StudioPress Genesis framework. It comes with a beautiful white color background and minimal layout.

The theme is perfect for your car dealership business. You can add attractive photos, services, and deals on the homepage to engage your users.

12. The Automobile

The Automobile

The Automobile is a free WordPress theme built specifically for car dealerships, small car dealers, and automobile businesses. It comes with a stylish header which uses a beautiful image slider.

The theme allows you to showcase your blog posts on the homepage. You can easily customize theme settings using the live customizer or theme options panel.

13. Technico

Technico

Technico is a premium WordPress theme designed for auto technicians, car dealerships, and automobile mechanics.

It has a customizable header to add social icons, navigation menu, address, business phone number, and a custom logo. You can also add a fullscreen image with a tagline and call to action button in the top fold of the website.

14. KarDealer

KarDealer

KarDealer is a free WordPress theme perfect for car dealerships, accessories, blogs, and automobile business websites.

It allows you to list/sell new and used cars using third-party plugins. It comes with custom footer widgets, color skins, and a social media menu.

15. Transport by Astra Theme

Astra Transport

Transport is a bright-colored WordPress theme by Astra. It has a centered layout with custom logo, navigation menu, and background image.

To install the Transport theme on your WordPress website, you’ll need to download Astra Theme and then use their Starter Sites plugin to import this layout.

The theme offers animated sections on the homepage to display your sales, inventory, and more. It supports drag and drop page builders out of the box. It also works seamlessly with popular contact form plugins like WPForms.

16. CarListings

CarListings

CarListings is a beautiful free WordPress theme built for car listings, dealerships, and automotive blogs. It works with useful WordPress listing plugins to add the directory functionality to your website.

The theme has a fully customizable header to add your business hours, business email address, custom logo, and more.

17. Workstation Pro

Workstation Pro

Workstation Pro is a creative WordPress multipurpose theme built on top of the Genesis framework. It has a welcoming homepage with clear call-to-actions and spacious design.

The theme is customizable with page builders, WordPress live customizer, and theme options panel. It is eCommerce ready out of the box and can also be used on multilingual websites.

18. Car Dealer Deluxe

Car Dealer

Car Dealer Deluxe is a modern WordPress theme well-suited for car dealerships, showrooms, traders, sports cars websites.

It allows you to add multiple currencies to display prices, manage inventory, and create car listings. It comes with an easy to use theme options panel which allows you to choose theme colors, layout, and other settings.

19. Indigo

Indigo

Indigo is a modern WordPress theme built to create any kind of website. It can also be used to build your car dealership site with multipurpose design and powerful features.

It has featured content section on the homepage. The theme is compatible with WooCommerce to launch your eCommerce site and sell cars online.

20. Advance Automobile

Advance Automobile

Advance Automobile is a free WordPress theme designed specifically for automobile shops, car dealers, car rentals, and auto mechanics. The theme offers a stylish and highly customizable layout.

It comes with multiple call-to-action buttons, a fullscreen image slider, social media icons, and a simple navigation menu. The theme elements are easy to customize with the live WordPress customizer.

21. Enterprise

Enterprise

Enterprise is a multipurpose WordPress theme perfect for high-end automobile businesses and car dealerships. It has a stylish layout with beautiful typography which helps you make a strong first impression.

With this theme, you get multiple homepage sections to display your car photos, services, and more. It is highly optimized for speed and performance.

We hope this article helped you find the best WordPress themes for car dealerships. You may also want to see our pick of the best WordPress plugins for business.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.



Source link

How to Clear Your DNS Cache (Mac, Windows, Chrome)


Have you even been asked to clear your DNS cache? It is a troubleshooting tip that helps you get to the latest version of a website, particularly after DNS changes.

DNS information tells your browser where to find a website. Your computer keeps this information in its cache to quickly point browsers in the right direction.

In this article, we’ll show you how to clear your DNS cache on Mac, Windows, and Chrome. This will allow you to easily refresh DNS records stored on your device and help you troubleshoot website issues.

Easily clear DNS cache in macOS, Windows, and Chrome

Here is a quick overview of what we’ll cover in this guide:

What is DNS Cache?

DNS cache is like an address book saved on your computer with the domain name server (DNS) information of each website you visit.

DNS or Domain Name Server is a technology that tells your computer the IP address associated with a domain name. To learn more, see our guide on how domain names work.

Saving the DNS information in a local DNS cache helps your browser quickly find a website.

Once you enter a website address in your browser, it will look for DNS information in the local cache first. If it finds the directions, then it uses the DNS cache to visit the website.

On the other hand, if the information is not in the local DNS cache, then the browser will get it from other DNS servers across the internet.

This ensures that every time you visit any website, your browser takes the shortest route to get the DNS information it needs to locate the website on the internet.

How domain names and DNS work

However, this may sometime cause trouble. For example, when you are moving a WordPress site to a new domain name or when you are moving WordPress to a new host.

DNS information may not get updated quickly on your computer, and you may end up visiting the old website or see a not found error. It will eventually get updated, but why wait when you can clear DNS cache right away.

Let’s take a look at how to clear DNS cache across various platforms.

How to Clear DNS Cache in Windows

If you are using a windows computer, then here is how you would clear DNS cache on your device.

First, you need to click on the start button and select the CMD (command prompt) tool.

Opening command prompt in Windows

This will launch a command prompt window. Inside it you need to enter the following text:

ipconfig /flushdns

Clearing DNS cache in Windows

Click on the enter button to execute the command and Windows will flush the DNS cache.

That’s all, you can now resume visiting your website to fetch the updated DNS information.

How to Clear DNS Cache on macOS

If you are on a Mac computer, then follow the steps below to clear your DNS cache.

First, you need to launch the Terminal app. You can find it in the Launchpad under the ‘Other’ folder. You can also launch it by opening Finder and going to Applications » Utilities folder.

Launching terminal

This will launch the terminal window where you need to enter the following command.

sudo killall -HUP mDNSResponder

Clearing DNS cache using terminal on macOS

You’ll be asked to enter your macOS account password. It is the same password you use to log into your computer.

After that, your computer will flush the DNS cache. You can now visit the website to get the latest DNS information.

Clear DNS Cache in Chrome

Google Chrome also keeps a DNS cache of its own, and it is separate from the DNS cache stored by your operating system.

If you use Google Chrome as your main browser, then you’ll need to clear Chrome’s DNS cache as well.

First, you need to enter the following address in your browser’s address bar and press enter on your keyboard.

chrome://net-internals/#dns

Clearing Google Chrome DNS cache

This will load Chrome’s net internal settings page. From here you need to click on the ‘Clear host cache’ button, and Chrome will clear up its DNS cache.

Now keep in mind that DNS cache is separate from the browser cache.

Your browser saves a lot of website data in a temporary cache to quickly load pages on subsequent visits.

If you are having trouble viewing a page that you updated but can’t see your changes, then you would want to clear the browser cache.

We have a step by step guide on how to clear browser cache on all major browsers that you can follow.

How to Check for DNS Updates

When you are moving your WordPress website to a host or transferring your domain registration to a new domain registrar, you’ll have to change your DNS settings and point them to the new location.

Once you apply these changes under your domain settings, it takes a while for changes to propagate across the internet. This could take anywhere between a few hours to a couple of days.

During this time, your domain will sometime point to the old location and sometimes it will point to the new location. This depends on your geographic location and which DNS servers your browser asks for directions.

You can check how these DNS changes are propagated around the world using online tools like DNS Checker.

Simply enter your domain name, and it will fetch DNS from different geographic locations spread around the world.

Check for DNS updates

If all locations indicate the same IP address with a green checkmark, then this means the DNS changes you made are now updated all over the internet.

We hope this article helped you learn how to easily clear your DNS cache on different devices. You may also want to see our guide on how to clear your WordPress cache for beginners.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.



Source link

How to Make the Most Out of WPBeginner’s Free Resources


Often new WPBeginner readers ask us how can they get maximum benefits from all the free resources available on our website.

WPBeginner is the largest free WordPress resource site for beginners. We have been publishing free WordPress guides, how-to tutorials, and videos since 2009.

In this article, we will show you how to make the most out of WPBeginner’s free resources.

Taking advantage of WPBeginner's free WordPress resources

If you haven’t started a website yet, then please take a look at following guides:

  • How to start a website (step by step)
  • How to start a WordPress blog (step by step)
  • How to start an online store (step by step)
  • How to start a podcast with WordPress (step by step)
  • How to create a membership site with WordPress (step by step)

If you already have a website, then follow the resources below:

1. Subscribe to WPBeginner Newsletter

Subscribe to WPBeginner newsletter

Signing up for the WPBeginner newsletter is the best way to stay updated with WPBeginner’s new posts and resources. When we write a new article, it will land directly in your email inbox (weekly).

You’ll also get links to our other resources that you may have missed.

2. Signup for Our FREE Video Tutorials

WPBeginner video tutorials

If you are just starting out with WordPress, then our WordPress Beginners Videos should be your first destination.

We hate to see many big companies selling such basic education for hundreds of dollars. This is why we decided to make it available for Free.

These HD quality videos are built for beginner level users. Our 23-step easy to follow video tutorials cover from the basics to advanced WordPress topics and will help you get started with WordPress in no time.

3. Join Our Facebook Group (WPBeginner Engage)

WPBeginner Facebook Group

With more than 20,000+ members, our Facebook group, WPBeginner Engage is one of the fastest-growing WordPress group on Facebook.

It is the most casual and often the fastest way to get WordPress help from our WordPress experts, and other motivated website owners like yourself.

Our team members actively participate in the group to answer user questions. We also do Facebook Live sessions with our Founder and CEO, Syed Balkhi.

4. Join our YouTube Channel

WPBeginner on YouTube

With nearly 154,000+ subscribers, WPBeginner’s YouTube channel is the best WordPress channel on YouTube (over 500+ free videos).

We regularly upload new videos with useful how-to tutorials aimed at beginner level users. These videos are short, sweet, and easy to follow.

You will also get the video transcript, a text version of the tutorial, and you can even ask questions in the comments.

Joining our YouTube channel will help you stay up to date, brush up your WordPress skills, and discover new tools and plugins for your website.

5. Allow WPBeginner Push Notifications

Allow push notifications from WPBeginner

Another way to stay in touch with important content is to get push notifications from WPBeginner.

Allowing push notifications will let you receive browser notifications on your desktop or mobile devices. We only use this notification for important pieces of content (not every content). You can check the article right away or later at your convenience.

If you have push notifications blocked on your browser, then you can enable them or selectively allow WPBeginner.

Here is how to turn on notifications in major browsers:

  • Google Chrome
  • For Firefox
  • Microsoft Edge

6. Follow us on Your Favorite Social Media Network

Follow WPBeginner on Social

We do our best to be present on all popular social media platforms, so we can help you learn WordPress on your favorite platform.

You can follow us on Twitter, Facebook, LinkedIn, Pinterest, and Instagram.

This way you can participate in our community discussions, see what new posts we have published, get in touch with us, and leave your comments and feedback.

We like to hear from our users. In fact, many of our post ideas come from user requests made on Twitter, Facebook, and our other social channels.

7. Got a WordPress Question? Here is How to Find The Answer

Search WPBeginner

At the top right corner of every page on WPBeginner, there is a search box. This search box is powered by Google Custom Search. It is fast and highly accurate.

Simply type the question you wanted to ask us. There is a very good chance that we have already written about it.

Pro tip: To save time, some readers just Google their WordPress questions with wpbeginner at the end of each search term, so Google can show them the most accurate answer.

8. Can’t Find an Answer? Drop us a Line or Tweet to us

Send us a message

If you have searched WPBeginner and didn’t find an answer to your question, then you can reach us using the contact form on our website.

You can also Tweet to us @WPBeginner.

Alternately, you can post your question on WPBeginner’s Facebook Group. This way you can share as much information as you like and get help not just from our experts but other users as well.

We try our best to get back to you with an answer or point you in the right direction within 1 business day.

We love hearing from our users because that’s what keeps us motivated and inspired.

9. Need Plugin and Theme Recommendations?

Plugin and theme recommendations

Many beginners are concerned about which plugins they should use on their WordPress site or how to find the perfect theme. Visit WPBeginner’s Showcase section where we hand-pick the best WordPress plugins and themes. Here are some places to look at:

  • Must have WordPress plugins for all websites
  • 40 useful tools to manage and grow your WordPress blog
  • Best Simple WordPress themes
  • Best Free WordPress Blog Themes

Want to know which WordPress plugins and tools we use on WPBeginner? Check out WPBeginner’s Blueprint where you will find all the tools and plugins we use to run WPBeginner.

10. Lookup Terms in our WordPress Glossary (aka WordPress Dictionary)

WPBeginner Glossary

As a beginner, it’s quite intimidating to not know what a specific technical lingo means. That’s exactly why we created our WordPress glossary.

You can look up for WordPress and blogging terms in Our WordPress Glossary section. We have organized the most commonly used terms in alphabetical order with easy to understand descriptions for each term.

11. Get The Best WordPress Deals and Coupons

WPBeginner Deals

As the largest WordPress resource site, we have reached out to top WordPress companies for exclusive discounts and deals for our users.

In WPBeginner’s Deals section, you’ll find excellent WordPress hosting, theme, and plugin coupons.

We have also included special offers from most of the tools and services that we use ourselves to grow our business. All these deals will help you grow your business online with much less effort.

12. Want to Learn More About WPBeginner?

About WPBeginner

Are you curious about who runs WPBeginner? Why it’s free and how it works? Check out our about page.

We started out as a small blog to help our clients learn how to use WordPress. Since then WPBeginner has grown into becoming one of the largest free WordPress resource site for beginners.

You may also want to check out the personal website of our founder and CEO, Syed Balkhi. You can find him on Twitter as well as Instagram.

13. What Else We Do?

WPBeginner blog is managed by Awesome Motive Inc, the management company behind many other premium WordPress plugins and tools.

If you like our free tutorials, then please support us by using our premium plugins:

  • OptinMonster – Helps you get more email subscribers.
  • WPForms – Best WordPress contact form and survey plugin.
  • MonsterInsights – #1 WordPress analytics plugin (trusted by 2 million websites).
  • RafflePress – WordPress giveaway and contest plugin to help you grow your website traffic.
  • WP Mail SMTP – Fixes the WordPress not sending email issues.
  • SeedProd – Best WordPress coming soon and maintenance mode plugin.
  • TrustPulse – Helps you boost conversions with honest social proof notifications.

We hope this article helped you learn how you can make the most out of WPBeginner’s free WordPress resources. You may also want to take a look at how to learn WordPress in a week or less.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Make the Most Out of WPBeginner’s Free Resources appeared first on WPBeginner.



Source link

How to Create Custom Permalinks in WordPress


Do you want to create custom permalinks in WordPress for posts, pages, and other post types?

Recently one of our readers asked if it was possible to create their own custom permalinks aka page URL structure in WordPress.

In this article, we will show you how to create custom permalinks in WordPress without affecting your SEO.

Creating custom permalinks in WordPress

Since this is a comprehensive tutorial on creating custom permalinks in WordPress, we have created an easy to navigate table of content:

Permalinks are the permanent URLs of your individual blog posts, pages, and other archive pages on your WordPress site. Custom permalink is basically a URL structure applied to a specific page in WordPress without affecting the rest of your URL structure.

WordPress comes with an SEO Friendly URL structure which allows you to use an easy to understand URL structure for both humans and search engines.

For example: https://example.com/best-refrigerators-for-tiny-kitchens/

This is much better than URLs from the old days: https://example.com/index.php?p=4556

WordPress provides website owners with multiple options to choose from. You can view them by visiting Settings » Permalinks page.

Select permalink structure

Aside from changing the main permalink structure, WordPress also offers ways to customize the individual URLs of posts, pages, categories, tags, and other areas of your website.

You can also use WordPress plugins to create completely custom permalinks for specific sections of your website that overrides the default WordPress settings.

Let’s take a look at all the options one by one. We’ll start with the default built-in options that come with your WordPress website.

If you want to change the whole URL generation scheme for your website, then go to Settings » Permalinks page.

Select permalink structure

Simply select a URL structure for your individual posts. You can also use the tags shown on the screen to create a custom structure for your WordPress URLs.

Don’t forget to click on the Save Changes button to store your changes.

We recommend using a URL structure that includes the post name in the URL. This makes your URLs more SEO friendly and meaningful.

Note: You should change to a SEO friendly permalinks for all new WordPress blogs and websites. However, if you have an existing website that’s already getting traffic from search engines, then changing permalinks can affect your SEO rankings.

How to Change the Category and Tag URL Prefix in WordPress

By default, WordPress uses /category/ as the base for your category URLs and /tag/ for the tags pages. For example:

https://example.com/category/technology/
https://example.com/tag/fintech/

Category and tag base

You can change these base prefixes from the Settings » Permalinks page to anything that you like. For example,

https://example.com/topics/technology/ (for category pages)
https://example.com/hashtag/fintech (for tag pages)

Once you have the permalink structure setup, WordPress uses that as a template for all links on your site. However, you do have the option to modify the URL slug aka keywords inside the URL structure for individual posts, pages, and custom post types.

You can customize the slug part of the URL from the post edit screen inside the WordPress content editor.

Simply edit the post, page, or custom post type and click on the title field. You’ll notice the Permalink field appears on top of it.

Edit post slug to create custom URL

Go ahead and click on the Edit button next to it, and then change the URL slug to a custom permalink. Once you are done, click on the Save button to store the new permalink.

Customize post permalink

You can use this method for all post types including WooCommerce products, MemberPress courses, etc.

In the earlier step, we showed you how to modify the category and tag base prefix in WordPress. In this step, we will show you how to change the URL keywords for an individual category or tag.

Simply go to Posts » Categories page and click on the Edit link below the category you want to customize.

Editing a category details in WordPress

WordPress will now load the category details. From here, you can change the category slug to customize its permalink.

Change category slug to customize permalink

Similarly, you can edit an individual tag by visiting Posts » Tags page.

Edit a tag

You can also edit any custom taxonomies using the same method.

WordPress automatically adds the ‘/author/’ base to URLs leading to author archive pages. For example:

https://example.com/author/jsmith/

The problem is that WordPress does not come with an option to change the author URL base or the slug.

Luckily, as the saying goes, there is a plugin that can help.

Simply install and activate the Edit Author Slug. For details, see our step by step guide on how to install a WordPress plugin.

Upon activation, go to Users » All Users page. Next, click on the ‘Edit’ link below a username.

Editing a user details in WordPress

On the next page, scroll down to the Edit Author Slug section, and you will be able to choose an author slug or add your own. Don’t forget to click on the save changes button to store your settings.

If you want to change the author permalink base, then simply head over to the Settings » Edit Author Slug page. Here you will see an option to change the author base and even choose different author bases for users with different user roles.

Change author base

For more details, see our guide on how to change author URL slug and base in WordPress.

All the above methods allows you to customize WordPress permalinks to a certain extent. However, they cannot help you create completely custom permalinks.

That’s because WordPress by default doesn’t offer this functionality.

Luckily, there’s a plugin that can help. If you want to override the default WordPress URL structure for specific sections on your site, then follow the steps here.

The first thing you need to do is install and activate the Custom Permalinks plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, you need to edit the post where you want to create a custom permalink. Instead of editing the permalink field at the top, you’ll find the option to create a custom permalink below the editor.

Creating a completely custom permalink for a post

Similarly, you can also create custom permalinks for categories. Go to Posts » Categories page and click on the edit link below the category that you want to change.

Editing a category details in WordPress

On the category details page, you’ll find the option to create a custom permalink for that particular category. You can even create a URL without the category base prefix.

Editing the category permalink

You can manage and disable all your custom permalinks by clicking on the ‘Custom Permalinks’ menu in the admin sidebar.

Manage your custom permalinks

Simply select the custom permalinks you want to delete and then click on the Bulk Actions menu to select ‘Delete permalinks’ option.

After that click on the ‘Apply’ button and the plugin will remove those custom permalinks. The deleted permalink will be replaced by your default WordPress permalink scheme.

WordPress automatically handles changes made to post and page URLs. However, it may not set up redirects for your custom author permalinks or completely customized permalinks.

In that case, you’ll need to set up proper redirects to avoid 404 errors on your website.

First, you need to install and activate the Redirection plugin.

Upon activation, you need to visit Tools » Redirection page to set up redirects. You need to add the old link in the ‘Source URL’ field and the new URL in the ‘Target URL’ field.

Setup redirects

After that click on the ‘Add redirect’ button to save your changes. For more details, see our beginner’s guide to setting up redirects in WordPress.

We hope this article helped you learn how to create custom permalinks in WordPress. You may also want to see our ultimate WordPress SEO guide to get more search traffic to your website.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.



Source link