I made modification of rules, now it is working fine.
#For post page URLs
RewriteRule ^(.*)-some-category-suffix(.*)-some-category-suffix(.*).jpg.html(.*)$ /category-url/$1$2$3.html [L,R=301]
#For post add-on page URLs
RewriteRule ^(.*)full-size/(.*)-some-category-suffix(.*)-some-category-suffix(.*).jpg-(.*)(.*).html$ /category-url/$1$2$3$4.html?-$5$6 [L,R=301]
#Category URLs
RewriteRule ^(.*)-some-category-suffix(.*)-some-category-suffix(.*)$ /category_url/$1$2$3 [L,R=301]
Related Posts:
- Custom rewrite rule
- How to add custom rewrite rule to .htaccess?
- add_rewrite_rule: $matches var not replaced by captured value
- How to change default page slug?
- SEO Friendly URLs for my plugin categories
- How do I add a add_rewrite_rule without it redirecting?
- Custom rewrite rules are sending everything to index.php
- WordPress keeps writing rewrite rules to .htaccess
- WordPress Rewrite
- Dynamic URL, not a physical page within the database
- Redirecting all old links from previous EE site to new WP site in one go?
- Server (WordPress) redirects files that are not supposed to (using htaccess)
- Rewrite WordPress Custom URL
- Alias ‘wp-content’ directory to something shorter (framework?)
- hard flush_rewrite_rules() not regenerating .htaccess
- Map alt domain to specific section of website w/o MU
- Rewrite rule to load images from production does nothing
- WordPress rewrite rules don’t need ^?
- add_rewrite_rule fro html to another url not working
- Double domain name in category URL-s
- Access files at new location using old file paths
- Url Rewriting a dynamic wordpress page
- My WP_options db rewrite_rules Does Not Work
- Disable Pagination on Pages
- Rewrite Preview URL to include index.php
- .htaccess rewrite
- How to remove wordpress directory slash
- Changed pagination URLS to use p= instead of paged=
- Wildcard forward all posts and pages with few exceptions
- Rewriting “pretty” blog category URL with htaccess / add_rewrite_rule() causes 404 page
- Redirecting /px/?q=x to /px/x/
- URL redirect on updating the post date
- WordPress keeps writing rewrite rules to .htaccess
- Customise particular RSS permalink
- RSS feed rewrite matching wrong rule
- Rewrite vs Redirect from ?p={ID}
- Is WordPress API visible from PHP file called in htaccess
- Redirect htaccess [closed]
- Rewrite specific action url
- 301 Rewriting htaccess
- 404 redirect based on url
- How do I make WordPress revise an .htaccess file a certain way?
- Rewrite rule that wp-login.php?action=register is left alone
- Redirect empty search to another page
- Remove part from dynamic url and redirect
- Pretty URL via Rewrite
- Fresh install redirects to www, breaking page loads
- Broken page redirect
- Redirect A URL Pattern In WordPress Using .htaccess
- Additional .htaccess rules based on wp page
- What is the proper way to use add_rewrite_rule to remove the (question mark)?
- Changes done to .htaccess are not getting reverted back
- Can’t get pretty permalinks to work without index.php
- Rewrite Page Parameters
- WP-Include rewrite directory
- Problem with add_rewrite_rule and pagination (paged and page query_vars)
- Why does wordpress still strip my query var?
- When to call `add_rewrite_rule` for safety
- Rewrite rules goes away
- Rewrite Rule for Post “Subpage”, with pagination
- unexpected problem in url rewrite
- Need to make a php file inside theme accessible via url
- Rewrite rule for admin-ajax.php
- WordPress removes spaces in URL on pagination
- add_rewrite_rule not working for language specific characters
- Add query string to url and display it as normal url part /folder/
- Is it possible to remove feeds from rewrites?
- Flush Rewrite Rules on init or rest_api_init?
- WordPress .htaccess – route other URLs to another app
- Rewrite URL – insert custom variables as a directory path
- How to properly rewrite url by custom var
- Can’t add external rewrites
- Monkey Man Rewrite Analyzer says my rule will trigger but it doesn’t [closed]
- Cannot access wp-admin without trailing slash – .htaccess configuration for WordPress behind a nginx proxy
- Help with Rewrite Rule for Custom Post Type with Query String
- Create Dynamic SEO Friendly URL for Virtual Page
- add_rewrite_rule with query variables
- Replace specific middle part of url
- Rewriting a subdomain page on one WordPress installation to a parent domain on another
- How to redirect large amount of URLs?
- Help with rewrite rules for two post types
- Rewrites rules disappear after a while
- Edit Permalink Structure For Custom Post Type or Modify .htaccess?
- Localize URL bases
- How to redirect Webp files?
- WordPress simple Url Rewrite
- Rewriting in wordpress url
- Proper way to set up rewrite with Wp
- Why is a rewrite rule in wordpress prevent pagination?
- Rewrite custom taxonomy slug – but only parent items
- corrupted URLs – can’t leave starting page
- WordPress is adding “category” word before my actual category name in url (and this is unsolicited)
- Rewrite WordPress Url from root to subfolder without moving files
- How do I rewrite URL that has custom parameter
- Rewrite rule for post as a child of a CPT
- URL Rewrite and Archive Template Files – Post Type vs. Taxonomy
- Cannot get 301 redirection in htaccess to work (either Redirect or Rewrite)
- Make URL like /fr/something display same as /something
- How to make a custom route with any-string-part/number-part pointing to an existing page?
- Add rewrite endpoint and .htaccess