Category Archives: WordPress

Scheduling Sales On WordPress Ecommerce Websites

WordPress Ecommerce lets you start your own online store to begin selling your products online. You can start your eCommerce website, add your own products, price them, sell them online and collect payments via different payment gateways or simply use pay on delivery option.

It offers you many advanced features of selling, one useful feature is scheduling sales. In this lesson, you will learn about that and beyond the default scheduling feature that only lets you set the start and end date for any sale. You will see how you can extend the feature to not just schedule the sale date but also a time in hours and minutes.

How to schedule sales in WordPress Ecommerce?

The WordPress Ecommerce users at Sangkrit.net may simply log in to their eCommerce dashboard and follow these steps:

  1. Navigate to the ‘Products’ you would like to schedule sales or create a new product, whatever you need is
  2. Open it for editing if you are scheduling sales in an already listed product on your website
  3. In the ‘General’ section of the ‘Product data’ box click the ‘Schedule’ option
  4. Set your start and end date of product sale
  5. If you want to set a scheduling time too then install-activate a plugin called Precise Sales for WooCommerce
  6. Once the plugin is activated, you can also set sales time in hours and minutes in addition to the sales start and end day
Schedule Sales WordPress

This gives you a more precise way of scheduling sales, the plugin is especially helpful for stores that serve in countries having multiple timezones such as the United States.

What Online Business Should I Start?

Become a people’s personal outlet. This is the new way of life to startup. Following that the right business as per your own interest also becomes easy.

Although, the right business for you depends on your interest, skill, and the capital you can invest. But there’s only one exception in the world – to become a people’s personal outlet. You acquire all the necessary interest, skill, capital and market also while working as an outlet of Sangkrit.

Anyone can work as an outlet either to start his earning from home or gain extra income part-time. 

There’s no taking of any financial risks in the hope of profit. It offers you a tested business model with a distributed support system to help you easily startup and continue with your growth. 

This is the best business which anyone can do. All you need is a smartphone.

What to sell?

You just have to help other businesses to come online. This you do by selling online support which may comprise of – 

  1. Web & App Developemnt
  2. Domain & Server management
  3. Purchasable Programming Power

How to sell? 

  1. You register your name
  2. You start blogging your business
  3. You write lessons on SANGKRIT.net products
  4. As per your blog’s niche you start to receive the traffic interested in your subject
  5. You showcase on your website that they can hire you for support in server administration or web-app development
  6. Using a simple call to action button on your website, people start contacting you for work
  7. You fulfill their requirements either yourself, or by purchasing necessary online support from other outlets
  8. You receive money (from your client) in your bank account 
  9. You share the profit with other outlets involved in the project 
  10. In the whole process, you continue earning the passive income from the CPC ads you have placed on your website

So startup today as a people’s personal outlet. This is the best thing you can do from your home. It truly equips you to stay home, earn big, and continue living a pandemic-proof lifestyle.

If you have any questions then use the following comment form.

Why WordPress Keeps Redirecting You To Old Web Address?

This issue is experienced especially when you move your WordPress site from a subdirectory or subdomain to the main domain. Maybe you have developed your website on a subdomain or directory and now you want to move it to your main domain address.

Whatsoever may be the case, if you see that your domain is still trying to send you to that old address then make sure of the reasons mentioned below.

Have you checked the .htaccess file for any manual redirects?

The .htaccess file is present in the root directory of WordPress. On the server, it is hidden by default. There are some plugins especially cache and SEO plugins that make modifications to this file which may cause redirect issues at the time you migrate your website to a new address.

To make sure your .htaccess file is free from any manual redirects, visit the file manager of your web-hosting or server, navigate to the root directory of your website, and open the .htaccess file for editing.

Next, make sure you don’t have any manual redirect code, if you have then remove it. You may simply remove all additional rules and leave only WordPress default rules in this file.

Have you updated the new address of your website on the admin settings page?

Before moving your website you need to update the new address of your website on Dashboard -> Settings -> General page. You need to update both the ‘Home’ and ‘Site URL’ fields.

