Tuesday, December 24, 2019

How to Track WordPress Category and Tag Analytics (Easy Way)

Do you wish to track the WordPress category and tag analytics? By default, most website analytics solutions tell you about your most popular posts and pages, but very few show any information about your archive pages like categories and tags.

Category and tag pages can be an important source of traffic. This is why you need to track them properly, so you can better understand their impact.

In this article, we will show you how to easily track WordPress category and tag analytics.

Tracking categories and tags in WordPress

Why Track Category and Tag Analytics in WordPress

WordPress category and tags can be an important source of traffic when used properly.

Categories are your website’s main topics. For example, on a travel website, these could be food, tours, accommodation, etc.

On the other hand, tags are specific topics discussed inside an article. For example, coffee shops, free tours, budget hotels, etc.

To learn more, see our complete guide on category vs tags and SEO best practices to use them for maximum benefit.

By default, category and tag pages are indexed by search engines which brings you additional traffic. You will need to learn which category and tags are getting more traffic, and what you can do to improve them.

That being said, let’s take a look at how you can easily track categories and tags in WordPress.

Setting up Google Analytics with MonsterInsights

For this guide, we will be using Google Analytics with MonsterInsights.

MonsterInsights is the best Google Analytics plugin for WordPress. It allows you to easily install Google Analytics and track your website traffic.

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

MonsterInsights is a paid plugin. You’ll need at least their Pro plan to access custom dimensions addon which we will be using for this tutorial.

Next, you need to visit Insights » Settings and scroll down to click on the ‘Launch Setup Wizard’. This will start the MonsterInsights setup, and you just need to follow the on-screen instructions to connect your WordPress site to your Google Analytics account.

For detailed instructions, see our guide on how to install Google Analytics in WordPress.

After that, you need to go to Insights » Addons page and install the Dimensions addon.

Dimensions addon

MonsterInsights will install and activate the Dimensions addon.

You are now ready to setup category and tags tracking in WordPress.

Adding Custom Dimensions in MonsterInsights for Categories and Tags

MonsterInsights allows you to set dimensions. These are custom parameters that you can use to track different elements on your website using Google Analytics.

First, you need to visit Insights » Settings page and then switch to the ‘Conversions’ tab. Scroll down to the ‘Custom Dimensions’ section and click on the ‘Add New Custom Dimensions button.

Add dimensions in MonsterInsights

Next, you need to select ‘Tags’ and then click on the button again to add ‘Category’ custom dimension.

Click on the ‘Save Changes’ button at the top to store your changes.

Adding Custom Dimensions in Google Analytics

Now that you have set up custom dimensions in MonsterInsights, the next step is to do the same in Google Analytics.

Open your Google Analytics dashboard and switch to the All Website Data view.

From there, you need to click on the ‘Admin’ button at the bottom left corner of the screen and then select ‘Custom Definitions » Custom Dimensions’ under the Property column.

Google Analytics custom dimensions

Next, you need to click on the ‘+ New Custom Dimension’ button and add ‘Category’. Google will then show you a code example, but you can ignore it and click on the Done button. Repeat the process to add ‘Tags’ as well.

Category and Tags custom dimensions in Google Analytics

You also need to make sure that custom dimensions IDs and Index values match in Google Analytics and MonsterInsights.

Match IDs

That’s all you have set up category and tag tracking in Google Analytics using MonsterInsights.

Viewing Category and Tags Reports in WordPress

After your website has collected some traffic data, you can view your category and tags tracking reports inside the WordPress dashboard.

Simply go to Insights » Reporting page and switch to the Dimensions tab.

Category and tag reporting in MonsterInsights

You’ll see a list of your most popular categories and tag pages listed there.

How to Improve Your Category and Tag Pages in WordPress

Now that you have started tracking your category and tag pages, you would want to improve them, so that you can get even more traffic to your website.

Following are a few easy-to-implement tips that you can use to improve your category and tag archive pages.

1. Use Excerpts Instead of Full Posts

