To replace all underscores with hyphen in URI, use following rules in your . Htaccess file: Options +FollowSymlinks -MultiViews RewriteEngine on RewriteRule ^(^\_+)_(^\_+)(_. *)$ /$1-$2$3 N,DPI RewriteRule ^(^\_+)_(.*)$ /$1-$2 L,R=301,DPI This redirects a URL of: localhost/directsystems/education/index/... to localhost//directsystems/education/index....
To replace all underscores _ with hyphen - in URI, use following rules in your . Htaccess file: Options +FollowSymlinks -MultiViews RewriteEngine on RewriteRule ^(^\_+)_(^\_+)(_. *)$ /$1-$2$3 N,DPI RewriteRule ^(^\_+)_(.*)$ /$1-$2 L,R=301,DPI This redirects a URL of: localhost/directsystems/education/index/... to localhost//directsystems/education/index....
Looks like some kind of bug/frog emoticon. Lol – Wiseguy Apr 29 at 12:03.