How to rewrite /oum-location/ in the URL to something else?.
-
We don’t want to have …/oum-location/…. directory to be shown in the URL for locations like …/oum-location/location-title but instead we want to change the words to …/locations/location-title so how can we change the words to our preference?
Would be nice if you could show us a custom function or code snippet we could add using a code snippet plugin.
Something like…
define( 'WP_OUM_LOCATIONS_FOLDERNAME', ‘new name’ );
Please forgive if this has already been addressed. (no pun intended).
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to rewrite /oum-location/ in the URL to something else?.’ is closed to new replies.