By default, WordPress displays full posts on your category and tag archive pages. Some WordPress themes provide a solution for that by allowing you to choose between full posts vs summary.

You can also do that on your own. Simply install and activate the Advanced Excerpt plugin. For more details, see our step by step guide on how to install a WordPress plugin.

After that, go to Settings » Excerpt page and scroll down to Display on section. From here, you can select excerpt length and style options for your excerpts.

Excerpt settings

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

That’s all your WordPress categories and tag pages will now show excerpts instead of full posts.

2. Add Category and Tag Descriptions

Just like your posts and pages, you can also add descriptions for your category and tag archive pages. Simply go to Posts » Categories page and click on the Edit link below a category.

Editing a category in WordPress

This will open the category editor screen. From here, you can edit category name, slug, and provide a description of what kind of articles users will find under this category.

Adding category description

You can now save your changes and visit the category page to see the description in action.

Category page preview

Repeat the process to add descriptions for all your category and tag pages.

Note: All top SEO plugins will automatically use your category description as meta description for category pages.

3. Add Category and Tag Icon Images

By default, all categories and tag pages look quite similar to each other. You can add an image to your category tag page to make them stand apart and look more interesting.

See our tutorial on how to add taxonomy images in WordPress for detailed instructions.

We hope this article helped you learn how to easily track WordPress category and tag analytics. You may also want to see our article on essential website marketing data you must track on all 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.

The post How to Track WordPress Category and Tag Analytics (Easy Way) appeared first on WPBeginner.


December 24, 2019 at 05:52PM

Monday, December 23, 2019

How to Add Spin to Win Optins in WordPress and WooCommerce

Do you want to add spin to win optin to your WordPress site or WooCommerce store? A spin to win optin adds gamification to your sign up forms.

You can use it to share discounts, special offers, and perks as a reward. This kind of optins are proven to increase engagement and sales.

In this tutorial, we’ll show you how to easily add spin to win optin to your WordPress site or WooCommerce store.

How to add a spin to win optin in WordPress

What is Spin to Win Optin?

Spin to Win optin is a signup form or a discount coupon wheel which adds gamification to your website. Your users play a game to win discounts, unlock special offers, or access downloads after playing the game.

Example of a spin to win optin

Case studies have shown that gamified optins get conversion rates as high as 30% or more.

The reason for that is quite simple. These gamified optins are fun, interactive, and instantly get users’ attention.

With game rewards and coupons, you also encourage users to complete the game they started by using the reward they have earned (i.e making a purchase using a discount they won).

That being said, let’s see how you can easily add spin to win optins in WordPress and WooCommerce.

Install and Activate OptinMonster in WordPress

For this tutorial, we’ll be using OptinMonster which is the best lead generation software on the market. It helps you grow your email list and convert website visitors into paying customers.

Note: Our founder Syed Balkhi first built OptinMonster to help grow our own subscribers and sales. Now it’s a premium plugin that’s used by hundreds of thousands of websites.

First, you need to visit the OptinMonster website and sign up for an account.

Create OptinMonster account

OptinMonster is a paid service, and you’ll need their ‘Growth’ plan to access the ‘Coupon Wheel Campaigns’ feature.

After that, you need to install and activate the free OptinMonster plugin on your WordPress website. For more details, see our step by step guide on how to install a WordPress plugin.

The plugin connects your WordPress website to the OptinMonster app. Upon activation, click on the OptinMonster menu from the admin sidebar to connect your account.

Connect OptinMonster

Creating a Spin to Win Wheel Campaign

After connecting WordPress to your OptinMonster account, you need to click on the ‘Create New Campaign’ button to create your first spin to win optin.

Create new OptinMonster campaign

This will take you to the OptinMonster website.

First, you need to choose Fullscreen as your campaign type.

Choose full screen as your campaign type

Next, you need to select a campaign template. You’ll need one of the Wheel templates to create a ‘spin to win’ campaign.

Select a template

Once you select a campaign, you’ll be asked to provide a name for your template and select a website where you’ll run the campaign.

