I made a mistake in setting up my rss feed and added an invalid segment into the url and need to rewrite that segment out now so that all of the links pointing to those articles will work. Here is a sample url that needs to be rewritten:
I need to rewrite out the “entry/” or “/entry” either way.
Here is the valid working url:
http://www.trafficalmsystems.com/blog/traffic-calming-on-military-bases?utm_source=twitterfeed&utm_medium=facebook&utm_campaign=facebook
Here is the rewrite code I am using to rewrite the index.php in case you need that:
# Rewrite from Expression Engine BEGIN
RewriteCond %{QUERY_STRING} !^(ACT=.*)$ [NC]
RewriteCond $1 !\.(gif|jpe?g|png)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/?$1 [L]
# Rewrite from Expression Engine END
If any of you geniuses out there can help me it would certainly be appreciated! Thanks in advance.