# Landvex SEO Fixes - Actionable Commands ## K8: Canonical Fix (CRITICAL) ### CloudFront Function Approach (Recommended - fixes ALL pages at once) Create a CloudFront Function to rewrite canonical headers: ```javascript function handler(event) { var request = event.request; var response = event.response; // Replace www.landvex.com with landvex.com in response headers if (response.headers && response.headers['link']) { for (var i = 0; i < response.headers['link'].length; i++) { response.headers['link'][i].value = response.headers['link'][i].value.replace(/www\.landvex\.com/g, 'landvex.com'); } } return response; } ``` **Alternative: S3 Batch Fix Commands** If you have AWS CLI access to the S3 bucket: ```bash # Download all HTML files aws s3 sync s3://landvex-prod/ ./landvex-html/ --exclude "*" --include "*.html" # Replace all www.landvex.com with landvex.com find ./landvex-html/ -name "*.html" -exec sed -i 's/www\.landvex\.com/landvex.com/g' {} + # Upload back aws s3 sync ./landvex-html/ s3://landvex-prod/ --exclude "*" --include "*.html" ``` **Pages confirmed with wrong canonical:** - /methodology/ → https://www.landvex.com/methodology/ - /enterprise/ → https://www.landvex.com/enterprise/ - /about/ → https://www.landvex.com/about/ - /careers/ → https://www.landvex.com/careers/ - /contact/ → https://www.landvex.com/contact/ - /privacy/ → https://www.landvex.com/privacy/ - /terms/ → https://www.landvex.com/terms/ - /security/ → https://www.landvex.com/security/ - /trust/ → https://www.landvex.com/trust/ - /compliance/ → https://www.landvex.com/compliance/ - /cookie-policy/ → https://www.landvex.com/cookie-policy/ - /dpa/ → https://www.landvex.com/dpa/ - /data-lineage/ → https://www.landvex.com/data-lineage/ - /data-quality/ → https://www.landvex.com/data-quality/ - /subprocessors/ → https://www.landvex.com/subprocessors/ - /sla/ → https://www.landvex.com/sla/ - /reports/ → https://www.landvex.com/reports/ - /pilot/ → https://www.landvex.com/pilot/ - /blog/ → https://www.landvex.com/insights/ - /accessibility/ → https://www.landvex.com/accessibility/ - /verticals/* (all 6 verticals) - /intelligence/* (all 10 indexes) - /cities/* (all 11 cities) - /insights/* (all articles) --- ## K6: /comparison Fix ### Option A: 301 Redirect (Recommended) Add to CloudFront function or S3 redirect: ``` /comparison → 301 → / ``` S3 redirect metadata: ```bash aws s3api put-object \ --bucket landvex-prod \ --key comparison \ --website-redirect-location / \ --content-type text/html ``` ### Option B: Remove from Navigation Remove this from the nav dropdown on all pages: ```html
Five interlocked layers — from global field observation to verified intelligence.
``` To: ```htmlSix interlocked layers — from global field observation to verified intelligence.
``` Verify the 6 dimensions are consistently listed: 1. Opportunity 2. Growth 3. Commercial Vitality 4. Infrastructure Stability 5. Tourism Potential 6. Investment Confidence --- ## H16: Location → Investment Attractiveness ### File: / (homepage) Change: ```htmlContinuous intelligence delivery with quarterly reviews, expanded coverage, and integration into your decision workflows.