Skip to content

Menu
  • Home
  • Resources
  • Affiliate Marketing
    • Marketing Strategies
    • Building Curiosity to Drive Sales
    • Steps to being Successful in Anything…
  • My Chats With Alex (ChatGPT)
  • How do I create a website?
  • Privacy Policy
  • The Bloggy Bits
  • Checkout My YouTube Channels
  • The Stuff No One Told You Online
    • Starting off on the Right Foot.
    • Know Your Surroundings.
Menu

WordPress – Permalinks

Posted on July 29, 2024July 29, 2024 by Tim Brownlaw

One of the very first things you need to look into when setting up your WordPress Site is how you want your Links to appear.

This is very important because once you start using your links to your Posts on External Sites, you cannot change the format of your permalink as you will effectively break those links which will result in a 404 Page Not Found Error and we definitely do not want that to happen.

So be very careful that you set your permalinks up from the very beginning.

Go to the Permalinks Settings Page

In your WordPress Admin Dashboard, we want to Select Settings (1) then Permalinks (2).

Select your URL Format

What’s with the /site/ bit

When you install your WordPress Site from your Cpanel ( which most hosting now provides ) one of the questions is “Where” do you want to install your site? As I kind of have plans in adding in some custom scripts, I opted for a folder name of “site”, maybe due to a lack of foresight but time will tell. Now most folks would use “blog” or something like that, but I went ahead and chose “site”. That is something I have to live with, for now…

So making a long story short, the domain name is effectively https://timbrownlaw.com/site and you might be wondering how you get there when you type in just https://timbrownlaw.com. Well the answer to that question is for another post, but I am simply using a PHP redirect. Which makes me wonder why WordPress doesn’t add in or modify the .htaccess file to perform this automatically… Hmm, something to think about, but for now it’s not relevant.

Pick A Link Style

So for all my blogs since I started using blogs when WordPress was still drying the virtual ink from its guide pages… I chose “%postname% which you had to put in manually back in the old days, but they have since made it smarter now. It has it’s very own selection – Post name.

I always use %postname%

What if I am using something else, can I change it?

And now we get to the meat and potatoes of this post. I noticed a colleague of mine was using the Day and name format.

And so I asked… Had she been using these links, externally. And she replied “Yes”. The discussion then continued and she asked if she could change the permalinks and have the shorter version?

Well unfortunately the answer is No!

But you can shorten them manually.

What I did discover is that you can take the link like https://timbrownlaw.com/site/2024/07/29/sample-post/ and shorten it by hand to https://timbrownlaw.com/site/sample-post.

So you can use this shortened link externally.

So how does this work?

That’s a good question. With WordPress, every post and page has to have a unique name.

That makes sense, as it needs to, so that even the %postname% version works.

But what happens, in the case you have set your permalinks to “Day and name”, is that WordPress “finds” the post by name and internally appends the missing Day and name bits.

The short version is…

With permalinks set to Day and name, clicking on an external link that might look like
https://timbrownlaw.com/site/sample-post will show up on the blog as…
https://timbrownlaw.com/site/2024/07/29/sample-post/

And everyone is happy.

And as a plug…

Giving credit, where credit is due. This post was sparked by my good friend Linden Thorp. I saw the links she was using and I immediately raised an eyebrow and said I’d look into this.
Now Linden’s site URL of https://flourishwriteconsult.com/2024/07/22/designrr-io-review-the-best-tool-for-ebook-creation/ can be simply(er)
https://flourishwriteconsult.com/designrr-io-review-the-best-tool-for-ebook-creation/

 

Tim Brownlaw
Tim Brownlaw

I am an avid Website developer and Affiliate Marketer.
I created my First Website back in 2001 using Frontpage (yes that old…) which quickly led me into Hand coding HTML and CSS.
So over time I got a bit handy with custom PHP scripts and MySQL Database Design and not forgetting javascript.
So, If you ever have any questions – except for “what are the winning lotto numbers” I will do my best to help when I can.

 

Recent Posts

  • So… You’ve Been Told to “Use Facebook”
  • Who is Your Target Audience?
  • I really need to just start writing on here.
  • And then along came Facebook
  • Overclocked, Not Overwhelmed:

Recent Comments

No comments to show.

©2026 | Built using WordPress and Responsive Blogily theme by Superb
Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
View preferences
{title} {title} {title}