Remove trailing /feed from permalinks that use a .html suffix

You can achieve this by adding the code to .htaccess file of your apache server.

RewriteEngine On
RewriteCond %{REQUEST_URI} ^/([0-9]{4})/([0-9]{2})/([^/]+)\.html/feed/?$ [NC]
RewriteRule ^ /%1/%2/%3.html [R=301,L]

The given code will helps you in set up a redirect so that any request to a post URL with /feed appended will be redirected to the original post URL without the /feed suffix.

Using this way, the incorrect URLs won’t result in 404 errors.

techhipbettruvabetnorabahisbahis forumueduseduedusedueduedusedusedueduedus