In case you don’t do that, your domain will keep redirecting to that old address. Somehow if you forgot to change the URL of your site and have already moved the files then now what you can do is update the wp-config.php file by adding this code –

define('WP_HOME','http://yoursite.com');
define('WP_SITEURL','http://yoursite.com');

Make sure you replace yoursite.com with your own domain name. It simply hardcodes the values on your website.

Another way of doing the same is by editing the wp-options table of your MySQL database.

May be old URL is hardcoded in any of your plugins

Another reason for this error is sometimes some plugin hardcodes the old address of your website and attempts to load it during the login process.

So once you are sure that the ‘Home URL’ and the ‘Site URL’ have been properly updated then the next thing you should do is visit your site’s root directory -> wp-content and rename the ‘Plugin’ folder. This will simply deactivate all plugins. Now try to open your website.

If this trick works then you can log in to your website and start re-activating plugins one by one. Following this way, you will reach the plugin that is causing the problem. To resolve the issue, simply delete the error-causing plugin.

Next, clear your browser’s cache and see whether the error is gone or not. If the problem persists then use the following comment form to get in touch or you may contact 24/7 phone-call support if you are a user of SANGKRIT.net.

Get Rid Of Every Possible 404-Not-Found Error On WordPress

The most common error that takes away your traffic is 404 i.e. PAGE NOT FOUND error because as soon as the visitor sees it, he closes the browser’s tab to visit somewhere else.

Now you know how to conditionally redirect any link on WordPress but are you really aware of every 404 PAGE NOT FOUND error that is snatching away the visitors of your website?

What if you have a big website with lots of posts and you are not sure what links may cause a page-not-found-error? One way that can solve almost all of your problems with dead links is redirecting every user on your website to the content he wants to read.

In order words, you can convert every expired link into an intelligently working link on your website.

So how is that possible?

You just need to install-activate a WordPress plugin called Link Fixer, once activated the plugin automatically fixes all active and possible 404 errors on your website.

How does It work for the visitor?

The plugin searches the database to find any of the values especially the words that match the dead link requested by the client. Once, it finds the best match, it sends the user to that page. As a result, the user sees the content he was looking up for.

How does it work for search engine crawlers?

Google and other search engine spiders simply find the 301 redirects so they can update their results accordingly.

The best solution for users moving to WordPress

The plugin is a great solution for users planning to move their website from any platform to WordPress. Where sometimes the conversion process removes words such as “the” and “a” from the permalinks and generates many 404-page-not-found errors.

It also offers you some settings on your dashboard Settings -> Link Fixer page to let you modify values and set your own parameters.

Even if you don’t make any settings. Simply activating the plugin will get rid of every 404 error on your WordPress site.

How to know that your links are fixed?

Simply mistype any permalink or temporarily add a broken link somewhere on your website then click that link to see how intelligently you are redirected to the right page.

Conditionally Redirect Any Link On WordPress

You can decide what links, users, and HTTP codes you want to send on what specific pages and set your own redirection rules on WordPress.

This means you can redirect links by HTTP codes, on the basis of whether the user is logged in or logged out, redirect specific URLs or permalink structure, etc, easily with the help of a plugin.

Although, these redirect implementations can also be done via cPanel using the domain redirect rules or by using the .htaccess file present in the root directory of your website. But to make things easier for newbie users, the Redirect Redirection plugin is programmed with an easy interface to do the same from the admin panel of your website. Its simplified functions are made available to help users that are not familiar with coding and defining redirects via the technical interface of the server.

The main features of the plugin include:

  • Options to redirect any HTTP code that can be 301, 302, 303, 304, 307 and 308
  • Options for defining the inclusion and exclusion rules for the logged in & out users, specific user role, user’s referrer link, user’s agent, user’s cookie, user’s IP, server, and also the language
  • Several options to set redirection rules that include simple as well as advanced RegEx matches. The URLs that contain specific string to new or removed string, URLs that start with something, specific permalink structures, and soon 404s redirects would also be available. Apart from this, the setting redirection rules with several matching conditions is also possible with this plugin
  • Options to manage all redirects comfortably by enabling or disabling links, modifying or deleting the redirects neatly listed on the admin page
  • You can set automatic redirects, change URL, and also import or export redirection lists, these features are under development and would be availble soon to you

