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
(@czseo)
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/–/
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
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/ instead of http://your_website.com/properties/329-bla-bla/
$property_id is exists there and you can use that variable for achieving your target.
Regards,