All Articles by Sangkrit

Register/transfer domain names at http://system.sangkrit.net and mail to system@sangkrit.net to get your web/app made/managed as per the budget allocated.

4495 Articles

Exploring The New Frontier Of Domain Extensions

Domain extensions play a pivotal role in shaping online identities. While “.com” has long been the gold standard, a new era of domain extensions has emerged, offering businesses and individuals a wealth of opportunities to express their brand and connect with audiences. This article delves into the exciting world of new domain extensions and how they can enhance your online presence.

The Rise of New Domain Extensions

With the introduction of the Internet Corporation for Assigned Names and Numbers (ICANN) new generic top-level domains (gTLDs) program, the internet witnessed an explosion of new domain extensions. Previously dominated by familiar endings like “.com,” “.net,” and “.org,” the domain space now boasts thousands of options, including niche-specific and location-based extensions.

From “.tech” and “.design” to “.store” and “.blog,” these new extensions allow businesses and individuals to choose a domain that aligns perfectly with their brand and industry. The availability of these extensions means that businesses can secure a relevant and memorable domain name that reflects their identity.

Here’s a list of some popular new domain extensions (also known as generic top-level domains or gTLDs) that have emerged in recent years:

General Domain Extensions

  1. .app
  2. .blog
  3. .design
  4. .shop
  5. .tech
  6. .online
  7. .site
  8. .store
  9. .space
  10. .club

Industry-Specific Domain Extensions

  1. .photography
  2. .marketing
  3. .financial
  4. .health
  5. .law
  6. .travel
  7. .restaurant
  8. .games
  9. .fashion
  10. .construction

Location-Based Domain Extensions

  1. .nyc (New York City)
  2. .london
  3. .berlin
  4. .paris
  5. .tokyo
  6. .boston
  7. .vegas (Las Vegas)
  8. .miami
  9. .sydney
  10. .barcelona

Community-Based Domain Extensions

  1. .community
  2. .family
  3. .friends
  4. .network
  5. .club
  6. .voting
  7. .ngo (Non-Governmental Organizations)
  8. .social
  9. .events
  10. .fund

Niche and Creative Domain Extensions

  1. .guru
  2. .ninja
  3. .life
  4. .love
  5. .news
  6. .wiki
  7. .fun
  8. .mobi (Mobile)
  9. .xyz
  10. .tokyo

Technology and Innovation Domain Extensions

  1. .ai (Artificial Intelligence)
  2. .cloud
  3. .dev (Developers)
  4. .io (Indian Ocean, also popular in tech)
  5. .app
  6. .game
  7. .software
  8. .data
  9. .robot
  10. .security

Personal Domain Extensions

  1. .me
  2. .name
  3. .email
  4. .person
  5. .family

This list is not exhaustive, as new domain extensions continue to be introduced regularly. It’s essential to research and choose the one that best fits your brand, audience, and goals.

The Benefits of Using New Domain Extensions

  1. Enhanced Brand Identity: New domain extensions provide an opportunity to craft a unique online identity. A domain name that closely aligns with your business can create a stronger impression and be more memorable for visitors. For instance, a tech startup may choose “.tech” to signal its innovation, while a local bakery might opt for “.bakery” to enhance its community appeal.
  2. SEO Advantages: While “.com” domains have traditionally held a strong position in search engine rankings, newer extensions also contribute positively to SEO efforts. A relevant domain extension can improve click-through rates as users may feel more inclined to click on a domain that appears tailored to their interests.
  3. Availability of Desirable Names: The demand for “.com” domains has led to a scarcity of available names. However, the vast array of new extensions means that businesses are more likely to find a domain name that aligns with their brand without resorting to complicated variations or creative spellings.
  4. Niche Targeting: With new domain extensions, businesses can better target specific audiences or industries. For example, “.health” can attract users interested in health-related content, while “.travel” may appeal to avid travelers. This specificity can enhance marketing efforts and foster a more targeted customer base.
  5. Innovation & Creativity: New domain extensions encourage creativity in branding and marketing strategies. Businesses can create memorable campaigns by incorporating their domain extension into their branding. For instance, a digital marketing agency could use a domain like “innovative.agency” to reinforce its modern approach.

Considerations When Choosing a Domain Extension

While the benefits of new domain extensions are clear, there are several factors to consider when selecting the right one for your business:

  1. Audience Perception: Consider how your target audience may perceive different extensions. While some extensions may convey professionalism, others might appear less credible. Conduct market research to gauge audience sentiment toward various domain endings.
  2. Branding Consistency: Ensure that your chosen domain extension aligns with your overall branding strategy. Consistency in messaging and visual identity will help reinforce your brand’s values and vision.
  3. Future Trends: Stay informed about emerging trends in the digital landscape. As technology evolves, new domain extensions may become more popular, making it essential to keep an eye on industry shifts.

The opportunities presented by new domain extensions are boundless. Businesses and individuals can leverage these extensions to create a distinct online identity, improve SEO efforts, and connect more effectively with their target audience. By moving beyond the traditional “.com” and exploring the vast landscape of domain options, you can position your brand for success in an increasingly competitive online world.

How To Register These Domain Extensions?

Here’s a step-by-step guide on how to register new domain extensions at Sangkrit.net:

Step 1: Visit Sangkrit.net

Go to the Sangkrit.net Domain Registration page where you can register new domain extensions along with other web services.

Step 2: Search for Your Desired Domain Name

Use the domain search bar on the homepage to enter your desired domain name along with the new extension. For example, you might type “yourbrand.tech” or “youridea.shop.” Click on the “Search” button to see if the domain name is available.

Step 3: Choose Your Domain Extension

If the entered domain name is not available, Sangkrit.net will suggest similar available domain names with different extensions. Select the domain extension that fits your needs, whether it’s “.tech,” “.online,” “.shop,” or any other new gTLD.

Step 4: Add to Cart

