Got myself a solution so I will keep it for those who face the same issue.
I added this line to .htaccess file
Redirect 301 /p/blog-page_21.html http://www.domainname.com/p-blog-page_21
Related Posts:
- Auto 301 to full post permalink? (using /posts/%post_id%/%postname%)
- Using WP rather than .htaccess to redirect pages/posts
- Custom permalink structure with %postname% in front of domain name
- How does WordPress handle permalinks?
- 301 Redirects for Changed Permalink Structure & Category Base
- URL rewrite based on a custom field value
- How do I turn off 301 redirecting posts (not canonical)?
- Passing variables through permalink structure
- How to map permalinks with accented letters to sanitized slugs?
- Remove subfolders from URL
- htaccess or redirect to cloak portion of a link?
- custom naming of search permalink /search/
- Random Alphanumeric Key URLs
- .htaccess – Redirect duplicated post ended in ‘-number/’ to the same url without the -number/
- WordPress redirection problem after moving to a new server?
- Specific URL Rewriting with parameters in wordpress
- Rewrite my default post URL
- Why does chrome keep downloading a file instead of running the site?
- Permalinks: Page Not Found
- If I change permalink structures, can I use htaccess to permanantly redirect links?
- Redirect parent taxonomy to it’s child
- Need Help Correct Regular Expression Redirect Code
- Custom Permalink
- How to redirect to correct pages after permalink structure change
- URL rewriting: removing the site’s basename for a specific category
- Redirecting all posts after changing URL structure with htaccess
- Redirect all posts permalinks from “.html” to “/”
- WordPress 4.4 old permalink redirect
- Htaccess https 301 problem
- How to rewrite a URL to another rewritten URL without changing the address?
- Passing the JQuery string to Worldpress URL
- How to use different domains for different blogs hosted in the same host in subdomains with .htaccess
- mod-rewrite exception? keep #hash in matching urls?
- What causes /pages/ to appear in URI, and how to remove it?
- Some Pemalink problems, probably caused by wrong .htaccess configuration?
- Test site pages go to main site
- Comment author url link is wrong? How to change from authors/ to author/
- Redirecting “wrong” but working links to their canonical URL in order to prevent search engine penalties (e.g. /123/ at the end of URLs)
- change WordPress permalinks and redirect new urls 301
- Configuring Home Page Address
- Problems with permalinks (.htaccess not working)
- corrupted URLs – can’t leave starting page
- remove SLASH on single_post but KEEP on categories and parent pages
- No Ones Been Able to Override my WordPress Rewrite Rule Issue!
- My permalinks for all pages and posts now include old page titles as parents/categories
- WordPress Category url redirects to subdomain
- How to rewrite a folder in WordPress?
- Can’t access WordPress site in subfolder possibly because of .htaccess redirect from root installation?
- All pages lead to home
- Folder Name and Category Name WordPress
- Once redirected by Rewrite rules, how can WordPress know the page?
- WordPress permalink still not working (error or not understood?)
- Removed and Reinstalled WordPress, Redirect Broken now
- redirect old pages by .htaccess
- My wordpress site must be being affected by outside sources [duplicate]
- Why are all pages redirecting to homepage when using custom permalinks?
- .htaccess regex for redirect subdomain to root domain & redirect old permalinks
- 404 posts error after 301 redirection of changed category / tag base
- 301 Redirect posts to newly added categories
- Pretty permalinks for search results with extra query var
- Move WordPress to subdirectory, keep ALL URLs
- Update URL Snippet to Canonical Permalink URL
- WordPress permalinks Yahoo hosting(no .htaccess allowed)
- Rewrite rule never matching
- Redirect user if it’s not logged in
- Custom url for a single page
- Rewrite-Rules not working on a vhost, everything goes to index.php
- Rewrite URL for results of a custom WP_Query
- Change of permalink structure – redirects in htaccess breaks the archive links
- Change permalinks with ACF values
- template_include not loading -instead goes to index.php
- I need a custom permalink for my website
- Permalinks not working
- Rewrite Preview URL to include index.php
- Force wordpress to display page with same url structure as categories
- How to remove wordpress directory slash
- Redirect /%year%/%monthnum%/%day%/%postname% [closed]
- 301 Redirect for Non-Date Based URL’s
- Do WordPress Permalinks Refer to a Lookup Table in the Database?
- Permalinks settings
- Permalink for specific page name
- WordPress not generating .htaccess but tells me that (Permalink structure updated.)
- Getting an ID from a URL, why can WP do this itself, but none of of the functions provided get it right?
- Ignore postname in permalink
- How can I set up a secondary permalink structure?
- How to Use metada Value in Url and is it possible? [duplicate]
- How do I rewrite attachment urls when permalink structure contains %category%?
- Safest way to create a custom permalink
- How to change URL from /%postname%/ to custom-name/%category%/%year%/%monthnum%/%day%/%postname%/
- WordPress Attachment Page URL Rewrite!
- why wordpress keeps redirecting to old page after deleting it?
- WordPress Multisite ABSPATH and get_home_path() to check for htaccess or web.config file
- Permalink structure /page/page/cpt-post gives 404 with pagination
- Rewrite posts url as they’re all children of a page
- Multiple Permalink Patterns for one page
- Pagination is not working, how to trace it properly?
- Problem when i configure permalink
- Files placed in directory with wordpress 404
- how to create several url aliases for a page
- Standard Htaccess directives disappear by themselves