How to set it to work on your website?

To start you will need to install-activate the new WordPress plugin called Redirect Redirection. Once activated visit its admin page on your dashboard and select the option to add your own redirect rule.

You will see that there are several options to let you set your own link redirect condition. You can define as many rules you want and also you can keep a backup of that, the plugin offers you the option to import and export the URL redirection rules you have created on your WordPress website.

How To Make Shipments Trackable In Your WordPress Ecommerce Website?

To make product orders trackable by your customers on your WordPress Ecommerce website, you will need to add shipment tracking information into your store orders and then you can share that with your customers.

In order to do it on your online store simply login to your WordPress Ecommerce website and follow these steps:

  1. Navigate to WooCommerce -> Orders
  2. Find the order that you want to add tracking information to, and in the shipment tracking column, select ‘[+] Add shipment tracking’ option. As you click it, a modal box will appear
  3. Enter the shipment tracking number that your carrier has provided to you.
  4. Now the system will attempt to automatically provide you a tracking URL and carrier name
  5. If the automatic detection didn’t work, you can manually add a ‘Tracking URL’ and ‘Carrier Name’, and select ‘Next’
  6. Select which line items from the order will be included in this shipment.
  7. If desired, check the box to ‘Mark this order as complete’
  8. Select ‘Save shipment tracking’

Once the shipment tracking information is saved, you can view your tracking number, carrier, and the number of line items that are tracked. If a tracking URL was added, clicking on the tracking number will allow you to view the tracking information on your carrier’s site.

How To Add An Additional Tracking Number In WordPress Ecommerce?

If you’re shipping items from an order separately, you’ll have more than one tracking number to share with your customer. This article explains how to add additional tracking numbers to order in WordPress Ecommerce.

Login to your WordPress Ecommerce website and follow these steps:

  1. Navigate to WooCommerce > Orders
  2. Locate the order you want to add an additional tracking number to.
  3. You will see that the shipment tracking column is already populated with a tracking number
  4. Select ‘[+] Add shipment tracking’
  5. Enter the shipment tracking number that your carrier has provided to you.
  6. Now the system will attempt to automatically provide you a tracking URL and carrier name
  7. If the automatic detection didn’t work, you can manually add a ‘Tracking URL’ and ‘Carrier Name’, and select ‘Next’
  8. Select which line items from the order will be included in this shipment.
  9. If desired, check the box to ‘Mark this order as complete’
  10. Select ‘Save shipment tracking’

How To Modify Or Remove Tracking Number?

Once you’ve added a tracking number to a WooCommerce order, you can edit or remove it at any time. Simply log in to your WordPress Ecommerce website and follow these steps:

  1. Navigate to WooCommerce -> Orders
  2. Select the order you want to edit
  3. Scroll down to the Shipment Tracking section
  4. Select the pencil icon to edit the shipment information, or select the trash can icon to remove it from the order entirely

If the ‘Item Shipped’ email is enabled in your WooCommerce settings, your customers will receive a shipment email as you update shipment information for an order.

Let Your Customers Track The Shipment Of Their Order

When your customers buy anything from you via your online store, they start to await the shipment, they want to know when they can expect it to arrive.

WordPress Ecommerce now allows you to share product tracking information with your customers. Your customers automatically get an email anytime you add shipment information to their order.

The item shipped email info is enabled by default in your store settings. To manage these settings and check on the email you simply need to navigate to the ‘Ecommerce Settings’ page on your dashboard and select the option ‘Item Shipped Email’

On this settings page, you can edit the default email to add your own subject and content.

The default email settings are:

  • Default Subject: An item from {site_title} order {order_number} has shipped!
  • Default Heading: Your package is on the way!
  • Default Additional Content: Please note that it may take some time for the carrier to update shipment tracking information.

