Support » Plugins » Remove from URL with mod rewrite

  • how can I remove an element in the url.

    I have /directory/california

    and want to remove /directory so it’s just /california

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator James Huff

    (@macmanx)

    Halfelf Minion 🚀

    Why not rename /directory/ to /california/ and move WordPress to it?

    I’m sorry I didn’t explain well enough on this thread… Directory is a custom post type and these always display the post type in the url…

    So the url looks like this /directory/california

    And I need it to be /california…

    So i’m looking for a way to remove the post type from the url

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove from URL with mod rewrite’ is closed to new replies.