After that, you will see the OptinMonster campaign builder interface.

From here you can change your campaign design, colors, fonts, etc. You can simply point and click on any item to edit its appearance.

Go ahead and click on the gamified wheel element to see the options to change its colors.

Editing your wheel campaign

Next, you need to click on the ‘Edit Wheel Sections’ button to edit the values of the coupon wheel sections.

Change wheel options

This allows you to add coupon codes and special offers to the wheel. You can select how often you want an option to win by adding a win percentage value.

Feel free to experiment around with colors, copy, button, and other things. Once you are done, click on the Save button at the top to save your changes.

Choose When to Show The Spin Wheel

Next, you need to select when you want your spin to win the campaign to be displayed on your website or online store.

OptinMonster gives you powerful targeting and display options that allow you to trigger the spinner anywhere and at any time on your website.

Simply switch to the ‘Display Rules’ tab in the OptinMonster dashboard. From here, you can select different display rulesets for your campaign.

For example, you can use exit intent ruleset to launch the spinner campaign when a user is about to leave your website.

Display rules

You can also combine different rulesets. For example, you can set another rule to launch the campaign on specific pages.

After adding display rules, click on the next step button.

Next, you’ll be asked to select a view. You need to select the Optin view and click on the ‘Next step’ button.

Once you’re done, you’ll see a summary of your display rules. You can now click on the Save button at the top to store your changes.

Adding the Spin Wheel to Your Website

Now that your spin wheel campaign is almost ready, let’s add it to your website.

First, you need to publish your campaign. From the OptinMonster dashboard, switch to the ‘Publish’ tab and check the toggle next to the ‘Status’ option.

Save your campaign

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

You can now visit your WordPress website and click on the OptinMonster menu item. You should now see a list of campaigns you have created with OptinMonster.

OptinMonster campaigns in WordPress

You’ll see your recently created spin to win wheel campaign with the Live status. If you don’t, then click on the Refresh Campaigns button to fetch data from OptinMonster website.

To see a live preview of your campaign, you can visit your website in a new incognito browser window. Based on your display rules, you’ll see the spin to win wheel popup on the screen.

We hope this article helped you add a spin to win optin to your WordPress website or WooCommerce store. You may also want to see our article on how to how to add a Facebook giveaway in WordPress to boost engagement.

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 Spin to Win Optins in WordPress and WooCommerce appeared first on WPBeginner.


December 23, 2019 at 05:46PM

Saturday, December 21, 2019

How to Enable Automatic Updates in WordPress for Major Versions

Did you know that WordPress comes with automatic updates enabled for minor releases? This means that the WordPress.org team can automatically install security updates without requiring user input.

However, it does not automatically update your website when there is a new major release. Unless you are on a managed WordPress hosting service, you’ll have to manually initiate the update yourself.

In this article, we’ll show you how to easily enable automatic updates in WordPress for major releases as well.

Turning on automatic updates for major WordPress releases

How WordPress Automatic Updates Work

WordPress introduced automatic updates feature in WordPress 3.7 (October 24, 2013). This allowed WordPress to automatically install a new minor release to improve your website security.

There is an option to disable automatic updates in WordPress. However, we recommend that you keep automatic updates enabled because they usually address crucial security issues and vulnerabilities.

Managed WordPress hosting providers like WP Engine and Liquid Web automatically update WordPress for all new releases not just minor ones.

Now if you just run one or two WordPress websites, then you can simply follow our guide to safely update your WordPress site.

On the other hand, if you manage multiple WordPress sites, then updating all of them can be very time consuming.

Luckily, you can also enable auto-updates on a shared hosting provider like Bluehost, SiteGround, etc. You’ll just need to make sure that you have a proper backup system in place, so you can revert updates in case something goes wrong.

That being said, let’s take a look at how to easily setup automatic updates for major WordPress releases.

Preparing for Automatic Updates in WordPress

The most important layer of security you can add to any website is to set up a backup system. Whether you turn on automatic updates or not, you should always have an automatic backup system in place for every WordPress website.

