Automatic Canonical Link Tags in Symfony

 

<link rel=”canonical” href=”<?php echo url_for($sf_context->getRouting()->getCurrentInternalUri(true), true); ?>” />

 

More information about the new canonical link tags can be found http://ysearchblog.com/2009/02/12/fighting-duplication-adding-more-arrows-to-your-quiver/

Related posts:

  1. SSH KeepAlives
  2. Symfony – No package found for database “” in generated-schema.xml

Leave a Reply

Your email address will not be published. Required fields are marked *

*