mod_rewrite to change url to page NAME, not id
-
Okay, hopefully I am not asking the same question that has been has many times before. I looked it up and could only find the opposite of what I was trying to do.
I am using WP as a CMS for a business site. Instead of the permalink options available by default, I want the url to be the name of the page that I am on.
For example, instead of https://mysite.com/?page_id=3 I would like for it to say https://mysite.com/home or https://mysite.com/contact, etc. (where home and contact are the actual static page names)
What is the mod_rewrite rule for this?
Thanks –
Mike
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘mod_rewrite to change url to page NAME, not id’ is closed to new replies.