There are several helpful WordPress backup plugins that you can use set up automatic back ups on your WordPress site.

We recommend using the UpdraftPlus plugin because it is the most popular WordPress backup plugin on the market, and it is free. UpdraftPlus allows you to easily set up automatic backups of your complete WordPress website.

It also allows you to automatically store your backup files to a remote location like Google Drive, Dropbox, etc.

Once you have set up automatic WordPress backups, you can go ahead and turn on automated WordPress update for major releases.

Method 1. Enable Automatic WordPress Updates for Major Releases Using a Plugin

This method is easier and recommended for all users.

First, you need to install and activate the Easy Updates Manager plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, you need to visit Dashboard » Updates Options page to setup the plugin.

Enable automatic updates

Under the ‘Automatic updates’ section, click on the ‘Custom’ option. After that, click on the ‘Enable Major Releases’ button under the ‘Major WordPress Releases’ section.

The plugin will automatically store your settings and enable the major WordPress releases to be automatically updated.

This plugin also allows you to set up other automatic updates or disable them. See our detailed guide on how to better manage automatic WordPress updates for more details.

Method 2. Manually Enable Automatic Update for Major Releases in WordPress

This method requires you to add code to your WordPress files.

First, you need to add the following line of code to your site’s wp-config.php file.

define( 'WP_AUTO_UPDATE_CORE', true );

There is one little problem with this code. It also enables development or nightly updates.

To disable nightly builds and development updates, you need to add the following code in a site-specific plugin or Code Snippets plugin.

add_filter( 'allow_dev_auto_core_updates', '__return_false' );

This filter will disable automatic updates for nightly builds or development updates.

Your WordPress site is now ready to automatically update itself, without your input, whenever there is a new WordPress version available.

Frequently Asked Questions about WordPress Automatic Updates

1. Why do I need to install WordPress updates?

WordPress is a regularly maintained software. Thousands of developers contribute to make WordPress better and secure.

You need to install WordPress updates as soon as they are available. This ensures that your website has the latest security patches, new features, and best speed and performance.

2. Are updates safe for my website?

As the world’s most popular website builder, WordPress updates immediately become available to millions of websites. The core team works very hard to ensure that they are absolutely safe for all websites to install.

However, we recommend everyone to always back your WordPress website before updates. This allows you to quickly revert back in case anything goes wrong after an update.

3. Can I also automatically update WordPress plugins?

By default, WordPress requires you to manually install plugin updates. However, you can enable automatic updates for plugins as well. See our guide on how to enable automatic updates for WordPress plugins.

4. Can I install updates on all my websites from a single dashboard?

By default, you’ll need to login to each WordPress website to install updates. Luckily, you can use tools to manage multiple WordPress sites. These tools make it easier to install updates on all your WordPress sites without having to login to each site.

We hope this article helped you learn how to enable automatic updates in WordPress for major releases. You may also want to see our ultimate list of most wanted WordPress tips, tricks, and hacks.

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 Enable Automatic Updates in WordPress for Major Versions appeared first on WPBeginner.


December 20, 2019 at 05:00PM

Thursday, December 19, 2019

How to See the Keywords People Use to Find Your WordPress Site

Do you want to see the keywords people use to find your WordPress website?

Keywords are the phrases users type in search engines to find the content they are looking for. You would want your website to rank for the right keywords that describe what you are offering.

In this guide, we will show you how to easily see the keywords people use to find your WordPress site.

View the keywords your website ranks for

What is Keyword Tracking and Why is it Important?

Keyword tracking is basically the activity of monitoring the position of your website for specific keywords in search engines like Google, Bing, etc.

Keyword tracking helps you see important metrics such as which specific keywords people use to find your website, so you can focus on what’s working and stop spending time on what’s not.

When it comes to WordPress SEO optimization, we often recommend users to do keyword research and add proper meta description / keywords to their website. This helps your website rank higher in search engines.

But what many beginners don’t know is that search rankings change quite often. If a new competitor enters the market or your previous competitor further improves their SEO, then you can lose the rankings that you previously had and thus the traffic along with it.