Once you have found an available domain name, click “Add to Cart” to begin the registration process. You can add multiple domain names to your cart if you wish to register several.

Step 5: Choose Domain Registration Duration

Select the number of years you want to register the domain for (typically from 1 to 10 years). You can also enable auto-renewal to ensure your domain name doesn’t expire.

Step 6: Configure Additional Domain Settings (Optional)

You may choose to add domain privacy protection to hide your personal information from the WHOIS database. You can also select other services like email hosting or web hosting if needed.

Step 7: Proceed to Checkout

Review the items in your cart and then click “Proceed to Checkout.” You’ll be prompted to create an account or log in if you already have one.

Step 8: Complete the Payment

Enter your billing information and complete the payment using the available payment methods. Once the payment is confirmed, your domain name will be registered.

Step 9: Manage Your Domain

After registration, you can manage your domain settings, such as DNS configuration, domain forwarding, and renewal preferences, through the Sangkrit.net control panel.

That’s it! Your new domain name is now registered and ready for use.

In this exciting frontier, your domain name is not just an address but a powerful tool for storytelling, engagement, and growth. Embrace the possibilities, and let your domain reflect the unique essence of your brand.

How To Redirect Users By Their Country In WordPress?

The IP2Location Redirection plugin is a powerful WordPress tool that allows website owners to manage redirection tasks based on visitors’ geolocation, identified through their IP address. It supports country and region-based redirection to a specified URL or custom page, making it ideal for handling 301 and 302 redirects without needing expertise in server configurations like Apache .htaccess.

Common Features:

  • You can set up multiple redirection rules as needed for different countries or regions.
  • It supports IPv4 and IPv6, making it flexible for all IP addresses.
  • It helps improve SEO by reducing old or broken links.
  • You may configure logging and display custom messages for blocked visitors.

The plugin supports both IPv4 and IPv6, utilizes IP2Location’s IP geolocation data, and offers flexible redirection rules, helping improve SEO by managing old or broken links effectively.

Step 1: Install and Activate the Plugin

Start by installing the IP2Location Redirection plugin. In your WordPress admin dashboard, go to Plugins > Add New, search for the plugin by name, and click Install Now. Once installed, activate it. This plugin is highly recommended for handling redirection based on country or region using IP address geolocation.

Step 2: Configure the Basic Settings

Navigate to IP2Location Redirection > Settings in the dashboard. Here, you will configure the initial settings:

  • Default Redirection Behavior: Choose the default action, such as redirecting to a specified URL or blocking access for certain countries.
  • Geolocation Data Setup: The plugin supports both IP2Location IP geolocation BIN data and web service for geolocation lookup. If you choose to use the BIN data, download the file from the IP2Location website and upload it to your server. Make sure to update the BIN data monthly via the settings page for accurate results.

Step 3: Add Redirection Rules

Go to IP2Location Redirection > Rules and click Add New Rule to create a country or region-based redirection rule:

  • Rule Name: Give a descriptive name for easy management.
  • Country or Region: Select the country or region you want to target for redirection.
  • Redirection URL: Specify the destination URL for visitors from the selected location.
  • Redirection Type: Choose between 301 Permanent or 302 Temporary redirection.
  • Source URL: Leave it empty to apply site-wide redirection, or specify a specific page.
  • Additional Conditions: Configure optional conditions, such as user agent, referrer, or URL parameters.

Step 4: Save and Activate the Rule

After setting up the parameters, click Save Rule to activate it. This rule will now redirect users to the specified URL based on their IP geolocation.

Step 5: Testing and Verification

To verify that the redirection is functioning correctly, simulate visits from the selected country using a VPN or proxy. Ensure the visitors are redirected according to the configured rules.

The IP2Location Redirection plugin is powerful yet simple, allowing website owners to manage redirections without needing to be familiar with Apache .htaccess configurations.

How To Redirect HTTP URLs to HTTPS Via .htaccesss File?

After the SSL is installed on your domain name, you will need to redirect all non-secure HTTP links to their secure HTTPS connection for several important reasons.

For any website to work over SSL, there are some modifications you will need to make to your .htaccess file, and then it will redirect your visitors to the HTTPS version of your website. To start with the process of HTTP redirection simply login to your Sangkrit.net account and follow these steps:

  1. Go to your product page.
  2. Under the Server, click Manage for cPanel
  3. In the Account Dashboard, click File Manager.
  4. In the cPanel File Manager, click Settings.
  5. Make sure that Show Hidden Files (dotfiles) is checked, and click Save.
  6. Click on public_html, and open your .htaccess if you already have one. If not, click File+, name the file .htaccess and click Create New File.
  7. Select the .htaccess file, and click Edit.
    • If you just created your .htaccess file, use this code:
      RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteCond %{HTTP_HOST} ^(www\.)?coolexample\.com RewriteRule ^(.*)$ https://www.coolexample.com/$1 [R,L]
    • If your .htaccess file already exists, insert the lines that begin with ReWriteCond and RewriteRule directly after the already existing ReWriteEngine On.
    • Click Save Changes and Close. 

That’s it. Visit your website and you’ll be re-directed to the HTTPS version.

How To Redirect HTTP To HTTPS In WordPress?

  1. Log into your WordPress Dashboard.
  2. Visit Settings, click General.
  3. Locate the following fields:
    • WordPress Address (URL)
    • Site Address (URL)
  4. In each field, update your URLs from http to https
  5. Scroll down and click Save Changes.
  6. Open your current .htaccess file in the /public_html/ folder with the cPanel file manager for editing. If you don’t already have a .htaccess file, you’ll need to create one.
  7. Insert the following code at the top of your .htaccess file:
  8. Click Save Changes at the top-right corner of the screen.

In some cases, you will need to edit your .htaccess file, if you don’t want that then use a WordPress plugin like Really Simple SSL. This saves you from the technical steps edit file editing on the server.

The Importance Of Redirecting HTTP To HTTPS After Installing SSL

