Your address will show here +12 34 56 78

Home Forums WP RENTALS – Booking Accommodation WordPress Theme How to change Permalinks in Wp Rentals

This topic contains 1 reply, has 2 voices, and was last updated by  cromodder 1 year ago.

  • Author
    Posts
  • #123467

    Anna
    Keymaster

    To change estate_property in URL http://wprentals.org/properties/huge-sunny-villa-east-side/

    go to folder libs – property.php

    look for these lines (are at the beginning)

    'has_archive' => true,
    'rewrite' => array('slug' => 'properties'),

    Edit “properties” with your text. Save.

    Then go to Admin – Settings – Permalinks – Set Default – Save. Then set custom Save the current settings again.

  • #124332

    cromodder
    Participant

    Hi,
    Is it possible to include property taxonomy as the part of the permalink?
    e.g.:
    http://wprentals.org/villa/huge-sunny-villa-east-side/

    Tried replacing the slug with “%property_category%” but I guess I am missing some rewrite_rules?

You must be logged in to reply to this topic.