The email will then include a shipments table having the carrier name and the tracking number. The tracking number is formatted as a URL link only if you generate a tracking URL while adding tracking information to orders on your WordPress Ecommerce website.

You Can Use Multiple Domains On Your Managed WordPress Site

Managed WordPress offers you the easiest way to change your domain name or attach multiple domains on your website without worrying about the DNS settings.

If you have your domain name registered with SANGKRIT.net and you have a Managed WordPress or WordPress Ecommerce website, then all DNS changes will automatically take effect for your website.

  1. Log in to your SANGKRIT.net account
  2. Visit your products page and navigate to WordPress
  3. On the menu bar, select ‘Settings’
  4. In the ‘Domains’ section, select ‘Attach Domain’ option
  5. Using the ‘Choose a domain’ pull-down menu, select a domain from this account or you may also select ‘Add an external domain or subdomain’ to use a domain registered in another account or a subdomain will also work
  6. Your new domain name is attached
  7. Now, if you want to make it primary then simply go for the option ‘Make this the primary domain for your account’
  8. Select Attach and now your website will be live on the new domain and yes, your old domain name will also work

In case you don’t want to use a domain on your website then you can remove it. Suppose, after changing to a new primary domain, you can remove the old domain in case you don’t want to use it for your website. Else, you may continue using both. Whatever suits you the best.

Once you make any DNS changes, its propagation may take up to 24-48 hours for the changes to take effect. In most cases, if you have your domain name at SANGKRIT.net, many times it generally starts working in seconds. Still, 48 hours is the deadline.

How To Migrate From WordPress To Managed WordPress?

Managed WordPress provides you a hassle-free environment to run your website. It offers you automatic setup, backups, and easy software updates paired with round-the-clock online support.

The new Managed WordPress plans come with an auto-migration feature that allows anyone to conveniently move his existing WordPress website to Managed WordPress.

To start you just need to subscribe to a Managed WordPress plan, choose the option of migrating your old website and then enter your login credentials to proceed. It automatically handles everything else and suggests whatever you need to do next during your website transfer process.

The following steps will make the entire process easier and understandable for you. Once you are subscribed to Managed WordPress, visit your SANGKRIT.net product page and follow these steps:

  1. In the Managed WordPress section, select Manage All
  2. Next to Managed WordPress, select + Create Site
  3. Select the Managed WordPress plan you want to use for your website, and then select the Next button
  4. Select Migrate an existing WordPress site option
  5. Follow the wizard, you will be asked to fill in these details:
    • The domain name of the website you are migrating
    • The WordPress Username and Password for the site you are migrating
  6. Select Next to start the migration process

Now, wait for the migration to complete. Larger and more complex websites could take more time to migrate. You will get an email as soon your website is fully transferred to Managed WordPress.

How To Bulk Sell Products In WordPress Ecommerce Website?

You can sell bulk products in one product group by associating and linking multiple products at one price. The new WordPress WooCommerce plugin lets you to do this in a very easy way.

Simply start by installing-activating the new Bulk Product Selling plugin on your WordPress Ecommerce website. Once activated, visit the add new product page or open any old product for editing.

On the page, inside the product data section which is present below your product description section, you will see a new ‘Bulk Product’ tab is added. Click that tab and start typing the name of the product you want to link, once the product name is displayed, click it and it will be added.

Following this way you can link as many products as you want. Once you are finished adding your products in the bulk products section. Simply update or publish your product.

That’s it. Visit the front end of your website to see it working. The plugin works for simple, variable, and other types of products of your eCommerce website. If you yet don’t have a website, you can easily create one yourself with Managed WordPress.

How To Make All WordPress Links Open In New Tab?

You can make all links on your WordPress website open in a new tab. By default all WordPress links open in the same tab, there is an option in the links box to set specific links to open in a new tab. To make all links open in a new browser tab, you simply need to add a few lines of JavaScript code to your website.

The new WordPress plugin called Open Links In New Tab automatically does the same for you. Once the plugin is activated, your links start to open in a new browser tab. You can set if you want to open only external links in a new tab, or just internal links in a new tab, or both.