Redirecting HTTP to HTTPS after installing an SSL Certificate is important as both HTTP and HTTPS versions start to work simultaneously on your website and most of your traffic continues to land on the old HTTP version. It is crucial for several other reasons as well –

  1. Website Security: HTTPS encrypts data transmitted between the user’s browser and your website, making it secure and protecting sensitive information such as login credentials, payment details, and personal data. If your website is accessible via HTTP, users’ data may be vulnerable to interception and tampering.
  2. User Experience: Search engines like Google prioritize HTTPS websites in their search rankings. This means that redirecting to HTTPS can improve your website’s visibility and attract more organic traffic. Additionally, users are becoming increasingly aware of the importance of online security and are more likely to trust and interact with websites that use HTTPS.
  3. Compliance: Many industries and regulatory bodies require websites to use HTTPS to protect sensitive data. By redirecting HTTP to HTTPS, you ensure that your website complies with these regulations.
  4. Mixed Content Issues: When a webpage loads content over both HTTP and HTTPS, it can cause security issues and disrupt the user experience. Redirecting to HTTPS ensures that all content is loaded securely.

Methods Of Redirecting HTTP to HTTPS

There are several ways to redirect HTTP to HTTPS, including:

  • Using server configuration: Most web servers (like Apache and Nginx) allow you to configure redirects using their built-in features. This method contains some very technical steps.
  • Using a .htaccess file: If you’re using Apache, you can create a .htaccess file in your website’s root directory and add a redirect rule. This method is easier in comparison to the above method.
  • Using a plugin or tool: Many content management systems (CMS) and web hosting providers offer plugins or tools that can automatically redirect HTTP traffic to HTTPS. This is the easiest one, WordPress users can simply use the ‘Really Simple SSL’ plugin.

Redirecting HTTP to HTTPS is essential for ensuring the security, user experience, compliance, and overall success of your website. The next lesson will guide you through the complete process of redirecting the HTTP version of your website to the secure HTTPS version.

How To Easily View & Edit Hidden Files On Your Web Hosting?

Hidden files on a server or hosting are invisible by default. They start with a dot (.), such as .htaccess or .env. These files are typically not displayed as they are considered system or configuration files used by the server to manage server settings or website behavior.

For example, .htaccess can control server rules for a website, while .env files store environment variables for web applications.

To edit hidden files on your server or hosting, you will need to change the file manager settings to view and edit such files –

Step 1 Access your cPanel account.

Step 2 Locate the file manager and click the “File Manager” icon.

Step 3 In the File Manager, click “Settings” at the top right, check the “Show Hidden Files (dotfiles)” option, and click “Save.”

Step 4 Navigate to the directory where the hidden file (such as .htaccess) is located.

Step 5 Right-click the file, select “Edit,” make the necessary changes, and save.

That’s it. You may ensure the modifications work correctly on your website.

When editing hidden files on a server, follow some precautions to avoid disrupting your website functionality or any server configurations.

Always create a backup before making changes, so you can restore the original if needed. This can be easily done by double-clicking to download the file.

Be cautious with syntax, as even minor mistakes can cause errors. For instance, editing .htaccess improperly could restrict the site access. So make incremental changes and test the site thoroughly after each edit. You may also use a staging environment to test changes before applying them to the live website.

cPanel Hosting Explained: A Beginner’s Guide To Building Website

cPanel Hosting is a user-friendly web hosting service that provides an easy control panel to manage your website’s backend, hosted on a server.

The cPanel interface simplifies managing your website’s resources, such as files, databases, email accounts, domains, and security settings. It allows users to perform tasks like installing software, monitoring website statistics, and managing FTP accounts without requiring advanced technical skills.

How To Use cPanel To Make Your Website?

Step1 Register a Domain Name

Start by purchasing a domain name from Sangkrit.net. Choose a name that aligns with your brand or business.

Step-2 Subscribe to cPanel Hosting

Go to the hosting section at Sangkrit.net and subscribe to a suitable cPanel hosting plan based on your requirements (disk space, bandwidth, etc.).

There are various hosting plans at Sangkrit.net:

  1. Starter Hosting: Offers 1 website, 30 GB storage, unmetered bandwidth.
  2. Economy Hosting: Offers 1 website, 100 GB space, unlimited bandwidth, 100 email accounts, and 10 MySQL databases.
  3. Deluxe Hosting: Offers Unlimited websites, space, and bandwidth, 500 email accounts, and 25 MySQL databases.
  4. Ultimate Hosting: Offers Unlimited websites, space, bandwidth, 1000 email accounts, unlimited MySQL databases, double processing power & memory, premium DNS, and a 1-year SSL certificate.

These options offer increasing resources and features based on the plan and its pricing.

Step-3 Access the cPanel Dashboard

After subscribing, you’ll be able to access your cPanel dashboard from your account’s ‘My Products’ page. It takes a minute and the automated process will let you add your domain name to your cPanel hosting and then access the cPanel admin area where you can upload or make your website.

Step-4 Make Website With WordPress

  1. In the cPanel dashboard, locate the “Installatron” application installer.
  2. Click on WordPress and follow the prompts to install it on your domain.
  3. Select the domain name, configure the installation settings, and click “Install.”
  4. Once installed, configure WordPress settings such as the website title, permalinks, and general settings to suit your needs.
  5. To start managing your website, log in to the WordPress dashboard using your admin username and password (set during installation).
  6. Choose a theme from the “Appearance” section to define your website’s look and feel.
  7. Install plugins to add functionality (e.g., Social Sharing, SEO tools, contact forms, etc).
  8. Add pages, posts, images, and other content from the WordPress admin dashboard.

Step-5 Ensure Website Security

Regularly update WordPress, themes, and plugins, keep website backups, and use cPanel’s security tools to manage SSL certificates and malware scans.

cPanel hosting at Sangkrit.net is ideal for beginners and experienced web developers. It offers a powerful and intuitive platform for website management.

