Title: Permalink change
Last modified: August 21, 2016

---

# Permalink change

 *  Resolved [czseo](https://wordpress.org/support/users/czseo/)
 * (@czseo)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/permalink-change-4/)
 * Hello,
 * Want to ask you if I could change the permalink type for properties? I dont need
   to show the [property_data] in every property ULR. So just want to turn it off
   and show just ID in property permalink.
 * Could I do that? Maybe you coul tell me in which file I could do this changes.
 * Thanks!
    Arkadiy
 * [https://wordpress.org/plugins/real-estate-listing-realtyna-wpl/](https://wordpress.org/plugins/real-estate-listing-realtyna-wpl/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Realtyna](https://wordpress.org/support/users/realtyna/)
 * (@realtyna)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/permalink-change-4/#post-5133222)
 * Hello,
 * You can do the changes on this path /wp-content/plugins/real-estate-listing-realtyna-
   wpl/libraries/property.php. Find the “get_property_link” function and remove 
   the proeprty data from URL.
 * Also you should edit this file: /wp-content/plugins/real-estate-listing-realtyna-
   wpl/libraries/services/sef.php and remove this line `if(trim($wpl_qs) != '') 
   self::check_property_link($proeprty_id);`
 * Regards,
    Realtyna support team
 *  Thread Starter [czseo](https://wordpress.org/support/users/czseo/)
 * (@czseo)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/permalink-change-4/#post-5133296)
 * Thank you for an answer.
 * Did it exaclty as you write in previous post, but as a result I have an empty
   URL on my property. Exactly in looks like [http://rentestate.cz/properties/–/](http://rentestate.cz/properties/–/)
   
   Seems like if I delete property data from URL, the plugin don have any other 
   information to create the URL.
 * As I understood, the property link should contain minimaly ID of property which
   cheates for every property automativaly. Controled the properties, ID is Ok. 
   Search by id works well. Dont have a property ID even if i Have file property.
   php in their default condition.
 * Thanks
    Arkadiy
 *  Plugin Author [Realtyna](https://wordpress.org/support/users/realtyna/)
 * (@realtyna)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/permalink-change-4/#post-5133307)
 * Hello,
 * It seems you removed $property_data or set it to empty string or NULL which is
   wrong. By property data I meant the data you want to remove from the $alias not
   $property_data.
    The first parameter in alias is property ID. so you should change
   the code in way to render this link [http://your_website.com/properties/329/](http://your_website.com/properties/329/)
   instead of [http://your_website.com/properties/329-bla-bla/](http://your_website.com/properties/329-bla-bla/)
   $property_id is exists there and you can use that variable for achieving your
   target.
 * Regards,

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Permalink change’ is closed to new replies.

 * ![](https://ps.w.org/real-estate-listing-realtyna-wpl/assets/icon-256x256.png?
   rev=2106080)
 * [Realtyna Organic IDX plugin + WPL Real Estate](https://wordpress.org/plugins/real-estate-listing-realtyna-wpl/)
 * [Support Threads](https://wordpress.org/support/plugin/real-estate-listing-realtyna-wpl/)
 * [Active Topics](https://wordpress.org/support/plugin/real-estate-listing-realtyna-wpl/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/real-estate-listing-realtyna-wpl/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/real-estate-listing-realtyna-wpl/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Realtyna](https://wordpress.org/support/users/realtyna/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/permalink-change-4/#post-5133307)
 * Status: resolved