Fix undefined $author variable and add new service pages to htaccess whitelist

This commit is contained in:
Peter Foster
2026-03-02 10:55:58 +00:00
parent a22439091d
commit 999689071a
2 changed files with 3 additions and 1 deletions

View File

@@ -161,6 +161,8 @@ Options -Indexes
RewriteRule ^services/price-monitoring/?$ /services/price-monitoring.php [L] RewriteRule ^services/price-monitoring/?$ /services/price-monitoring.php [L]
RewriteRule ^services/property-data-extraction/?$ /services/property-data-extraction.php [L] RewriteRule ^services/property-data-extraction/?$ /services/property-data-extraction.php [L]
RewriteRule ^services/web-scraping/?$ /services/web-scraping.php [L] RewriteRule ^services/web-scraping/?$ /services/web-scraping.php [L]
RewriteRule ^services/csharp-development-services/?$ /services/csharp-development-services.php [L]
RewriteRule ^services/data-processing-services/?$ /services/data-processing-services.php [L]
# Redirect /services index to project-types # Redirect /services index to project-types
RewriteRule ^services/?$ /project-types [R=301,L] RewriteRule ^services/?$ /project-types [R=301,L]

View File

@@ -20,7 +20,7 @@ $modified_date = "2026-03-01";
<title><?php echo htmlspecialchars($page_title); ?></title> <title><?php echo htmlspecialchars($page_title); ?></title>
<meta name="description" content="<?php echo htmlspecialchars($page_description); ?>"> <meta name="description" content="<?php echo htmlspecialchars($page_description); ?>">
<meta name="keywords" content="<?php echo htmlspecialchars($keywords); ?>"> <meta name="keywords" content="<?php echo htmlspecialchars($keywords); ?>">
<meta name="author" content="<?php echo htmlspecialchars($author); ?>"> <meta name="author" content="<?php echo htmlspecialchars($article_author); ?>">
<meta name="robots" content="index, follow"> <meta name="robots" content="index, follow">
<link rel="canonical" href="<?php echo htmlspecialchars($canonical_url); ?>"> <link rel="canonical" href="<?php echo htmlspecialchars($canonical_url); ?>">