How do I adjust my URL and permalink structure?
- Log in to your website
- Go to “Settings” or “Settings.
- Click on ‘Permalink’
- Click on the Permalink structure you want
If you want a custom structure (Custom Structure), you need to consider certain codes. Below is a list of the codes you can use and what they stand for. You must always put the codes between two percentage characters and there must be a slash (/) between two different names of codes
If you want to show when your post was posted, you can use the codes below.
%year% The year in which the message was published (for example, 2018)
%monthnum% The month in which the message was published (if in February, this is “02”)
%day% The day of the month on which the message was published (e.g., “04”)
%hour% The hour in which the message was published (e.g., “17”)
%minute% or %second% The minute or second in which the message was published
You can also use many other codes that give information about your message.
%postname% The title of your post (e.g., “How do I change my URL and permalink structure?”)
%post_id% The ID of your message (e.g., “123”)
%category% The name of the category of your message
%author% The name of the author who wrote/posted the message