Skip to content

Commit

Permalink
Enable rel canonical (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
de-es authored Sep 22, 2024
1 parent 424c6f0 commit 5d5044f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion var/backups/backup__20240101000000.sql
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ INSERT INTO `tl_opt_in_related` (`id`, `pid`, `relTable`, `relId`) VALUES (2, 2,
DROP TABLE IF EXISTS `tl_page`;
CREATE TABLE `tl_page` (`id` INT UNSIGNED AUTO_INCREMENT NOT NULL, `pid` INT UNSIGNED DEFAULT 0 NOT NULL, `sorting` INT UNSIGNED DEFAULT 0 NOT NULL, `tstamp` INT UNSIGNED DEFAULT 0 NOT NULL, `title` VARCHAR(255) CHARACTER SET utf8mb4 DEFAULT '' NOT NULL COLLATE `utf8mb4_unicode_ci`, `type` VARCHAR(64) CHARACTER SET utf8mb4 DEFAULT 'regular' NOT NULL COLLATE `utf8mb4_unicode_ci`, `alias` VARCHAR(255) CHARACTER SET utf8mb4 DEFAULT '' NOT NULL COLLATE `utf8mb4_bin`, `requireItem` TINYINT(1) DEFAULT 0 NOT NULL, `routePriority` INT DEFAULT 0 NOT NULL, `pageTitle` VARCHAR(255) CHARACTER SET utf8mb4 DEFAULT '' NOT NULL COLLATE `utf8mb4_unicode_ci`, `language` VARCHAR(64) CHARACTER SET utf8mb4 DEFAULT '' NOT NULL COLLATE `utf8mb4_unicode_ci`, `robots` VARCHAR(32) CHARACTER SET utf8mb4 DEFAULT '' NOT NULL COLLATE `utf8mb4_unicode_ci`, `description` TEXT CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, `redirect` VARCHAR(32) CHARACTER SET utf8mb4 DEFAULT 'permanent' NOT NULL COLLATE `utf8mb4_unicode_ci`, `jumpTo` INT UNSIGNED DEFAULT 0 NOT NULL, `redirectBack` TINYINT(1) DEFAULT 0 NOT NULL, `url` VARCHAR(2048) CHARACTER SET utf8mb4 DEFAULT '' NOT NULL COLLATE `utf8mb4_unicode_ci`, `target` TINYINT(1) DEFAULT 0 NOT NULL, `dns` VARCHAR(255) CHARACTER SET utf8mb4 DEFAULT '' NOT NULL COLLATE `utf8mb4_unicode_ci`, `staticFiles` VARCHAR(255) CHARACTER SET utf8mb4 DEFAULT '' NOT NULL COLLATE `utf8mb4_unicode_ci`, `staticPlugins` VARCHAR(255) CHARACTER SET utf8mb4 DEFAULT '' NOT NULL COLLATE `utf8mb4_unicode_ci`, `fallback` TINYINT(1) DEFAULT 0 NOT NULL, `disableLanguageRedirect` TINYINT(1) DEFAULT 0 NOT NULL, `favicon` BINARY(16) DEFAULT NULL, `robotsTxt` TEXT CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, `maintenanceMode` TINYINT(1) DEFAULT 0 NOT NULL, `mailerTransport` VARCHAR(255) CHARACTER SET utf8mb4 DEFAULT '' NOT NULL COLLATE `utf8mb4_unicode_ci`, `enableCanonical` TINYINT(1) DEFAULT 0 NOT NULL, `canonicalLink` VARCHAR(2048) CHARACTER SET utf8mb4 DEFAULT '' NOT NULL COLLATE `utf8mb4_unicode_ci`, `canonicalKeepParams` VARCHAR(255) CHARACTER SET utf8mb4 DEFAULT '' NOT NULL COLLATE `utf8mb4_unicode_ci`, `adminEmail` VARCHAR(255) CHARACTER SET utf8mb4 DEFAULT '' NOT NULL COLLATE `utf8mb4_unicode_ci`, `dateFormat` VARCHAR(32) CHARACTER SET utf8mb4 DEFAULT '' NOT NULL COLLATE `utf8mb4_unicode_ci`, `timeFormat` VARCHAR(32) CHARACTER SET utf8mb4 DEFAULT '' NOT NULL COLLATE `utf8mb4_unicode_ci`, `datimFormat` VARCHAR(32) CHARACTER SET utf8mb4 DEFAULT '' NOT NULL COLLATE `utf8mb4_unicode_ci`, `validAliasCharacters` VARCHAR(255) CHARACTER SET utf8mb4 DEFAULT '' NOT NULL COLLATE `utf8mb4_unicode_ci`, `useFolderUrl` TINYINT(1) DEFAULT 0 NOT NULL, `urlPrefix` VARCHAR(128) CHARACTER SET utf8mb4 DEFAULT '' NOT NULL COLLATE `utf8mb4_bin`, `urlSuffix` VARCHAR(16) CHARACTER SET utf8mb4 DEFAULT '' NOT NULL COLLATE `utf8mb4_unicode_ci`, `useSSL` TINYINT(1) DEFAULT 1 NOT NULL, `autoforward` TINYINT(1) DEFAULT 0 NOT NULL, `protected` TINYINT(1) DEFAULT 0 NOT NULL, `groups` BLOB DEFAULT NULL, `includeLayout` TINYINT(1) DEFAULT 0 NOT NULL, `layout` INT UNSIGNED DEFAULT 0 NOT NULL, `subpageLayout` INT UNSIGNED DEFAULT 0 NOT NULL, `includeCache` TINYINT(1) DEFAULT 0 NOT NULL, `cache` INT UNSIGNED DEFAULT 0 NOT NULL, `alwaysLoadFromCache` TINYINT(1) DEFAULT 0 NOT NULL, `clientCache` INT UNSIGNED DEFAULT 0 NOT NULL, `includeChmod` TINYINT(1) DEFAULT 0 NOT NULL, `cuser` INT UNSIGNED DEFAULT 0 NOT NULL, `cgroup` INT UNSIGNED DEFAULT 0 NOT NULL, `chmod` VARCHAR(255) CHARACTER SET utf8mb4 DEFAULT '' NOT NULL COLLATE `utf8mb4_unicode_ci`, `noSearch` TINYINT(1) DEFAULT 0 NOT NULL, `cssClass` VARCHAR(64) CHARACTER SET utf8mb4 DEFAULT '' NOT NULL COLLATE `utf8mb4_unicode_ci`, `sitemap` VARCHAR(32) CHARACTER SET utf8mb4 DEFAULT '' NOT NULL COLLATE `utf8mb4_unicode_ci`, `hide` TINYINT(1) DEFAULT 0 NOT NULL, `accesskey` CHAR(1) CHARACTER SET utf8mb4 DEFAULT '' NOT NULL COLLATE `utf8mb4_unicode_ci`, `published` TINYINT(1) DEFAULT 0 NOT NULL, `start` VARCHAR(10) CHARACTER SET utf8mb4 DEFAULT '' NOT NULL COLLATE `utf8mb4_unicode_ci`, `stop` VARCHAR(10) CHARACTER SET utf8mb4 DEFAULT '' NOT NULL COLLATE `utf8mb4_unicode_ci`, `enforceTwoFactor` TINYINT(1) DEFAULT 0 NOT NULL, `twoFactorJumpTo` INT UNSIGNED DEFAULT 0 NOT NULL, `alwaysForward` TINYINT(1) DEFAULT 0 NOT NULL, `newsArchives` BLOB DEFAULT NULL, `feedFormat` VARCHAR(32) CHARACTER SET ascii DEFAULT 'rss' NOT NULL COLLATE `ascii_bin`, `feedSource` VARCHAR(32) CHARACTER SET ascii DEFAULT 'source_teaser' NOT NULL COLLATE `ascii_bin`, `maxFeedItems` SMALLINT UNSIGNED DEFAULT 25 NOT NULL, `feedFeatured` VARCHAR(16) CHARACTER SET ascii DEFAULT 'all_items' NOT NULL COLLATE `ascii_bin`, `feedDescription` TEXT CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, `imgSize` VARCHAR(255) CHARACTER SET utf8mb4 DEFAULT '' NOT NULL COLLATE `utf8mb4_unicode_ci`, `enableCsp` TINYINT(1) DEFAULT 0 NOT NULL, `csp` LONGTEXT CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, `cspReportOnly` TINYINT(1) DEFAULT 0 NOT NULL, `cspReportLog` TINYINT(1) DEFAULT 0 NOT NULL, INDEX `type_dns_fallback_published_start_stop` (`type`, `dns`, `fallback`, `published`, `start`, `stop`), INDEX `tstamp` (`tstamp`), INDEX `pid_published_type_start_stop` (`pid`, `published`, `type`, `start`, `stop`), INDEX `alias` (`alias`), PRIMARY KEY(`id`)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB COMMENT = '' ;
-- BEGIN DATA tl_page
INSERT INTO `tl_page` (`id`, `pid`, `sorting`, `tstamp`, `title`, `type`, `alias`, `requireItem`, `routePriority`, `pageTitle`, `language`, `robots`, `description`, `redirect`, `jumpTo`, `redirectBack`, `url`, `target`, `dns`, `staticFiles`, `staticPlugins`, `fallback`, `disableLanguageRedirect`, `favicon`, `robotsTxt`, `maintenanceMode`, `mailerTransport`, `enableCanonical`, `canonicalLink`, `canonicalKeepParams`, `adminEmail`, `dateFormat`, `timeFormat`, `datimFormat`, `validAliasCharacters`, `useFolderUrl`, `urlPrefix`, `urlSuffix`, `useSSL`, `autoforward`, `protected`, `groups`, `includeLayout`, `layout`, `subpageLayout`, `includeCache`, `cache`, `alwaysLoadFromCache`, `clientCache`, `includeChmod`, `cuser`, `cgroup`, `chmod`, `noSearch`, `cssClass`, `sitemap`, `hide`, `accesskey`, `published`, `start`, `stop`, `enforceTwoFactor`, `twoFactorJumpTo`, `alwaysForward`, `newsArchives`, `feedFormat`, `feedSource`, `maxFeedItems`, `feedFeatured`, `feedDescription`, `imgSize`, `enableCsp`, `csp`, `cspReportOnly`, `cspReportLog`) VALUES (1, 0, 128, 1709064001, 'Contao Official Demo', 'root', 'contao-offical-demo', 0, 0, '', 'en', '', '', '', 0, 0, '', 0, '', '', '', 1, 0, 0x59437eeb878311e7a1ce0250f2000001, NULL, 0, '', 0, '', '', '', '', '', '', '0-9a-z', 1, '', '.html', 0, 0, 0, '', 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 'a:8:{i:0;s:2:\"u1\";i:1;s:2:\"u2\";i:2;s:2:\"u3\";i:3;s:2:\"u4\";i:4;s:2:\"u5\";i:5;s:2:\"u6\";i:6;s:2:\"g1\";i:7;s:2:\"g4\";}', 1, '', '', 0, '', 1, '', '', 0, 0, 0, NULL, 'rss', 'source_teaser', 25, 'all_items', NULL, '', 0, NULL, 0, 0);
INSERT INTO `tl_page` (`id`, `pid`, `sorting`, `tstamp`, `title`, `type`, `alias`, `requireItem`, `routePriority`, `pageTitle`, `language`, `robots`, `description`, `redirect`, `jumpTo`, `redirectBack`, `url`, `target`, `dns`, `staticFiles`, `staticPlugins`, `fallback`, `disableLanguageRedirect`, `favicon`, `robotsTxt`, `maintenanceMode`, `mailerTransport`, `enableCanonical`, `canonicalLink`, `canonicalKeepParams`, `adminEmail`, `dateFormat`, `timeFormat`, `datimFormat`, `validAliasCharacters`, `useFolderUrl`, `urlPrefix`, `urlSuffix`, `useSSL`, `autoforward`, `protected`, `groups`, `includeLayout`, `layout`, `subpageLayout`, `includeCache`, `cache`, `alwaysLoadFromCache`, `clientCache`, `includeChmod`, `cuser`, `cgroup`, `chmod`, `noSearch`, `cssClass`, `sitemap`, `hide`, `accesskey`, `published`, `start`, `stop`, `enforceTwoFactor`, `twoFactorJumpTo`, `alwaysForward`, `newsArchives`, `feedFormat`, `feedSource`, `maxFeedItems`, `feedFeatured`, `feedDescription`, `imgSize`, `enableCsp`, `csp`, `cspReportOnly`, `cspReportLog`) VALUES (1, 0, 128, 1709064001, 'Contao Official Demo', 'root', 'contao-offical-demo', 0, 0, '', 'en', '', '', '', 0, 0, '', 0, '', '', '', 1, 0, 0x59437eeb878311e7a1ce0250f2000001, NULL, 0, '', 1, '', '', '', '', '', '', '0-9a-z', 1, '', '.html', 0, 0, 0, '', 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 'a:8:{i:0;s:2:\"u1\";i:1;s:2:\"u2\";i:2;s:2:\"u3\";i:3;s:2:\"u4\";i:4;s:2:\"u5\";i:5;s:2:\"u6\";i:6;s:2:\"g1\";i:7;s:2:\"g4\";}', 1, '', '', 0, '', 1, '', '', 0, 0, 0, NULL, 'rss', 'source_teaser', 25, 'all_items', NULL, '', 0, NULL, 0, 0);
INSERT INTO `tl_page` (`id`, `pid`, `sorting`, `tstamp`, `title`, `type`, `alias`, `requireItem`, `routePriority`, `pageTitle`, `language`, `robots`, `description`, `redirect`, `jumpTo`, `redirectBack`, `url`, `target`, `dns`, `staticFiles`, `staticPlugins`, `fallback`, `disableLanguageRedirect`, `favicon`, `robotsTxt`, `maintenanceMode`, `mailerTransport`, `enableCanonical`, `canonicalLink`, `canonicalKeepParams`, `adminEmail`, `dateFormat`, `timeFormat`, `datimFormat`, `validAliasCharacters`, `useFolderUrl`, `urlPrefix`, `urlSuffix`, `useSSL`, `autoforward`, `protected`, `groups`, `includeLayout`, `layout`, `subpageLayout`, `includeCache`, `cache`, `alwaysLoadFromCache`, `clientCache`, `includeChmod`, `cuser`, `cgroup`, `chmod`, `noSearch`, `cssClass`, `sitemap`, `hide`, `accesskey`, `published`, `start`, `stop`, `enforceTwoFactor`, `twoFactorJumpTo`, `alwaysForward`, `newsArchives`, `feedFormat`, `feedSource`, `maxFeedItems`, `feedFeatured`, `feedDescription`, `imgSize`, `enableCsp`, `csp`, `cspReportOnly`, `cspReportLog`) VALUES (2, 1, 256, 1676377523, 'Home', 'regular', 'index', 0, 0, 'Welcome to the official Contao Demo Site', 'en', 'index,follow', 'Welcome to the official Contao Demo Site', '', 0, 0, '', 0, '', '', '', 0, 0, NULL, NULL, 0, '', 0, '', '', '', '', '', '', '', 0, '', '.html', 0, 0, 0, '', 1, 20, 0, 0, 0, 0, 0, 0, 1, 0, 'a:8:{i:0;s:2:\"u1\";i:1;s:2:\"u2\";i:2;s:2:\"u3\";i:3;s:2:\"u4\";i:4;s:2:\"u5\";i:5;s:2:\"u6\";i:6;s:2:\"g1\";i:7;s:2:\"g4\";}', 0, '', 'map_default', 0, '1', 1, '', '', 0, 0, 0, NULL, 'rss', 'source_teaser', 25, 'all_items', NULL, '', 0, NULL, 0, 0);
INSERT INTO `tl_page` (`id`, `pid`, `sorting`, `tstamp`, `title`, `type`, `alias`, `requireItem`, `routePriority`, `pageTitle`, `language`, `robots`, `description`, `redirect`, `jumpTo`, `redirectBack`, `url`, `target`, `dns`, `staticFiles`, `staticPlugins`, `fallback`, `disableLanguageRedirect`, `favicon`, `robotsTxt`, `maintenanceMode`, `mailerTransport`, `enableCanonical`, `canonicalLink`, `canonicalKeepParams`, `adminEmail`, `dateFormat`, `timeFormat`, `datimFormat`, `validAliasCharacters`, `useFolderUrl`, `urlPrefix`, `urlSuffix`, `useSSL`, `autoforward`, `protected`, `groups`, `includeLayout`, `layout`, `subpageLayout`, `includeCache`, `cache`, `alwaysLoadFromCache`, `clientCache`, `includeChmod`, `cuser`, `cgroup`, `chmod`, `noSearch`, `cssClass`, `sitemap`, `hide`, `accesskey`, `published`, `start`, `stop`, `enforceTwoFactor`, `twoFactorJumpTo`, `alwaysForward`, `newsArchives`, `feedFormat`, `feedSource`, `maxFeedItems`, `feedFeatured`, `feedDescription`, `imgSize`, `enableCsp`, `csp`, `cspReportOnly`, `cspReportLog`) VALUES (8, 58, 128, 1680630380, 'News Detail', 'regular', 'news-detail', 0, 0, 'News and updates', 'en', 'index,follow', NULL, '', 0, 0, '', 0, '', '', '', 0, 0, NULL, NULL, 0, '', 0, '', '', '', '', '', '', '', 0, '', '.html', 0, 0, 0, '', 1, 24, 0, 0, 0, 0, 0, 0, 1, 0, 'a:8:{i:0;s:2:\"u1\";i:1;s:2:\"u2\";i:2;s:2:\"u3\";i:3;s:2:\"u4\";i:4;s:2:\"u5\";i:5;s:2:\"u6\";i:6;s:2:\"g1\";i:7;s:2:\"g4\";}', 0, '', 'map_default', 1, '', 1, '', '', 0, 0, 0, NULL, 'rss', 'source_teaser', 25, 'all_items', NULL, '', 0, NULL, 0, 0);
INSERT INTO `tl_page` (`id`, `pid`, `sorting`, `tstamp`, `title`, `type`, `alias`, `requireItem`, `routePriority`, `pageTitle`, `language`, `robots`, `description`, `redirect`, `jumpTo`, `redirectBack`, `url`, `target`, `dns`, `staticFiles`, `staticPlugins`, `fallback`, `disableLanguageRedirect`, `favicon`, `robotsTxt`, `maintenanceMode`, `mailerTransport`, `enableCanonical`, `canonicalLink`, `canonicalKeepParams`, `adminEmail`, `dateFormat`, `timeFormat`, `datimFormat`, `validAliasCharacters`, `useFolderUrl`, `urlPrefix`, `urlSuffix`, `useSSL`, `autoforward`, `protected`, `groups`, `includeLayout`, `layout`, `subpageLayout`, `includeCache`, `cache`, `alwaysLoadFromCache`, `clientCache`, `includeChmod`, `cuser`, `cgroup`, `chmod`, `noSearch`, `cssClass`, `sitemap`, `hide`, `accesskey`, `published`, `start`, `stop`, `enforceTwoFactor`, `twoFactorJumpTo`, `alwaysForward`, `newsArchives`, `feedFormat`, `feedSource`, `maxFeedItems`, `feedFeatured`, `feedDescription`, `imgSize`, `enableCsp`, `csp`, `cspReportOnly`, `cspReportLog`) VALUES (12, 43, 128, 1670781135, 'Your data has been saved', 'regular', 'your-data-has-been-saved', 0, 0, '', 'en', 'noindex,follow', '', '', 0, 0, '', 0, '', '', '', 0, 0, NULL, NULL, 0, '', 0, '', '', '', '', '', '', '', 0, '', '.html', 0, 0, 1, 'a:2:{i:0;s:1:\"2\";i:1;s:1:\"1\";}', 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 'a:8:{i:0;s:2:\"u1\";i:1;s:2:\"u2\";i:2;s:2:\"u3\";i:3;s:2:\"u4\";i:4;s:2:\"u5\";i:5;s:2:\"u6\";i:6;s:2:\"g1\";i:7;s:2:\"g4\";}', 1, '', '', 1, '', 1, '', '', 0, 0, 0, NULL, 'rss', 'source_teaser', 25, 'all_items', NULL, '', 0, NULL, 0, 0);
Expand Down

0 comments on commit 5d5044f

Please sign in to comment.