I have wordoress site where I am getting /1 in the URL. I have checked siteurl,homeurl,permalinks but not sure why /1 is getting added in the URL
e.g https://example.com/consulting/strategic-marketing/1/wp-content/themes/cubemanagement/favicon.ico
The correct URL should be https://example.com/wp-content/themes/cubemanagement/favicon.ico
How can I setup redirection? I have tried below methods without success
RewriteRule ^(.+?)-\d+/?$ /$1 [L,R=302]
RewriteRule ^$/$/1/$ https://www. example.com/ [L,R=301]
RewriteRule ^(.*)/(.*)/1/$ https://www.example.com/ [L,R=301]