Tag Archives: WordPress

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.

Creating Private Notes On WordPress

You can write private notes within WordPress for your own personal use. You may use it for keeping a reference to something, some text, or a link on the web to use it in the future while writing your post.

The new WordPress plugin called Hypernotes offers you a new custom post type that is completely private and created specifically for writing notes. These notes can’t be published online anyhow so it gives you a complete sense of security that it will not go online to the public even by mistake.

Otherwise, the private post option of WordPress is also available that simply allows you to make any post private (using the ‘Publish’ meta box) i.e. available only to logged-in website users.

The plugin also offers you the option to create folders and organize your notes. Together with the new PWA capabilities introduced by the Gutenberg plugin, these notes could be accessed easily through WordPress app on your smartphone.

Although the notes you create with this plugin are kept hidden from the public but at the moment these are not encrypted, so anyone having the access to MySQL database on your website will be able to read them (only if he knows how to).

But no worries if you are the complete owner of your WordPress site and use cPanel, VPS, dedicated server, or Managed WordPress for running your website because then only you have access to your website’s database and you can decide whom you want to share that access with.

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 Register Your Domain Name At SANGKRIT.net?

Finding and registering a perfect domain name is the first crucial step of building your online business.

So if you have an idea to startup online or you want to bring your business online or you simply want to start blogging to earn money from your website then register your name immediately before anyone else grabs it.

Your domain name is your online address, it is used by your customers to visit your website or email to you on your business email address that ends with your domain name, not the email service provider’s name.

How to register your domain name?

  1. Visit http://system.sangkrit.net
  2. Type the name you wish to register
  3. Click the select button next to the domain you wish to register
  4. Click Proceed to Cart button and checkout to own your domain

What domain name you should register?

  1. You can simply register your full name as your domain name
  2. If you already have a business then register your business name
  3. If you have some great name for your website, register it as your domain

What domain extension you should use?

The most popular domain extension on the internet is .com and then there are .net and .org but now there are hundreds of other domain extensions available that make it possible for you to register a perfect domain name with an extension that represents your business.

These extensions include .constructions .contractors .enterprises . graphics .cab .institue .boutique .foundation .consulting .events .actor .media .university .college .healthcare .cooking .business .wedding .dentist and many-many more.

There are also country specific domain extensions such as .us for USA .in for India .eu for Europe etc.

What to do if the domain name you want is already registered?

You may opt for other available domain extensions or you may use the domain backordering option that shows up on domains already registered by someone else.

To backorder a domain –

  1. Search for the domain name
  2. Click the backorder button
  3. Follow screen instructions

This enables you to watch the status of any currently registered domain name and secures your chance to register that domain as soon it becomes available.

You have registered your domain name, what is next?

Make your website with WordPress, for that you need either a dedicated server which is the ultimate option for hosting your online business or you may go for cheaper options such as web-hosting or WordPress Ecommerce which offers you pre-installed WordPress on your domain.

Once WordPress is installed on your domain, you need no one else to make and manage your website, you can do everything on your own using its user-friendly admin interface.

Why register your domain name at SANGKRIT.net?

It not only offers you free extras for managing, locking, and securing your domain but it also offers you complete cloud infrastructure with online support as well as purchasable programming power from the masters of code and experts of WordPress. It is the one-stop solution fulfilling all your online business needs.

How To Enable PreOrdering In Your WordPress Ecommerce Store?

You can allow your customers to pre-order upcoming products from your WordPress Ecommerce website. This way you can enable the selling of the product before they become available in your inventory.

Pre Order for WooCommerce plugin lets you do this very easily on your online store. To start you should have a WordPress Ecommerce website, if you don’t have one, you can easily make it at SANGKRIT.net by registering or transferring your domain and then subscribing to WordPress Ecommerce.

Next, install-activate the new WordPress plugin called Pre Order for WooCommerce. Upon activation, the plugin will add two new fields in the inventory tab present under the ‘Product Data’ section of your product admin screen, as shown in the above-given screenshot.

The two fields are:

  1. Pre Order Product – The checkbox option allows you to enable pre-ordering on selected products
  2. Pre Order Date – The field allows you to set a product shipping date on the pre-order enabled product

Once you enter the correct information in these two fields, enter order important product information such as price, name, variations etc and then publish or update your product.

That’s it. The product’s default ‘Buy Now’ button will now get changed to the ‘Preorder Now’ button allowing your customers to pre-order that specific product from your website.

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 local 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 localhost server or blog on one domain 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, very quickly.

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 stanging 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.

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.