you can do this in the file 404.php, start the file with some kind of check if is page, if so redirect to that link,
if is not page redirect to category page with that slug else just let the 404.php page
this is in the file 404.php
Related Posts:
- How to check if I’m on the last page of posts?
- Get page content by category or tag
- Category page showing posts from all categories
- Loop with Dynamic Categories
- Create a full width responsive header image per page
- Remove child products from woocommerce category page [closed]
- Using same slug name for a page and category
- Remove “Category Archives: title” at the top of a category page [duplicate]
- How to have a static category/author page?
- Listing all posts from current category on page
- I use same slug name for category and page
- Page with the same name of a category
- Show posts of category in a page
- Show pages and articles in category search result
- How to create taxonomy values for pages and list them in wp-admin
- What type of page should i use? static page or category page? and what’s the difference? [closed]
- Duplicate Category and Page URL loads Category instead of the Page
- Add a specific category at a specific place to the menu that uses wp_list_pages
- Viewing category pages without the word ‘category’ in URL
- in_category() works in single.php but not in page.php?
- Categories vs. Page Site Organization
- Are Category or Tag Archive Pages Possible?
- How do I automatically put categories and their descriptions on a WP Page?
- editing fonts of category links from the_category() funtion
- Is it possible to restrict viewing of category PAGE to logged in users only?
- Hard coded main navigation
- How to make 2 tag feeds show up on 1 page?
- Search in custom post type AND in pages with category
- posts_nav_link(); picks up index.php instead of category.php as template
- Give a page priority over a category that has the same name?
- Multiple URL’s based on category for one post
- category permalinks
- How to “group” (categorize) the Pages together?
- Different banner for different section
- Custom category URL rewriting
- Putting a Category of posts under a Page
- How can you change the permalink for pages?
- Should I use “Categories ” or “Pages” for a WordPress Static Site (A non blog site)?
- Category.php loads first before page.php?
- How to insert category list into post creation page, and retrieve chosen categories?
- How do I display something on a particular category page?
- Automatically redirect a page to a category that share the same slug
- How to create a subcategory to a PAGE on WP?
- Get the ID of 10 Latest Pages stored in a WordPress Category
- How to show 5 posts from specific category on related page?
- How do I get category and page ID’s?
- How to put page numbers with the next/previous on a post/category list?
- How do I attach a page to a category similar to how we attach media to a post?
- How can I display tags as categories?
- Trying to create a Categorised Index (archive?) to use as my Home Page
- “Virtual category page” based on a custom field filter
- Group search results by category
- Getting the Most Recent Posts from Multiple Categories
- Showing Categories for Page Edit – without plugin
- Using categories with pages
- Add posts of a certain category to a page
- Page that links to category content
- custom query for both category and pages using global $wpdb;
- Category link redirect to custom template page instead of index.php?
- Posts of specific category on page and excluded from index.htm
- Custom Portfolio Page
- How to use category slug with a regular page
- display specific category when website loads
- remove url from categories
- Page category filter in admin dashboard
- How to prevent WordPress from redirecting single page to prefixed category archive with same name?
- Template category.php with page (no posts)
- Showing the category hierarchy as clicked in WordPress, with image and desc
- How can I make a category function as a page?
- displaying one category on one page
- Need help to structure our a complex hierarchy
- Adding a category view to a page
- Category For Pages In WordPress
- Getting page/category content to show up in my custom page template
- Paginations in Category Page Leads to Sample Pages
- Using categories and pages in menus
- Using wp_list_pages to create 2 lists of pages and include and exclude some of them depending on their category
- Pages with posts filtered by category
- Pages, Categories, and working with someone else’s code
- Twenty Eleven Theme [duplicate]
- Page redirecting to category (IE only)
- Return selected categories only in custom page meta box?
- Need help with category page customization meeting certain condition
- Show custom menu in category and its posts
- not empty categories don’t show in menu [closed]
- How can I show page per category in wordpress? (Yes, category by page!)
- How to display posts by author in a separate page, other than author.php?
- Deleting All tags except categories Wp database
- What is the advantage of using header-catname.php over is_category(‘catname’);?
- How do I get the category slug from wp_dropdown_categories
- Change the category of all posts in it
- How to hide some categories in category list under post in wordpress?
- How to categorize posts under Category 1 and Category 2 which are separate lists of categories, and display them as separate lists in widgets
- How to hide child categories from displaying
- How to allow Category Title to use tags?
- Panoramica Theme Portfolio
- How to filter post from categories only if the posts appears in one of them, not the other?
- Get permalink to latest post in category
- Group Posts by First Letter of Title categories
- Replace category titles inside RSS feed