Last updated: November 29, 2026

Keep the old permalink pattern if you can. The safest move is to rebuild the new WordPress site so imported posts use the same slug pattern, category base, and trailing-slash style as the old site. That cuts down on broken links, keeps post URLs stable, and reduces the number of redirects you need to plan later.

Key takeaways

  • Match the new site’s permalink settings to the old site before importing anything.
  • The post name structure is the cleanest option when the old URLs are simple and slug-based.
  • Category bases and trailing slashes matter as much as the post slug itself.
  • If the old blog used date URLs, move those patterns exactly or expect a heavier redirect job.
  • For the WordPress auto blog migration technical transfer, this URL is about URL shape, not content editing or link replacement.

The new site should use the same WordPress permalinks structure as the old site whenever possible. If the old auto blog used /sample-post/, set the new site to the post name structure so imported posts keep the same public path.

This is the first place people lose URL consistency. A content import can move the post title, body, and image fields in one go, but it will not protect the URL shape if the receiving site is using a different setting. WordPress builds the public URL from the permalink settings, slug, and any category or date tags in the pattern.

A quick comparison helps:

Old URL pattern Best match on the new site Why it matters
/post-name/ Post name structure Keeps slug matching simple
/2024/08/post-name/ Date-based structure Preserves year and month folders
/category/post-name/ Category in the structure Keeps category base and slug order aligned
Mixed custom pattern Custom structure Avoids partial matches and redirect drift
Comparison table of What permalink structure should the new site use?
Comparison table: What permalink structure should the new site use?

The post name structure is usually the best fit for an auto blog move only when the old site already uses short, slug-first URLs. It is a poor fit if the old site depends on dates, nested categories, or a custom rewrite pattern. In those cases, changing the structure on the new site creates work you do not need.

For a plain explanation of WordPress permalinks, the WordPress documentation on permalinks is the right starting point. The WordPress developer docs also cover rewrite rules, which are the engine behind custom URL patterns.

How do I match the old slugs exactly?

You match the old slugs exactly by copying the slug pattern, not just the title. The slug is the part of the URL WordPress uses for the post name, and even one changed character can turn a clean move into a redirect problem.

Use this core procedure before publishing the new site:

  1. Check the old post URLs and note the exact pattern, such as `sample-post`, `2024/08/sample-post`, or `category/sample-post`.
  2. Set the new site’s permalink settings to the same WordPress structure before importing content.
  3. Pick the same trailing-slash style, such as `/post-name/` rather than `/post-name`.
  4. Confirm the category base matches if the old site uses one, because a missing base changes the whole path.
  5. Import the posts and compare a few sample URLs against the old site.
  6. Save the permalink settings again in WordPress so rewrite rules are flushed and the new paths are registered.

That last step matters because WordPress stores rewrite rules behind the scenes. If you change the structure and do not refresh it, some URLs can still resolve the old way in the admin but fail on the front end. A simple save in the permalink settings screen is enough for many standard setups, while more custom installs may also need .htaccess checks.

The cost of skipping slug matching is easy to miss at first. The new site may still look fine in the dashboard, while old links from search results or social posts stop landing where they should. If the auto blog has hundreds of imported posts, that turns one settings mistake into a long cleanup.

What role do .htaccess and rewrite rules play?

.htaccess and rewrite rules decide how WordPress turns a URL into the right post. If the structure changes on the new site, the server and WordPress need matching rules so the browser can read the same path and reach the same content.

This matters most on Apache-based setups, where WordPress often writes rewrite directives into .htaccess. If the file is locked down or the server does not allow the update, the permalink structure can save in the dashboard but still fail outside it. That is why a permalink move is not only a WordPress admin task.

The practical rule is simple: if the new site uses the same structure, the rewrite layer should need very little adjustment. If the new site uses a different structure, rewrite rules must translate the old URL shape into the new one. That is where redirect planning begins, and it is also where many generic migration guides stop too soon.

Do not treat rewrite rules as a place to guess. WordPress.org’s developer reference for add_rewrite_rule() shows how custom patterns are registered, and that is the level of detail that matters if the auto blog uses a custom path beyond standard post names. A rough idea is not enough when the path includes dates, categories, or custom tags.

One concrete sign you have a rewrite problem is a 404 on a post that exists in the admin. That usually means the URL pattern and the rewrite rules no longer agree.