Sometimes Google algorithm updates can also cause your website to increase or decrease in rankings for your top keywords.

At WPBeginner, we believe that its easier to double your website traffic and sales when you know exactly how people find and use your website.

With that said, let’s take a look at how to see the keywords people use to find your website.

Tracking Keywords People Use to Find Your Site

The best way to track keywords people use and the keywords where your website ranks is by using Google Search Console.

Google Search Console is a free tool offered by Google to help website owners monitor and maintain their site’s presence in Google search results.

We’ll show you how to connect search console to your Google Analytics along with how to bring those reports right inside your WordPress dashboard.

Finally, we’ll cover how to track not just your own keywords, but also the keywords your competitors are ranking for.

Sounds good? Let’s get started.

Tracking Your Website Keywords in Google Search Console

If you have not already done so, then you need to add your website to Google Search Console. We have a detailed tutorial on how to add your WordPress site to Google Search Console.

You can simply visit the Google Search Console website and follow the instructions in our tutorial.

Start Google Search Console

Once you have added your website to Google Search Console, you’ll be able to use it to monitor your search rankings.

To view your keyword positions, click on the Performance report and then click on the average position score.

Track your keyword positions

Search Console will now load your reports with the average position column included.

Next, you need to scroll down a bit to see the full list of keywords your website ranks for.

View your keyword rankings

You will see a list of keywords with number of clicks, impressions, and position of that keyword in search results.

You can sort the data by clicks, impressions, and position columns. You can see your top ranking keywords by sorting the data by position.

As you scroll down, you will be able to see keywords where your site appears deeper in search results. You can optimize your content to rank higher for those keywords as well.

Method 2. Track Your Keywords Inside WordPress with MonsterInsights

For this method, we’ll be using MonsterInsights to fetch our Google Search Console data inside the WordPress dashboard.

This method has two advantages.

  • You get to see your keywords right inside WordPress admin area
  • You’ll see it along with your other MonsterInsights reports which will help you plan more effeciently

MonsterInsights is the #1 Google Analytics plugin for WordPress. It allows you to easily install Google Analytics in WordPress and shows you human-readable reports right inside your WordPress dashboard.

First, you need to do is install and activate the MonsterInsights plugin on your website. For more details, see our step by step guide on how to install a WordPress plugin.

For step by step instructions, see our complete guide on how to install Google Analytics in WordPress.

Once you have installed and set up MonsterInsights, the next step is to connect your Google Analytics account to your Goole Search Console account.

Simply, login to your Google Analytics account and then click on the Admin button from the bottom left corner of the screen.

Link search console

Next, you need to click on ‘All products’ under the property column and then click on the ‘Link Search Console’ button.

This will take you to the Search Console settings page where you need to click on the Add button. After that, you’ll see a list of websites added to your Google Search Console account.

Select Google Search Console property

Click on the OK button to continue and your Analytics and Search Console accounts will now be linked.

You can now view the keywords your website ranks for inside the WordPress admin area.

Simply go to Insights » Reports and then switch to the Search Console tab.

Search console report

You’ll see a list of keywords where your website appears in the search result. Next, to each keyword you’ll also see the following parameters:

  • Clicks – How often your site is clicked when it appears for this keyword
  • Impressions – How often it appears in search results for that keyword
  • CTR – Click through rate for this keyword
  • Average position – Your site’s average position in search results for that particular keyword

Method 3. Tracking Your Keyword Rankings in Google Analytics

In the previous method, we showed you how to connect Google Search Console to your Google Analytics account and view the reports inside your WordPress dashboard.

However, you can also view your keyword rankings inside Google Analytics.

Simply, login to your Google Analytics dashboard and go to Acquisitions » Search Console » Queries report.

Search keywords in Google Analytics

Your search keywords will be listed under the Search Query column. For each keyword, you’ll also see its CTR, impressions, and average position.

Method 4. Tracking Competitor Keywords using SEMRush