How To Prevent Online Directory Browsing Or Listing Via cPanel?

Directory listing is a default server feature that shows the contents of a directory (folder) when there is no index file such as index.php or index.html in the folder.

When directory listing is enabled, visitors can see a list of all files and subdirectories within that directory and they can also download any file, and that might pose a security risk as it may expose any sensitive files or configuration information.

Disabling directory listing prevents such exposures, it forces the server to show a “403 Forbidden” error if there is no index file.

This can either be done manually by adding a line of code on .htaccess file as shown below:

Step-1 Open your cPanel dashboard.

Step-2 Go to “File Manager” and open the root directory of your website (usually public_html) or any directory where you want to disable directory listing.

Step-3 Look for the .htaccess file in the root directory.

Step-4 If it doesn’t exist, create a new file named .htaccess.

Step-5 Add this line inside the .htaccess file: “Options -Indexes”

Step-6 Save the file and exit.

    Directory listing is now disabled for your site.

    Alternatively,

    Step-1 On cPanel, navigate to the “Advanced” section,

    Click the “Indexes” link or icon.

    Step-2 Click the folder icon and enter a directory

    Step-3 Click the directory name to configure a directory and turn indexing on or off.

    Step-4 Select the “No Indexing” option

    Step-5 Click the “Save” button.

      Another way of doing the same thing is:

      Step-1 Navigate to the “File Manager”

      Step-2 Right-click the directory and select “Manage Indices”.

      Step-3 This automatically takes you to the “Indexes” page (where we were in step 2 of the above method).

      Step-4 Click the folder icon and enter a directory

      Step-5 Click the directory name to configure a directory and turn indexing on or off.

      Step-6 Select the “No Indexing” option

      Step-7 Click the “Save” button.

        Following any of the above methods is going to disable the directory listing.

        How Many Words Or Characters To Use On Post Title?

        Google’s search display limit for any content title is near about 60 characters which may vary from device to device. All search engine prefers shorter titles, so if your post title is longer than sixty characters, the search results page will cut off some part of the title. But nowadays it might get rewritten by AI automatically especially if your content is good.

        Long titles with good content are more likely to be rewritten by search engines. But if you stick to the following limit, your titles are less likely to be cut off in search engine results, ensuring the entire message is visible.

        For search-friendly post titles use:

        • Word Count: Aim for 6-12 words which is long enough to include keywords while remaining concise.
        • Character Limit: Use 50-60 characters as this length ensures the title fits within Google’s search results without getting cut off.

        Keeping titles within these ranges can help improve click-through rates while including the main keywords for better search ranking. It’s important to make the title descriptive and engaging while focusing on primary keywords. Short post titles have several more advantages for search visibility and user engagement:

        1. Short Titles are Easier to Read: Shorter titles are more straightforward and can be quickly understood by users, increasing the chances of grabbing attention.
        2. Short Titles Display Better on Search Results: They are less likely to be cut off in search engine results, ensuring the entire message is visible.
        3. Short Titles may have Higher Click-Through Rate (CTR): Concise titles can be more appealing, encouraging users to click.
        4. Short Titles promote better Mobile Optimization: They fit better on smaller screens, enhancing the user experience on mobile devices.
        5. Short Titles Focus on Main Keywords: Shorter titles emphasize the core topic, making it easier for search engines to identify the page’s relevance.

        How To Limit Post-Title Length? There are multiple plugins such as ‘Limit Post Titles’ that let you easily set a limit over post title length in WordPress.

        Alternatively, if you use an SEO plugin such as All in One SEO or WordPress SEO, these already show you the extra characters you have in your title so that you can change them or use an alternative title for search engines that only displays on search engine results pages.

        How To Control Post Visibility In WordPress By User Roles, Login Status, Memberships & Password Protection?

        WordPress site owners can easily acquire complete control over the visibility of posts. They can set which group of people can see what specific content on their website. This lesson guides you on making certain posts, pages, and other custom post types visible only to specific users such as logged-in users, users by their roles, and users with passwords to view the content.

        How To Control WordPress Posts Visibility?

        The edit screen of every post and page has a settings sidebar on the right, and there are two sections; Post and Block.

        In the post section, there is a ‘Summary’ meta box that offers a visibility option as ‘Status’ on the top.

        If you click the link next to ‘Status’ it shows you options to keep any post public make it private, or password protected.

        How To Make Any Post Private In WordPress?

        When you make any post private it becomes visible only to the site administrator and editors. Simply follow the steps:

        1. Create a new post or open any old post for editing
        2. On the right sidebar, click the ‘Post’ block
        3. Under the post section on top, click ‘Published’ or ‘Draft’ next to the ‘Publish’ option
        4. It will show you three options: Public i.e. default option, Private, and Password Protected
        5. Since you are making the post private select the ‘Private’ option
        6. Publish/Update the post and it will become private

        The option makes the post private i.e. hidden from the logged-out users and visible only to the site admins and editors. These posts are hidden from subscribers, readers, feeds, and searches.

        How To Show/Hide WordPress Posts Based On The User Roles?

        As you can see, private posts are only visible to site admins and editors but what if you want to make certain posts visible selectively to specific user roles such as subscribers, authors, contributors, etc? You can do that also with any of the following plugins:

        1. Advanced Access Manager – The plugin enables you to manage access to your website content for any user role, individual user, or visitor. It also allows you to configure the default access to all posts, pages, custom post types, categories, and custom taxonomies.
        2. Membership Plugin – Restrict Content – The plugin offers you complete control over who can and who cannot view any content on your WordPress site. 

        How To Password Protect Any WordPress Post?

        1. Create a new post or open any old post for editing
        2. On the right sidebar, click the ‘Post’ block
        3. Under the post section on the top right, click ‘Published’ or ‘Draft’ next to the ‘Status’ option
        4. It will show you three options: Public i.e. default option, Private, and Password Protected
        5. Since you are making the post password-protected select the ‘Password Protected’ option
        6. It will ask you to enter a password, enter the password you like to keep on post
        7. Publish/Update the post and it will become password-protected

        Now you can share the link and password with those whom you want to read the post. Only the post title will show up on the home page and other archive pages and it would look something like this: Password Protected: Title of the Post.

        It will also show this message in the post content area: “This content is password protected. To view it please enter your password below” and a field to enter the password of the post.

        Unlike private posts which are completely hidden from logged-out users, a password-protected post shows the title of the post in the way mentioned above.

        Now the question arises, is it possible to hide the title and password field of the password-protected post on home and other archive pages? Yes, you can do that also.

        How To Hide Password Protected Post Titles From Home & Other Archive Pages In WordPress?

        As we have discussed above, when you password-protect any post, the front end of the website shows the post title and a password field so that users with a password can view the post. Now if you want to hide this title and make it visible only to the users with a link and password then follow these steps:

        1. Navigate to Plugins -> Add New page to find and install WordPress Hide Posts, plugin
        2. Upon activation, visit Settings -> Hide Posts page to select where you want to use the plugin such as on posts, pages, or other content types
        3. Now open the password-protected post for editing
        4. Navigate to the ‘Hide Posts’ meta box on the right sidebar
        5. Tick where you want to hide the post such as on the home page, category pages, tags pages, search pages, and other archive pages, etc
        6. Update the post and now the protected title and password field will also be hidden on the front of your website. Only the users with a link would be able to enter the password.

        How To Hide Any WordPress Post From Home, Category & Other Archive Pages?

        The plugin mentioned above is not just for hiding password-protected posts but it allows you to hide any posts from the home page, category page, search page, tags page, authors page, RSS Feed, REST API, Post Navigation, and Native Recent Posts Widget, etc.

        Simply install and activate the WordPress Hide Posts plugin then follow these steps to hide any post:

        1. Visit Settings -> Hide Posts page to select where you want to use the plugin such as on posts, pages, or other content types
        2. Now open the post (you want to hide) for editing
        3. Navigate to the ‘Hide Posts’ meta box on the right sidebar
        4. Tick where you want to hide the post such as on the home page, category pages, tags pages, search pages, and other archive pages, etc
        5. Update the post and the post will get unlisted from the archive pages that you have selected

        So these were all important parts of controlling the visibility of posts and pages on your WordPress site.

        How To Show/Hide WordPress Menus With Conditional Statements?

        You can use each item of WordPress menus with your conditional statements. The plugin allows visibility features to all WordPress menus you manage from the dashboard’s appearance section. It allows you to display or hide menus based on conditional statements such as show/hide this menu if the page is a single page, if a user is logged in etc.

        To start, first install and activate the If Menu plugin then visit your area Dashboard -> Appearance -> Menus page and select a menu from the ‘Select a menu to edit‘ drop box. [Read: How To Create & Manage WordPress Menus?]

        Let’s say you want to add a ‘Login’ link in your navigation menu but you want to show it only to logged-out users (as it is of no use for logged-in users) then first add the custom login to your menu structure and tick ‘Enable Conditional Logic ‘ checkbox.

        As you tick this option it starts showing a show/hide dropdown box with if conditional logic options as shown in the given screenshot. Now select a show or hide option and then choose your visibility conditions.

        How To Use Conditional Statements With WordPress Menus?

        In the above example, we have selected the hide option with the conditional statement ‘if a user is logged in’ to make the login button automatically disappear for all logged-in users. Alternatively, in the above-given case, we can also use the ‘show’ option for all ‘logged out’ users.

        The plugin lets you set basic visibility rules such as the user is logged in, its user role, the page type (front page, archive page, search page single page or post), or the visitor device is mobile. It also offers a premium version with an advanced set of visibility rules such as the visitor’s location, visitor’s language, based on WooCommerce subscriptions or memberships, his WishList, and its subscription level.

        How To Create & Manage Menus In WordPress?

        In a website, menus are the set of content filter links typically placed horizontally at the top of a website to provide easy navigation. A Menu shows what you are offering on your website.

        For example: If you are running a blog on recipes then you can use navigation for offering various dish types like separate menus for dishes, soups, desserts, fast foods, detox meals, etc. In this lesson, we will guide you to the WordPress menu system covering all its important parts so that you can create new menus and add them to specific locations.

        Different themes provide you with different menu locations and by default most themes use the page links in navigation menu locations. The reason is generally users create a website with typical pages like About, Contact, and Home, and a blog page. Hence these pages are shown automatically in the menu bar.

        But WordPress allows you to create custom menus containing links to pages, categories, and other specific links. So if you don’t want to display pages in a menu location then create menus and assign them to display on a menu location that your theme provides.

        How To Create A WordPress Menu?

        Step-1: Creating A New Menu

        How To Create Menus In WordPress? 1

        To create your first WordPress menu, log in to your WordPress admin area (yourdomain.com/wp-admin) then navigate to Appearance -> Menus page, click the create a new menu‘ link, give your menu a name (this is not visible on the front) and click ‘Create Menu‘ link.

        Step 2: Adding Menu Items

        How To Create Menus In WordPress? 2

        After the menu is created, you can add menu items from the left column to the menu structure box. Example: For adding a custom link:

        1. Click ‘Links’ (on the left column)
        2. Type or paste the link
        3. Type link text
        4. Click the ‘Add to Menu‘ button.

        Step 3: Creating Multilevel Menus

        How To Create Menus In WordPress? 3

        After creating navigation links, you can drag-drop to reorder them. You can make navigation go deep by adding submenus. To add a submenu, simply drag and place a menu item a little bit right to its parent as shown in the given screenshot.

        Here are the steps to create sub-menus:

        1. Position your mouse over the ‘child’ menu item.
        2. While still holding your left mouse button, drag it to the right and release the mouse button.
        3. You can repeat these steps for each sub-menu item then click the Save Menu button visible in your Menu Editor.

        Step 4: Set The Menu Location

        How To Create Menus In WordPress?4

        After the menu structure is created, assign it to a theme location. Scroll down to the ‘Menu Settings‘ section and choose a theme location.

        [heading size=”17″]Step-5: See How It Looks[/heading]
        How To Create Menus In WordPress? 5

        Visit your website’s home and see what it looks like. Given screenshot shows the menu we have created in the top primary location of the Twenty Fourteen WordPress theme.

        How To Manage Multiple Menus?

        You can create several menus, and assign them to different locations. If you are using the default Twenty Fourteen then you can add a menu on the top of your website, and another menu in the left sidebar’s vertical menu location. WordPress also provides you a menu widget (in Appearance -> Widgets page) you can use for manually displaying any menu in your sidebar or footer widget area.

        How To Create Menus In WordPress? 6

        How To Create Menus In WordPress? 7

        To manage your menus, menu items, their structure, and location, visit the Appearance -> Menus page and select a menu to edit. Another tab with the title ‘Manage Locations‘ allows you to manage menu locations in bulk.

        How To Easily Add Keywords To Your Google Ads?

        Google Ads keywords are specific words or phrases that advertisers use in their campaigns to target relevant search inquiries. These keywords are used for triggering ads when people search for similar terms on Google or its other related platforms. An effective keyword selection ensures that ads are shown to people interested in the advertised products or services.

        There are different match types for keywords:

        • Broad match: Ads appear for related searches.
        • Phrase match: Ads appear for searches that include the keyword phrase.
        • Exact match: Ads appear only for precise searches of the keyword.

        Optimizing keyword choice can improve ad relevance, reduce costs, and increase click-through rates (CTR).

        Following are the steps for adding keywords to your advertisement campaign but before that read this article for creating Google Ads. You can add keywords while or after creating your advertisement.

        1. Open your Google Ads account.
        2. Click the ‘Campaigns’ icon.
        3. In the section, menu drop-down click the Audiences, keywords, and Content.
        4. Click the option ‘Search keywords’ and click the ‘+’ plus button.
        5. Search for your campaign by name or campaign ID in the “Select an ad group” window to select a campaign.
        6. Select the ad group where you want to add your keywords.
        7. You can add keywords by entering or pasting one per line.
        8. While selecting an ad group, you’ll see relevant keyword ideas. You can also enter a related website of your niche or a product similar to yours to see its keywords.
        9. Click the ‘+’ plus sign next to the keywords you want to add to your ad group.
        10. If necessary, you may modify match types after adding the keywords
        11. Click the ‘Save’ button.

        You can also add keywords to videos and other display campaigns:

        1. In your Google Ads account, click the ‘Campaigns’ icon.
        2. Click the Audiences, keywords, and Content as we have done above.
        3. Click Content and then click the Display/Video keywords tab.
        4. Click the ‘+’ plus button.
        5. Search for your campaign by name or campaign ID in the “Select an ad group” window to select a campaign.
        6. Select the ad group where you want to assign the keywords.
        7. Add the keywords one per line as we have done above.
        8. Select either the ‘Audience’ or the ‘Content’ for your keyword setting
        9. Click the ‘Save’ button.

        When you add good keywords to your Google Ads campaigns, several positive outcomes may occur:

        1. Improved Ad Relevance: Targeting appropriate keywords ensures your ads appear for searches relevant to your business.
        2. Higher Click-Through Rate (CTR): With well-chosen keywords, users are more likely to click on ads that match their intent.
        3. Better Quality Score: Google’s system rewards ad relevance, leading to lower costs per click and better ad positioning.
        4. Enhanced Conversion Rates: Reaching the right audience increases the chances of conversions.
        5. Reduce Ad Spend: Avoiding irrelevant clicks helps reduce ad spend.

        Good keywords directly align your ads with potential customer searches, boosting ad performance across multiple metrics.

        How To Fix PHP Memory Issue On Your Website Via cPanel?

        A PHP memory error occurs when a website’s script or application exceeds the maximum memory limit for PHP processes. Each PHP script on a website uses server memory to execute functions, load files, or process data. If the allocated memory limit is too low, the site may crash, leading to a “PHP memory exhausted” error.

        Increasing the PHP memory limit via cPanel helps resolve this error. But you can do this only if your hosting offers sufficient memory but a lower limit is assigned to the PHP.ini file.

        PHP memory error often occurs when:

        • A large script or complex function runs.
        • A low PHP memory limit is set on the server.
        • A website has too many active plugins or heavy themes.
        • Server settings have insufficient memory allocation by default.

        To fix a PHP memory error via cPanel, follow these steps:

        1. Login to cPanel – Use your credentials to access your cPanel dashboard.
        2. Locate the “MultiPHP INI Editor” – This tool allows you to modify PHP configuration.
        3. Select Your Domain – Choose the domain where the error occurs.
        4. Adjust PHP Memory Limit – Find the memory_limit setting and increase the value (e.g., 256M or 512M).
        5. Save Changes – Click “Apply” or “Save” to update the configuration.

        Now check if the error is resolved. Simply refresh your website to confirm the issue is fixed.

        For more complex cases, you might need to check other configuration files or plugins, you might need to deactivate the plugins or scripts that are using more than the allocated resources you have on your web hosting. If you cannot lower the resource usage and at the same time the memory limit set on your PHP.ini file is equal to the memory allocated on the hosting then you will need to switch to a high-grade hosting plan or server.

        How To Create And Manage SRV Records Using cPanel?

        An SRV (Service) record is a DNS record that defines the location of services on a domain, such as SIP (Session Initiation Protocol), XMPP (Extensible Messaging and Presence Protocol), or game servers. Unlike other DNS records like A records (which map domain names to IP addresses), SRV records help identify a service’s hostname, port, and priority on a domain, allowing different services to be hosted on separate servers.

        An SRV record has the following components:

        • Service: The name of the service (e.g., _sip for SIP or _xmpp for XMPP).
        • Protocol: Either TCP (Transmission Control Protocol) or UDP (User Datagram Protocol), which defines the protocol used by the service.
        • Priority: Similar to MX records, the priority dictates which server should be used first when multiple are available (lower numbers represent higher priority).
        • Weight: Specifies the relative weight for records with the same priority. It helps in load balancing, where a higher weight means more traffic should be directed to that server.
        • Port: The port number through which the service is accessible (e.g., 5060 for SIP).
        • Target: The hostname of the server providing the service (e.g., server.example.com).

        For instance, an SRV record might be used to define that a particular service (e.g., SIP) should be resolved to a specific hostname on a particular port, while also specifying which server should be tried first (via priority).

        Why You Might Use an SRV Record

        1. VoIP (Voice over IP): SRV records are frequently used to direct voice traffic for services like SIP to the correct server.
        2. XMPP/Jabber: To direct instant messaging traffic via XMPP servers.
        3. Load Balancing: Distribute network traffic across multiple servers with the same priority and weight.
        4. Game Servers: To resolve different game servers to different addresses or ports.

        How To Create An SRV Record On cPanel?

        If you’re hosting your website or services with cPanel, you can easily create an SRV record to help route traffic to specific services on your domain.

        Follow these steps to create an SRV record in cPanel:

        Step-1 Log into cPanel

        Access your cPanel control panel using your login credentials. Typically, the URL is yourdomain.com/cpanel.

        Step-2 Go to the Zone Editor

        Find and click on Zone Editor in the Domains section of the cPanel dashboard. This is where you manage DNS records for your domain.

        Step-3 Select the Domain

        Once you’re in the Zone Editor, you’ll see a list of your domains. Find the domain where you want to create the SRV record and click Manage.

        Step-4 Add SRV Record

        In the Manage section, click on + Add Record (usually near the top of the page). From the dropdown, select SRV Record.

        Step-5 Fill in the SRV Record Details:

        • Service: Enter the name of the service, starting with an underscore (e.g., _sip or _xmpp).
        • Protocol: Enter the protocol, also with an underscore (e.g., _tcp or _udp).
        • Priority: Choose a priority number (e.g., 1 for the highest priority).
        • Weight: If you want load balancing between multiple servers, set a weight (e.g., 5). If you’re not load balancing, you can set this to 0.
        • Port: Enter the port number on which the service is hosted (e.g., 5060 for SIP).
        • Target: Enter the hostname of the server (e.g., sip.example.com) where the service is running.

        Step-6 Set the Time-to-Live (TTL)

        TTL determines how long the SRV record is cached. The default value is usually fine, but you can set it lower (e.g., 300 seconds) if you want updates to propagate quickly.

        Step-7 Save the Record

        Once you’ve filled in all the necessary details, click Save or Add Record to finalize the creation of your SRV record.

        Step-8 Test Your SRV Record

        After adding the SRV record, it may take a few minutes to propagate. You can test it using tools like DNS lookup services or the command line (e.g., nslookup for Windows or dig Linux/Mac).

        Depending on the service you’re configuring (e.g., SIP server or XMPP), you may need to update the client or server settings to start using the new SRV record.

        Finally, ensure the SRV record works correctly by monitoring the service traffic to the specified target and port. Double-check the values (especially protocol, port, and target) if there are issues.

          This way, you can efficiently create an SRV record for your domain in cPanel, ensuring your services are properly routed and functioning smoothly.

          How To Hide Dashboard Menu Items From Subsite Admins In WordPress?

          Do you want to hide some specific admin menu items from subsite administrators on your WordPress multisite network? Superadmins can selectively hide side admin menus and their sub-menus from the admins of other websites on a multisite network or from other users on the website.

          How To Hide WordPress Menus & Top-Bar Items?

          For a basic single-site WordPress installation, you may use the Hide Admin Menu plugin. Simply install and activate it, after activation visit the ‘Hide Menu’ item on your dashboard.

          Here it offers you checkbox options to show or hide the side admin menu as well as the top-bar items.  You simply need to select your options and click the ‘Update’ button.

          Admin also can hide menu according to the role of users.

          How To Hide WordPress Menus Network Wide?

          Another plugin called User Role Editor works both for single and multisite WordPress installations. Simply install and network activate it. Upon activation, navigate to Settings -> User Role Editor on your network admin dashboard.

          Select the ‘Administrator’ role, remove the capabilities that you want to remove, tick the “Apply to All Sites” option (so that it applies to all the sites on the network), and save your new settings.

          Now check the backend of any of your subsites and you will notice that the selected menu is no more there. Similarly, you can hide other menu pages as well. 

          How To Check The Health & Security Issues On Your WordPress Site?

          WordPress provides you with a tool that is essential for maintaining your website’s health. On your dashboard, the Tools -> Site Health section provides an overview of your site’s performance and security status. It helps ensure that your site runs optimally by checking for issues like outdated software, missing security features, or misconfigurations.

          1. Status: Lists critical and recommended improvements.
          2. Info: Provides detailed server and site information such as PHP version, themes, and plugins.
          3. Debugging: Helps identify potential problems.
          4. Performance: Suggests ways to improve loading speed.
          5. Security: Highlights areas to enhance security such as HTTPS, file permissions, etc.

          The page shows information about your WordPress configuration and items that may need your attention. On the top it shows critical issues that may have a high impact on the performance or security of your site, resolving these issues should be prioritized.

          It also recommends some improvements, these are basically the tasks that are considered beneficial to your site, although not as important to prioritize as a critical issue, they may include improvements to things such as the performance and user experience of your website.

          How To Quickly Start A Website On Your Domain Name?

          Here are the simple steps to register a domain name, subscribe to cPanel hosting, install WordPress, and manage your site on Sangkrit.net:

          1. Register Domain: Visit Sangkrit.net, search for your desired domain name, and complete the purchase.
          2. Subscribe to cPanel Hosting: Subscribe to a cPanel hosting plan during domain registration when the system prompts you to add hosting.
          3. Access Your Hosting: Navigate to your account’s ‘My Products’ section and click ‘Setup’ next to your hosting to enter your domain name. Next, click ‘Manage’ to access your hosting’s cPanel.
          4. Install WordPress via Installatron: On cPanel, navigate to Installatron, select WordPress, and install it.
          5. Manage Website from WordPress Admin: After WordPress installation, click the admin URL to access the admin dashboard and manage your website content.

          You can access your WordPress dashboard by visiting yourdomain.com/wp-admin, and logging in with the credentials you created during installation. From the WordPress admin area, you can customize your site, install themes, add plugins, and create content.

          How To Easily Create Responsive Google Ads?

          As we have discussed in one of our lessons you need to keep basic images of aspect ratio (square, landscape, and logo images) in hand before you start creating a responsive Google Ad.

          Apart from images, you will need:

          1. At least one short headline of 30 characters or fewer. This works as the first line of your ad.
          2. A long headline of 90 characters or fewer characters.
          3. At least one description. It is shown with the headline and asks people to take action.
          4. A business name which is simply the name of your business.
          5. A final URL. This is the website or the webpage where people will go after clicking on your ad. Don’t use any shorted or redirected URL here or your advertisement will be rejected.

          Once you have the images, business name, headlines, description, and URL simply follow these steps and you will easily create a responsive Google Ad of your choice.

          1. Open your Google Ads account and click the Campaigns icon.
          2. From the section menu, select the Campaigns drop-down.
          3. Click on Ads.
          4. Click the plus button.
          5. Choose a Responsive display ad.
          6. Select the appropriate ad group.
          7. Click Images to upload your images and Logos for logo images.
          8. Fill in the ad details, including multiple headlines and descriptions for the responsive ad.
          9. Preview the ad and click Save.

          Once you do that, your ad goes for a review by Google before it gets published online.

          How To Auto Redirect Old Permalinks To New Ones In WordPress?

          Changing WordPress default permalinks to a “Post Name” structure is crucial for better SEO, user experience, and readability. Default URLs in WordPress are often unattractive and not informative (e.g., ?p=123). By switching to post name permalinks, the URLs become more meaningful and descriptive (e.g., example.com/sample-post), which helps search engines understand the content better, leading to improved rankings.

          Additionally, this format is more user-friendly, making it easier for visitors to remember and share, enhancing your site’s visibility and accessibility. But the problem occurs when you switch to a new permalink structure (Dashboard -> Settings -> Permalinks), your old links archived by search engines or shared on social media become a broken link to your website.

          In this lesson, you will learn about auto-redirecting old permalinks to new ones. You can simply change your default WordPress permalinks, switch to SEO-friendly post-name permalinks, and then automatically redirect old permalinks to new ones in one click with the help of a plugin.

          WP Permalink Redirect is a WordPress plugin that automatically process permalink redirection on your website. All you have to do is install-activate it and that’s all. The plugin has no configuration page, it immediately starts to work upon activation.

          Upon activation, the plugin also removes duplicated content issues and redirects your visitors to the new permalink using a 301 i.e. permanently redirect status code. You can even confirm its working with Google webmaster tools. It also takes good care of website pagination of taxonomies like categories and blog lists to allow them to work normally on your WordPress site.

          What Image Ratio & Dimensions Work For Google Ads?

          In this lesson, you will get the easiest information on image ratio and sizes so that you can create your first Responsive Google Ad without any hassles.

          To make a Google Ad you will need a minimum of three images:

          1. At least One Square Image of Ratio 1:1 – Maximum of 600 x 600 pixels and Minimum of 300 x 300 pixels
          2. At least One Rectangular (Landscape) Image of Ration 1.91:1 – Maximum of 1200 x 628 pixels and Minimum of 600 x 314 pixels
          3. At least One Logo Image of Ratio 1:1 – Maximum of 1200 x 1200 pixels and Minimum of 128 x 128 pixels or 4:1 – Maximum of 1200 x 300 pixels and Minimum of 512 x 128 pixels

          The maximum file size for all images for Google Ads is 5120 KB, and they should be in GIF, JPG, or PNG file types. If your images are heavy then you can minify them online using some free service like Adobe Image Resize, which lets you both resize i.e. scale the image or minify it.

          So first create some square, landscape, and logo images for your Google Ads, and then you will be able to create your first advertisement by following these steps:

          1. Open your Google Ads account and click the Campaigns icon.
          2. From the section menu, select the Campaigns drop-down.
          3. Click on Ads.
          4. Click the plus button.
          5. Choose a Responsive display ad.
          6. Select the appropriate ad group.
          7. Click Images to upload your images and Logos for logo images.
          8. Fill in the ad details, including multiple headlines and descriptions for the responsive ad.
          9. Preview the ad and click Save.

          Once you do that, your ad goes for the review.

          How To Remove The Tag Base From WordPress Permalinks?

          You can remove the base tag slug in the WordPress permalinks structure. Earlier this was done with the help of a plugin or PHP function but now you can do it from your admin area dashboard.

          By default the tag URL on WordPress looks something like this – yourdomain.com/tag/tag-name, now we have to remove the tag from the permalink so that URLs should look something like this yourdomain.com/tag-name/.

          These steps allow you to remove the tag prefix completely by modifying your site’s permanent link settings.

          1. Navigate to your WordPress dashboard
          2. Navigate to Settings -> Permalinks page
          3. Scroll to Custom Structure and put ‘/%tag%/%postname%/’.
          4. Go to Tag Base and type in a dot “. “
          5. Save your changes.

          The tag prefix is removed by typing the dot in the tag base field. It completely removes the mandatory tag base from the tag permalinks, so the tag name comes right after your domain name in the permalink structure.

          By default, this field is left blank which represents the default prefix.