How do categories and bases affect the move?

Categories and category bases affect the move whenever the old blog puts category text in the URL. A path like /reviews/sample-post/ is not the same as /sample-post/, even if the post title never changed.

This is where many auto blog moves get messy. People copy the post content, keep the title, and assume the URL will follow. It will not if the old site used a category archive in the permalink structure or changed the default category base. The new site has to mirror that setting if you want the path to stay close to the source.

A good rule is to inspect three things together: the slug, the category base, and the permalink setting. Those three pieces form one URL, not three separate choices. If one of them changes, the final address changes too.

This is also the point where a plain post name structure can be safer than a category-based one. Category paths add one more layer that can drift during migration, especially if categories were renamed, merged, or imported in a different order. If the old blog depends on category text in the URL, keep it. If it does not, strip that complexity from the new site.

For readers learning the topic, the WordPress documentation on using permalinks is the most useful reference because it shows the built-in structure options without mixing in unrelated migration topics.

The post name structure usually creates the fewest redirect problems when the old auto blog already uses short, clean slugs. It is the simplest pattern for a move because it removes date folders and category bases from the URL, leaving only the slug.

Here is the trade-off:

Option Good for Risk
Post name structure Clean slug matching Breaks if old URLs used dates or categories
Date-based structure Matching legacy article archives Harder to manage if the publish date changes
Category-based structure Preserving taxonomy in the path Category renames cause URL drift
Custom structure Exact legacy replication More setup and more rule checks

The simplest structure is not always the correct one. If the old site used /2023/11/example-post/, switching to /example-post/ may look neater, but it changes every public URL. That means redirect planning becomes part of the job instead of a small cleanup. The same problem appears if the old site used a category base and the new one does not.

My judgment is direct: do not flatten the URL structure just because the new site gives you a clean setup screen. Keep the old pattern when the site already has live traffic, search indexes, or external links. Flatten it only when the source structure is already inconsistent and the redirect cost is acceptable.

What should I check before and after the import?

You should check the permalink settings, sample slugs, and rewrite behavior before the import, then compare live URLs after the import. That gives you a quick pass on whether the new site is structurally aligned before content volume hides a mistake.

A practical checklist:

  1. Compare 5 to 10 live URLs from the old site and write down the exact pattern.
  2. Match the new WordPress permalink structure to that pattern.
  3. Confirm the category base and trailing slash style.
  4. Save permalink settings once to refresh rewrite rules.
  5. Import a small batch of posts first, not the full set.
  6. Open the imported URLs and compare the full path character by character.
  7. Check that posts with dates or categories still use the expected folders.
  8. Only then move the full auto blog library.

A small batch import is the safest way to catch mismatch early. If the first 3 posts resolve correctly, you can be more confident the structure is right before moving dozens or hundreds more. If they do not, the problem is usually in the permalink pattern or the rewrite layer, not the post content itself.

This page belongs in the WordPress auto blog migration technical transfer cluster because URL shape is the part that decides whether the move feels clean or messy. It is not the place to solve every redirect or hardcoded link problem, but it is the place to get the base structure right before those jobs begin.

Can you keep the same url structure after a move?

Yes, you can keep the same URL structure after a move if the new WordPress site is set up to match the old one. The key is to copy the pattern exactly, including dates, category bases, and trailing slashes when they exist.

That works best with standard WordPress structures such as post name or date-based URLs. It becomes harder with custom rewrite rules, especially if the old site used plugins or special routing. If the source structure is unusual, the move may still be possible, but it needs closer checking of rewrite rules and .htaccess.

The permalink settings that reduce redirect needs are the ones that match the old site as closely as possible. For many auto blogs, that means the post name structure if the old URLs are already slug-only.

If the old site uses dates or categories in the path, keeping that same format reduces the need for path changes later. Changing the structure to a cleaner one may look simpler in the dashboard, but it creates more URL mismatch and more redirect work. The lower-risk choice is the one that preserves the original shape.

Permalinks affect imported posts by deciding the public address each post gets after import. The title and body can come across cleanly, but the visible URL depends on the structure stored in WordPress, not just the imported content.

If the slug pattern changes, imported posts can land at a different URL than the old site used. That is why permalink settings should be matched before importing. A clean import with the wrong structure still leaves you with broken external links and a mess of mismatched addresses.

Drafted with AI; not yet reviewed by a person.