CoderFunda
  • Home
  • About us
    • Contact Us
    • Disclaimer
    • Privacy Policy
    • About us
  • Home
  • Php
  • HTML
  • CSS
  • JavaScript
    • JavaScript
    • Jquery
    • JqueryUI
    • Stock
  • SQL
  • Vue.Js
  • Python
  • Wordpress
  • C++
    • C++
    • C
  • Laravel
    • Laravel
      • Overview
      • Namespaces
      • Middleware
      • Routing
      • Configuration
      • Application Structure
      • Installation
    • Overview
  • DBMS
    • DBMS
      • PL/SQL
      • SQLite
      • MongoDB
      • Cassandra
      • MySQL
      • Oracle
      • CouchDB
      • Neo4j
      • DB2
      • Quiz
    • Overview
  • Entertainment
    • TV Series Update
    • Movie Review
    • Movie Review
  • More
    • Vue. Js
    • Php Question
    • Php Interview Question
    • Laravel Interview Question
    • SQL Interview Question
    • IAS Interview Question
    • PCS Interview Question
    • Technology
    • Other

28 March, 2022

WordPress Permalink

 Programing Coderfunda     March 28, 2022     Wordpress     No comments   

WordPress Permalink

It is the permanent URL for individual blog posts, categories and other lists on our WordPress site. Permalinks will help to link the article with another weblogger and send a link to our story in an e-mail message. The URL for each post or site must be permanent and can never be changed. Permalinks are also known as a pretty link. By default, WordPress URLs use the format of the query string which looks like as below:

  1. http://www.example.com/?p=N  

In this example, N is the Post ID number of the site. It works in all the server environments, but it doesn't look as good as other options.

However, we can modify the settings to change those query strings into human-readable strings by going to Settings >> Permalinks options page. For example:

  1. http://www.example.com/2020/4/22/post-name  


WordPress Permalink

Why are permalinks so important in WordPress?

It allows the world to recognize the different content pieces in a blog via the permalinks. There are some instances that help us to know why permalinks are so important in WordPress:

  1. If any blogger wants to connect with the post content, they point to one of the Permalinks.
  2. If we want to share the social media platform's content, we can share the permalink.
  3. If Google wants to index a piece of our content, the permalink will be used.

How to Set the Permalinks in WordPress?

It is easy to set the permalinks in WordPress. We can do it in two ways:

  1. We can set up a permalink structure just after launching a new WordPress site.
  2. For every piece of content, we can set the Permalinks individually.

Permalinks Structure Tag in WordPress

We can use these structure tags to customize the permalinks. The following structure tags are used in WordPress:

Year

It is the year of the post, for example, 2020

Monthnum

It is the Month of the year, for example, 07

Day

It is the day of the Month, for example, 15

Hour

It is the hour of the day, for example, 12

Minute

It is the minute of the hour, for example, 35

Seconds

It is the second of the minute, for example, 49

Post ID

It is the unique ID of the post, for example, 267

Post name

It is the title of the post that is used in the post or page panel.

Category

A sanitized version of the category name which is used in the category panel.

Author name

A detailed version of the author's name.

How to set the permalink structure in WordPress?

Setting up a simple permalink structure

To set the permalink structure, go to the wp-admin >> Settings >> Permalinks. Once we reached there, select the "post name" option.

WordPress Permalink

Adding Custom Permalinks

Permalinks are easy to set up using custom structures. These are permalinks, which end with the extension of .html or .php.

A user migrates to their website with the .html extension in the URL of the post and wants to keep everything almost the same.

Now, we will follow the same steps mentioned above. Here we will use the custom structure. The website will have the following code for the custom structure:

  1. /%postname%/  


WordPress Permalink

Input the code in the Custom Structure box if we don't see it, and click on the Save Changes button.

Once we are completing all these steps, we can open it by navigating to Settings and then Add Any Extension to pages. Next, we need to enter the .html or any other extension that we want to add and then click on the Update Setting button.