Do you want to track not just yours but also the keywords your competitors are ranking for? This method allows you to do that with actual tips on how to outrank your competition.

We’ll be using SEMRush for this method. It is one of the top SEO tools on the market because it helps you get more search traffic to your website.

We use it on our many websites to gather competitive intelligence.

First, you need to sign up for an SEMRush account. Note: You can use our SEMRush coupon to get a better deal.

After you have created an account, you can enter your domain name at the top search bar under SEMRush dashboard.

Track a domain name in SEMRush

Next, SEMRush will show you full keyword report with a list of your top ranking keywords.

Keywords list in SEMRush

Click on the View Full Report button to get the full list of keywords.

Next to each keyword, you’ll see its position, volume of search, cost (for paid advertisement), and the percentage of traffic it sends to your website.

You can also enter your competitor’s domain name to download a full list of all the keywords where they rank.

Tips on Improving The Keywords Where Your Website Ranks

As you go through the list of keywords, you’ll notice some of your results rank quite well (under top 10) with significant impressions but very low CTR.

This means that users didn’t find your article interesting enough to click on. You can change that by improving your article’s title and meta descriptions. See our guide on how to improve blog post SEO to rank higher.

You’ll also see keywords where your website can easily rank higher. You can then edit those articles and improve them by adding more helpful content, adding a video, and making it easier to read.

If you are using SEMRush, then you can use their Writing Assistant Tool which helps you improve your content by making it more SEO friendly for that particular keyword. See our guide on using the SEO writing assistant for more details.

We hope this article helped you learn how to see the keywords people use to find your WordPress site. You may also want to see our guide on how to easily increase website traffic with practical tips 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.

The post How to See the Keywords People Use to Find Your WordPress Site appeared first on WPBeginner.


December 19, 2019 at 05:38PM

Wednesday, December 18, 2019

How to Redirect Users after Successful Login in WordPress

Have you ever wanted to redirect users to a specific page after they login to your WordPress site?

Depending on the user’s role, WordPress would either take them to the dashboard or their profile section in the WordPress admin area.

In this guide, we’ll show you how to easily redirect users after a successful login in WordPress. We’ll also show you how to redirect after login based on user roles and permissions.

Easily redirect users after WordPress login

Why Redirect Users After Login in WordPress?

A lot of website owners run multi-user WordPress websites. For example, a multi-author blog, a membership community, or an online store.

All these websites require users to login to perform certain actions and access their account details.

Many WordPress membership plugins and eCommerce software automatically handle redirects by showing user custom login pages and redirect them to a custom account management page.

However, some websites may not be using such a plugin. In that case, users will be redirected to the default WordPress admin area.

The default WordPress method doesn’t offer users clear guidance on what to do next. While this may work for bloggers and writers, this is not an ideal user experience for your users and customers.

That being said, let’s take a look at how to easily redirect users after successful login in WordPress. We’ll show you two methods, and you can pick the one that best meets your requirements.

Method 1. Setting up Login Redirects in WordPress using Peter’s Login Redirect

This method is easier and allows you to set up login redirects based on user roles and permissions.

The first thing you need to do is install and activate the Peter’s Login Redirect plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, you need to visit Settings » Login/logout Redirects to setup the plugin.

It allows you to set up post login redirects for various situations. Let’s take a look at each one of them.

Setup Login Redirect for Specific Users

The first option on the settings page allows you to redirect only specific users. You can select a username from the drop-down menu. After that, you can enter the URLs to redirect a user on login and logout.

Redirect specific user

Once done, click on the Add username rule button to store this setting. Repeat the process if you need to set up redirects for more individual users.

Setting up Login Redirect by User Role in WordPress

You can also set up a login redirect based on user role in WordPress. You simply need to select a user role from the drop down list and then enter the redirect URL. For example, you can redirect editors to the admin-area and subscribers to a custom page.

Redirect by user role

Setting up Login Redirect by Capabilities in WordPress

The plugin also allows you to set up login redirects based on user levels and capabilities. This option is particularly useful if you are using user roles with custom capabilities in WordPress.

