Home › Forums › Winning Agent Pro Theme › Change "Community" URL
- This topic has 2 replies, 2 voices, and was last updated 9 years, 5 months ago by
Carrie Dils.
- AuthorPosts
- July 1, 2014 at 11:17 am #3244
randit
ParticipantHi: How would I change the community pages URL from website.com/community/community-name to website.com/real-estate/community-name?
Replace the word “community” with “real estate.”
Thanks.
- July 5, 2014 at 1:14 pm #3251
randit
ParticipantHoping someone can help me with this question soon…
- July 5, 2014 at 3:26 pm #3252
Carrie Dils
MemberHi there,
The slug ‘community’ is coming from the file where the Community custom post type is registered. To change it, look in /lib/post-types.php and on line 24, change the slug from ‘community’ to ‘real-estate’.From there you’ll need to visit Settings > Permalinks (no edits necessary, just visit the page) to flush your rewrite rules.
Keep in mind everything in your admin will still say “Community” as you’re not changing the custom post type labels or name (I really recommend not changing any of that as it’ll require additional changes throughout the widget files, etc).
As always, I recommend making changes like this on a test site and not your live website. That way, if anything goes wrong, you won’t mess up your live site.
Cheers,
Carrie
- AuthorPosts
- You must be logged in to reply to this topic.