If it’s just a few pages, then you could set redirects explicitly for these pages in your .htaccess file (it’s located in your WP install root folder), just add following lines on top of the file (you will need to write a rule for every page you want to redirect):
Redirect 301 /this-is-the-page /default-category/this-is-the-post
Redirect 301 /this-is-another-page /default-category/this-is-another-post
as you see the pattern is really simple:
Redirect 301 /old-page-path /new-page-path
Related Posts:
- How to Check if a Page Exists by URL?
- Redirect before post page
- Changing my permalink structure – will new layout conflict with existing page?
- Plain permalinks not working!
- Switch to page template when using post permalink
- 301 (static page instead latest posts)
- How to handle broken links created by permalink/slug changes?
- Custom Permalink Structure for Pages & Posts
- WordPress 302 Redirect to Random Product/Post/Page
- Unabled to Change Permalinks – Even Using the “Edit” (Resets to Original Permalink on “Update”)
- Post/page title to permalink transformation – what is behind the scenes?
- When WP_Query only returns 1 post, how do I automatically redirect to that post?
- How to link post titles on page A to its posts on page B?
- Changing permalink of WordPress
- Creating a redirect option for current page url
- How Do I Redirect WordPress Pages but not posts?
- Please help a newbie with blog page issue?
- How to 301 redirect from url with post id to permalink with post name (slug)?
- Custom permalink for wordpress page / post
- Category URL to use same string as Post URL Permalink
- Permalink base only for posts
- How to give priority to page than to posts permalink structure?
- Precedence of page permalinks over woocommerce product category links?
- Posts in Page – How to customize the URL?
- One of my posts is displayed as page
- How to mix pages and sub-categories in a url
- 301 Redirecting posts without %postid% (just %post_name%) in permalink to ones with %post_name%_%postid%
- Blog posts are not appearing as subs of Blog Page
- Permalink issue with new blog posts > getting 301 redirect
- 2 dynamic sidebars registered, not showing up
- Multiple Loops Breaking Pages
- How do I Redirect a WordPress Page?
- “about us”, ” contact” sections should be article(post) or page in the simple small Business website?
- How to get ID of the page included with get_page()?
- Posts vs Pages and categories
- How to dynamically parse and transform post/page content before displaying it?
- How to make default “Privacy Policy Page” a normal page?
- disable Tab post on nav-menus page (Admin)
- Second get_permalink inside loop points to wrong URL
- Proper way of establishing custom landing pages in WordPress
- is_page Funtion for Posts ?
- is_page() and is_page_template() not being differentiated
- Admin – no Featured image choice in create new/page|post
- How to detect when admin user is on the All Posts page?
- static landing page leading to author specific pages w/ “live” content
- Total number of posts in query (category/tag/author/search results/main page…)
- Test site pages go to main site
- Getting a “404 Not Found” error when “Preview Changes” is clicked
- Why won’t pagination work?
- WordPress Query Posts From Category Post on Static Page
- How to create a “latest news” page showing a list of posts from blog category
- How do you search for a post or page with a certain url on the WordPress admin panel?
- How to add some html formated text to every new post in WordPress
- custom word in custom permalink structure
- Intercept page request and add value to it
- Redirect From Url To Url
- Output Post with ACF Fields into other Post
- How to create a page that shows the last 10 posts?
- $_GET parametters not working in an specific template
- New Posts and Pages Won’t Save
- My Custom Post Type Still Using index.php
- get_children returns older images
- register_post_type permalink
- Updating permalink structure using ‘post_link’ filter results in 404 error for posts
- Post is blank when I click on the link
- Posts and Pages: 404 Page not found
- Custom permalink for each post
- the_content() Not Grabbing All Content
- Display Featured Posts Grid on Static Page (Gazette)
- Detecting current page from class method
- Having pages after specifying post_type post
- List all posts, pages and custom post types in admin
- Make ‘blog’ page show content as well as posts underneath it
- I don’t want the complete article to show on homepage
- Change Author Name to Sitename on Frontend
- Would a “hub” page work better as a page or a post?
- Display on page every post in blog WITH comments
- Are post, page and category IDs unique to each other?
- Showing recent post of category in page
- HTML Inside of Shortcode Breaks Shortcode Output
- Post titles and thumbnails as links to custom post types?
- Internal linking to posts permalink fail because of spaces and stripe at postname
- Setting limit to posts or page creation
- How to setup different permlalinks for posts and pages?
- Link post images to post
- Create a frontpage.php and static page template
- Making posts permalinks consistent numbers
- Using Posts Like a Page
- Pagination for normal (standard) posts on a page with a custom loop?
- Changing wp_link_pages() to “Next Page” and “Previous Page” buttons?
- posts going to 2 pages/categories only show up in 1
- Have posts included on a page that share same category
- Preview page/post revisions without overwriting current content
- Link from Post to Another Post Via Clicking on Words within Original Post
- add_rewrite_rule and template redirect not working
- Can Permalink structure of %postname%/%post_id% improve performance
- Page of posts made to look like homepage
- post/page content
- Link to older links
- WordPress Architecture as a CMS – Posts & Pages