Is there a way to remove category from listing URL?
Is there a way to remove category from listing URL?
Hello,
Go to ftp > includes > classes > reefless.class.php > public function url > case 'listing':
remove:
PHP Code:
Only registered members can view the code.
[QUOTE=Rudi;30335]Hello,
Go to ftp > includes > classes > reefless.class.php > public function url > case 'listing':
remove:
/QUOTE]PHP Code:
Only registered members can view the code.
Thanks Rudi, but then i get 404 error when try to open listing.
You should enable Full URL for your listing type
because there should be some identifier of the page like listing type or category
otherwise, it will require a customization to identify page by listing id only
Hello Bahram,
Add the following code for redirection into listing details controllers:
includes > controllers > listing_details.inc.php > // get "Login" parameter of "View Details" page
replace:
with:PHP Code:
Only registered members can view the code.
PHP Code:
Only registered members can view the code.
[QUOTE=Rudi;30415]Hello Bahram,
Add the following code for redirection into listing details controllers:
includes > controllers > listing_details.inc.php > // get "Login" parameter of "View Details" page
replace:
with:PHP Code:
Only registered members can view the code.
/QUOTE]PHP Code:
Only registered members can view the code.
Hello Rudi, It does not work. All previous indexed listings ( with short URL ) still shows 404.
You should click each of these urls and then refresh your seo statistics
[QUOTE=Rudi;30335]Hello,
Go to ftp > includes > classes > reefless.class.php > public function url > case 'listing':
remove:
/QUOTE]PHP Code:
Only registered members can view the code.
Hello Rudi,
I need do the same thing but there is not the code like
$url .= $categoryPath in public function url > case 'listing'
Version 4.8.1
May be it was in the previous versions?