Simply select a user level from the drop-down menu and enter login and logout URLs. You can set order to any number, and this will determine how this rule is stored and displayed in plugin settings.

Redirect by user level

Setting up Login Redirect for All Users in WordPress

On the plugin’s settings page, there is an option to set a redirect for all other users. If a user does not match any rules you set above, then you can redirect them by entering a URL here.

You can also use this setting to create a site-wide redirect for all users.

Redirect all other users

Setting up a User Registration Redirect in WordPress

When a new user signs up on your site, WordPress redirects them to the login page. You can set up a redirect URL to send them to any other page on your site under the Post Registration section.

Post registration redirect

For example, you can redirect them to a welcome page with links to different things they can do on your website.

Important: Do not forget to change permission level under ‘Customize plugin settings’ section. The plugin allows anyone who can edit categories to edit redirect URLs. This means a user with the Editor user role can set up redirects. We recommend changing this to install_plugins, so only users with administrator role can setup redirects.

Plugin access

Method 2. Set up Login Redirects in WordPress Using WPForms

If you want to create a custom login form in WordPress, then you can use WPForms to set it up with a post-login redirect.

WPForms is the best WordPress contact form plugin on the market. It allows you to easily create beautiful forms and add them to your WordPress site.

It is a premium plugin, and you’ll need at least their “Pro” plan to access login form feature.

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

Upon activation, you need to visit WPForms » Settings page to enter your license key. You can find this information under your account on WPForms website.

WPForms License key

After entering the license key, you would be able to install add-ons. Go ahead and visit WPForms » Addons page and locate the User Registration Addon.

Install user registration and login forms addon

Next, click on the Install Addon button to download and activate the addon. You are now ready to create your own custom login forms.

Next, you need to visit WPForms » Add New page and scroll down to the ‘User Login Form’ template. You need to click on the ‘Create a User Login Form’ button to continue.

Load login form template

WPForms will load the User Login Form with required fields. You can click on the fields to add your own description or text around them. You can also click on the Submit button and change its label to ‘Login’.

Build your login form

Finally, you can set up login redirect for this login form.

Go to Settings » Confirmation tab from left columnns and select ‘Go to URL’ redirect as your confirmation type.

Redirect logged in users

Below that you can enter the URL where you want users to be redirected.

Your login form is now ready. You can save your settings and exit the WPForm builder interface.

Now let’s add your login form to your website.

Simply edit the page where you want to display the login form or create a new one. On the page edit screen, add the WPForms block to your content area.

Adding WPForms block in WordPress

Next, select the login form you created earlier, and WPForms block will automatically load it inside the content area.

The advantage of this method is that you can set up a redirect for your custom login form, and you can also use page builders like Beaver Builder or Divi to create stunningly beautiful login pages.

Creating a landing page for your login form

Troubleshooting Login Issues in WordPress

Setting up redirects using the methods described above works like a charm. On rare occasions, you may see issues, depending on how your WordPress website is set up, and the plugins you are using.

Here are some tips to help you resolve you resolve those issues.

1. Update Your Permalink Structure

Simply go to Settings » Permalinks page and click on the ‘Save settings’ button without making any changes.

Update permalink structure

This refreshes the WordPress permalink settings. Keep this tip handy as it can also help fix other redirect issues in WordPress.

2. Fix Login Page Redirect Issue

If you the WordPress login page keeps refreshing and redirecting you back to the login form, then this is a sign of a conflicting setting.

For troubleshooting this problem, see our guide on how to fix WordPress login page refreshing and redirecting issue.

3. Follow General Troubleshooting Tips

The most likely problem behind login issues is a plugin or theme conflict. To figure out which one is causing the problem, follow the step in our ultimate WordPress troubleshooting guide.

We hope this article helped you learn how to easily redirect users after successful login in WordPress. You may also want to see our complete WordPress security guide to keep your user data safe and secure.

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 Redirect Users after Successful Login in WordPress appeared first on WPBeginner.


December 18, 2019 at 05:00PM