1

Is there a way that I can change my .htaccess file to allow the user to go to a permalink with or without the hyphen? For example:

I have a page: http://example.com/parent/two-words

To get to that page, I'd like to be able to type in any of the following:

example.com/parent/two-words
example.com/parent/twowords
example.com/two-words
example.com/twowords

Is that possible?

Thanks!

-1

I ended up using the plugin "Safe Redirects Manager" to redirect any /twowords/ to /two-words/ as necessary.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.