How does it work? This plugin adds only a few JavaScript code lines and it doesn’t depend on any external library, doesn’t even require jQuery, which is the most common JavaScript library. The function it produces is completely search engine optimized.

How to Switch Post Types In WordPress?

By switching post types you can convert any post into a page or custom post type, you can also convert any page into a post or custom post type or any custom post type into a page or post.

There are various options available to bulk convert post types in your WordPress site. But you can also individually switch any post type from the post edit screen.

Post Type Switcher is a WordPress plugin that adds a simple post-type drop-down to your post edit screens. Thus, allowing you to reassign any post to a new post type while editing your post.

Once activated, it can convert nearly every combination of posts, pages, and custom post types on your WordPress website:

  1. Post to Page
  2. Page to Post
  3. Post to Custom Post Type
  4. Custom Post Type to another Custom Post Type

While converting any post the invisible post types, such as revisions, menus, etc, are excluded. But, in case if you need to access invisible post types, you can adjust the boundaries of the plugin by using the ‘pts_post_type_filter’ filter.

Apart from this, bulk editing allows you to select all the posts in a certain type and convert them to a new type with one quick action.

How To Send User Directly To Post On Single Search Result?

If you have a small blog and you want to send the user directly to the post especially when any search result comprises of just one post or page. In such a case you can automatically redirect the user to that result.

The new WordPress plugin called One Search Result allows you to do that on your website. Simply install-activate it and it will start to work automatically. The plugin works with any theme and any objects that would be shown on your search results page.

How To Fix The Issues WordPress Has With SSL?

You can seamlessly map your website URLs to HTTPS and get most of the mixed and insecure content errors automatically fixed on your WordPress website.

If you have SSL subscribed and your site has access to it, then you just need to install-activate a WordPress plugin called Really Simple SSL, and that’s it. Your site will get automatically moved to a secure HTTPS connection.

The plugin instantly configures SSL on your WordPress site, without any modifications to other files and settings.

In case you don’t have an SSL then the first thing you need to do is subscribe to an SSL of your choice. You may either go for a Standard or Premium SSL or you may subscribe to a Completely Managed SSL Service.

Once you have SSL, just activate Really Simple SSL plugin on your website. It saves you from hours of work.

As soon the plugin is activated, it –

  • Automatically updates the siteurl and homeurl to HTTPS
  • Automatically fixes all insecure and mixed content errors
  • Automatically redirects all incoming URL requests to HTTPS
  • Automatically handles most issues that WordPress has with SSL

The plugin works by using an internal WordPress redirect, but it also allows you to use a .htaccess redirect instead. It handles when you’re behind a reverse proxy/load balancer and takes care when no headers are passed, which WordPress uses to detect an SSL connection

The insecure and mixed content on your website is dynamically fixed by replacing all HTTP URLs with secure HTTPS, except hyperlinks given to other websites. This URL migration is dynamic so no database changes are made, except for the site URL and home URL. The plugin sets PHP cookies securely with the httpOnly flag.

How To Convert Absolute URLs Into Relative URLs In WordPress?

WordPress always saves the content using the actual domain i.e. the domain you use to write your content.

But sometimes it may cause you issues especially when you want to develop your WordPress site locally using a local host server or blog on one domain and then go live on another. Because then you need to replace all URLs in your database.

This lesson guides you on how you can easily convert all absolute URLs into relative URLs.

Relative URLs is the new WordPress plugin that allows you to move from localhost to a live domain with minimal effort. The plugin doesn’t change the links in the database, so you can develop in the staging area or on a subdomain, or a sub-directory without worrying to replace URLs in your content.

The plugin doesn’t replaces the URLs in the database but:

  • It removes the domain name on internal links
  • It also removes the domain name on image sources for the images that are located on your server

Using this plugin you can:

  • Switch between HTTP and HTTPS sites
  • Move from one directory to another with minimal effort
  • Go live in one domain and carry on your development in another
  • Backup a production site from one domain and restore it for testing process on another domain

