Opens in a new tab
peterteszary.com

Why Does All My Links Lead to 404 Errors? – Correct Setup and Highest Danger of Permanent Links (URLs)

Imagine that your website is a well-established store where both customers and Google come with a map (links). If you move all the shelves overnight and rewrite the street signs without telling anyone, your customers will hit an empty wall. This is exactly what happens in the digital space when “Permanent Links” are changed on an already functioning website.

Permalinks (permanent links) determine what your website’s link system should look like. A wrong setting is not only ugly (e.g. teoldalad.hu/?p=123), but Google is also punishing the site for it. However, if you touch it on an already established page, you will immediately kill your SEO. Let's see how to handle this professionally!

Critical Danger: On the working side, never modify it.

If your website has been around for months or years and Google has indexed your content, NEVER change it the general setting of permanent links without the help of experts! If you change it, all the links on your website so far will change, and clicks from Google and Facebook will lead you to a “404 – Page Not Found” error page. With this, your SEO traffic will be virtually zeroed in one day.

Step by step: Checking the correct (SEO-friendly) URL structure

This setting should ideally be made on the very first day of the website’s launch, before the content is uploaded. If you're starting a new page now, here's how to set it up:

  1. Navigate to Settings.In the black admin bar on the left side of WordPress, move the mouse to the Settings (Settings), and then click Permanent references (Permalinks) submenu.[Screenshot location: The menu bar on the left, highlighted with a red frame in Settings / Persistent Links]
  2. Choose an SEO-friendly format.On the screen that appears, you will see several options. The default, old setting for WordPress is “Simple” (Plain), which looks like this: /?p=123. This is incomprehensible to Google. tick the Post name option! Thanks to this, your links will be talkative and include the title of your article or product (e.g. teoldalad.hu/rolunk or teoldalad.hu/teli-kabat). Search Engine Optimization (SEO) is the process of optimizing a website to rank higher in search engine results pages (SERPs).[Screenshot location: Persistent Links Setting Interface, highlighting the radio button “Post Name”]
  3. Save the settings!Scroll to the bottom of the page and click on the blue Save changes button.

💡 Pro Tip: Change the link to a single article (Edit "Slug")

What if you don't want to change the whole system, just the link to one new blog article before publishing it? (For example, the title of the article is too long and you don't want the link to be a kilometer too).

In the editor of the post (Gutenberg), in the right-hand sidebar, the Summary Under the (Summary) tab you will find a URL inscription. By clicking on it, you can rewrite the end of the link (the so-called slug) into something short and rich in keywords. (E.g. a-10-best-tip-for-spring-renewal instead of just spring-renewal tips).

You've already stopped it and you're getting a 404 error everywhere?

If you accidentally ran into this mistake and your previous links don’t work, there’s still a way back! In this case, so-called 301 redirects should be used, which tells Google and browsers that the page has moved to a new address.

Stop experimenting: immediately open an emergency ticket in the peterteszary.com ticket manager and based on the server log files, I will restore the correct structure and make the necessary redirects!

Last updated on 19.10.2026

Was this article helpful?

PREVIOUS

How do I add a new colleague to the website and what authority should I get?

NEXT

Why are robots trying to enter my site?

Newsletter and not SPAM! :)

Subscribe to my newsletter so you don't miss out on any important news and tips. If you do not like the content, of course, you can unsubscribe at any time. By subscribing, you agree to the Privacy Policy and the Privacy Policy!
[piotnetforms id=1140]