SEO/AEO, Farb schema, breadcrumbs

This commit is contained in:
2025-11-29 23:41:54 +01:00
parent 4fa24c8f3d
commit d2953fd0d9
87 changed files with 5672 additions and 579 deletions

View File

@@ -19,10 +19,11 @@ export class ListingCategoryGuard implements CanActivate {
return this.http.get<any>(url).pipe(
tap(response => {
const category = response.listingsCategory;
const slug = response.slug || id;
if (category === 'business') {
this.router.navigate(['details-business-listing', id]);
this.router.navigate(['business', slug]);
} else if (category === 'commercialProperty') {
this.router.navigate(['details-commercial-property-listing', id]);
this.router.navigate(['commercial-property', slug]);
} else {
this.router.navigate(['not-found']);
}