One important thing to take note of is the plugin should always be used for local development only. As it may conflict with your server-based cache services such as Nginx or Varnish.

How To Disable Lazy Load Functionality In WordPress?

The lazy load image functionality has been added to the WordPress core. Hence, it works automatically all over your website and by default, there are no options given to disable it.

This lesson guides you on how you can turn it off on your website in case you don’t need it. All you have to do is install-activate the new WordPress plugin called Lazy Load Disable. Once activated, the plugin simply turns off the lazy load on your website.

There are no options to turn on or off lazy load functionality so in case you want lazy loading to be back, you simply need to deactivate the plugin and the lazy loading feature will start to work as before on your website.

How To Work On WordPress Blocks As Draft?

WordPress has given a new publishing experience by introducing the block editor. Blocks work as the component to add customized content inside a post or page on your website. This lesson guides you on how you can work on some WordPress blocks without publishing them.

While working on a live post or page, you can continue to work on any block in the backend, without making it live for the public view, until and unless you are done with your editing work.

Hide Block is the new WordPress plugin that lets you hide blocks from the front end of your website. Simply install-activate it.

Once activated, the plugin will automatically add the ‘Hide Block’ option (below the ‘Advanced’ tab) to the block editor section. It shows up on the side of your screen while you edit a block on your edit post screen.

The plugin works for the posts, pages, and all post types, wherever the block editor is active.

How To Give Photo Effects In WordPress?

By applying photo effects you can give a new artistic look to images you use in your WordPress posts and produce an enhanced look on your website.

You can do it easily by using the new WordPress plugin called Image Effects. It enables you to add images to your content and apply different effects over them.

Simply start by installing-activating it on your WordPress site and then on your post editor click the ‘Add Block’ button (that small plus icon). This will open the default block editor where you will notice the ‘Image Effects’ option added by this plugin.

Click that ‘Image Effects’ icon, select the image, set your effects and insert it in your post. It is that simple.

It offers you effects for setting the image brightness, blur, contrast, grayscale, hue, and inverts option, etc. For the images, you want to insert simply without giving any effects, just use the default ‘Image Block’ option on your post editor page.

Simplest Way To Insert Links In WordPress Posts

The new WordPress block editor works out of the box. It allows you to quickly add links to any text of your post, post type, or page.

Follow these three steps:

  1. Copy the link
  2. Select the text you want to link
  3. Press the CTRL+V keys on your keyboard

That’s it. Now there’s no need to use any button on the WordPress block editor or TinyMCE editor.

How To Copy Paste Images From Anywhere To WordPress Posts?

Now there’s no need to manually upload images to the WordPress media library, before inserting them in your posts. The new WordPress block editor allows you to simply copy-paste pictures from anywhere to your WordPress posts or pages.

All you have to do is –

  1. Copy the image from your computer or anywhere online
  2. Press CTRL+V on your keyboard

That’s it. The image will be instantly inserted into your post content. In the background, it will also get uploaded to the WordPress media library.

Pointing Out Posts That Need Improvement In WordPress

You can show tasks on specific posts and pages on your WordPress site to easily let your users know what else needs to be done to complete the post or to make it better.

Post Descriptions is the new WordPress plugin that enables you to add small descriptions to posts and pages. It lets you do things like adding small to-dos or don’t-forget tasks for your authors or simply for your own remembrance.

How To Add Small Notes On Your Posts?

To start simply install-activate the said plugin on your WordPress site. Now, post descriptions can be added either from the main edit screen of your post or directly from the quick edit option visible on each post via the Posts -> All Posts page.

Where Your Notes Get Visible

The post description written by you or any privileged user can be seen both on all posts page as well as a post-state which is the bold text next to your post or page title. The given screenshot clearly shows how the notes written on posts would be visible to you or any other user on your website.

Enabling & Disabling The Notes

Next, when you find that your post is perfect and you no longer need to show these notes, you can simply remove them and save your post.

In some cases, especially if your admin panel has become a bit cluttered and you no longer need post descriptions there. Then, you may disable it in post states using the given tick box option.