I had a custom post type with slug as (sometext) which I changed to (someothertext) And it works great
So for example :
my posts with urls like
gets redirected to
but not my archive page
basically I would like to redirect
http://localhost/sometext/ to http://localhost/someothertext/
in my .htaccess file I tried adding a string to make it work
RewriteRule ^/sometext$ ^/someothertext/$ [R=301,L]
but it fails.
I'm very poor with .htaccess rewrites. I'll really appreciate if someone helps me out with this.