For example, is there an easy way to have the url for my "About" page be example.com/about, rather than example.com/?page_id=2 ? I know how to make apache rewrite rules, in httpd.conf, but I'm not sure how it would determine the corresponding page id, without making a rule for every single pageā¦
eugenealegiojo
Member
Posted 2 weeks ago #
mk12,
You can do this by changing your Settings->Permalinks, then select Custom Structure. Type %postname% in the text box and save changes. Done.
Hope it helps.
Wow that was so easy! I just copied the code into httpd.conf and it worked. I actually did the year/month one since that's what I want with posts, but with pages it just does /page. Thanks!