Project

General

Profile

« Previous | Next » 

Revision 61303

[Library | Trunk]
SEO changes
- set meta description & titles with filters no matter the level of the filter. not canonicalize to the default page
- The selected filter are H1
- update list with spam words

View differences:

newSearchPage.component.ts
238 238
        }
239 239
      }
240 240
    }
241
    let nonCanonicalizedPage = (filterArray.length > 0 && filterArray.length<3);
241
    let nonCanonicalizedPage = filterArray.length > 0;
242 242
      this.metaDescription= (nonCanonicalizedPage?( (this.basicMetaDescription[0] + " filtered by: " + filterArray.join(" and ") + ". ") + (this.basicMetaDescription.length > 1 ?this.basicMetaDescription[1]:""))
243 243
      :((this.basicMetaDescription.length > 2 ?this.basicMetaDescription[1] + this.basicMetaDescription[2]:this.basicMetaDescription[0])));
244 244
    this._meta.updateTag({content: this.metaDescription}, "name='description'");

Also available in: Unified diff