Replace _ with - in almost every url (plus nice tag urls in movabletype)


/ Published in: Apache
Save to your folder(s)

list the exceptions where you don't want to replace in the rewrite rules before the one that matches the underscore, and finish them with [L], otherwise they'll get replaced too.

[N] means rerun the whole replacing stuff once the line matched... careful with that.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.