The custom permalink's final step is to go back to the Settings and permalink (Setting >> Permalink), and then click on the "Save Change" button without making any changes to the settings. It will reset the permalinks, and a needed step to make a new extension work with the WordPress site.

How to set the Permalinks for posts and pages?

Once we complete the Permalink structure setup, we may tweak the different posts and pages. It can be done via every individual page's and post's editing screen. When we edit the content, we can see this small area directly below the title field.

We can change the permalink by clicking the "Edit" button. A box appears, and we can place whatever we want.

WordPress Permalink

However, it is standard to use the full title or some simplified version of a given post.


  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Email ThisBlogThis!Share to XShare to Facebook
Newer Post Older Post Home

0 comments:

Post a Comment

Thanks

Meta

Popular Posts

  • Blade Component to Render Markdown in Laravel
      Laravel Markdown   is a highly configurable markdown renderer and Blade component for Laravel by the folks at   Spatie : The package featu...
  • There are two solutions for one board, using different chips. But one of their i2c address is the same. How to resolve conflict in one dts?
    Two chips A and B conflict with 0x62 on i2c bus 10. If A@62 and B@62 are configured on dts, Linux loads the driver of A. If B@62 is in front...
  • Real-Time Chat Package for Laravel
      Chatify   is a Laravel package by   Munaf Aqeel Mahdi   that adds a complete real-time chat system to your application without any additio...
  • Using Laravel Model Factories in your tests
    Laravel Model factories are one of the best features you can use in your application when it comes to testing. They provide a way to define ...
  • Detecting .NET8 with Inno Setup and InnoDependenciyInstaller
    I am looking at using InnoDependencyInstaller and it has a function that it uses under the hood: Dependency_AddDotNet80 procedure Depend...

Categories

  • Ajax (26)
  • Bootstrap (30)
  • DBMS (42)
  • HTML (12)
  • HTML5 (45)
  • JavaScript (10)
  • Jquery (34)
  • Jquery UI (2)
  • JqueryUI (32)
  • Laravel (1017)
  • Laravel Tutorials (23)
  • Laravel-Question (6)
  • Magento (9)
  • Magento 2 (95)
  • MariaDB (1)
  • MySql Tutorial (2)
  • PHP-Interview-Questions (3)
  • Php Question (13)
  • Python (36)
  • RDBMS (13)
  • SQL Tutorial (79)
  • Vue.js Tutorial (69)
  • Wordpress (150)
  • Wordpress Theme (3)
  • codeigniter (108)
  • oops (4)
  • php (853)

Social Media Links

  • Follow on Twitter
  • Like on Facebook
  • Subscribe on Youtube
  • Follow on Instagram

Pages

  • Home
  • Contact Us
  • Privacy Policy
  • About us

Blog Archive

  • July (4)
  • September (100)
  • August (50)
  • July (56)
  • June (46)
  • May (59)
  • April (50)
  • March (60)
  • February (42)
  • January (53)
  • December (58)
  • November (61)
  • October (39)
  • September (36)
  • August (36)
  • July (34)
  • June (34)
  • May (36)
  • April (29)
  • March (82)
  • February (1)
  • January (8)
  • December (14)
  • November (41)
  • October (13)
  • September (5)
  • August (48)
  • July (9)
  • June (6)
  • May (119)
  • April (259)
  • March (122)
  • February (368)
  • January (33)
  • October (2)
  • July (11)
  • June (29)
  • May (25)
  • April (168)
  • March (93)
  • February (60)
  • January (28)
  • December (195)
  • November (24)
  • October (40)
  • September (55)
  • August (6)
  • July (48)
  • May (2)
  • January (2)
  • July (6)
  • June (6)
  • February (17)
  • January (69)
  • December (122)
  • November (56)
  • October (92)
  • September (76)
  • August (6)

Loading...

Laravel News

Loading...

Copyright © CoderFunda | Powered by Blogger
Design by Coderfunda | Blogger Theme by Coderfunda | Distributed By Coderfunda