For self-managed websites, Optimization for SEO need to be considered for improving search engine rankings, I validated the current SEO rankings from multiple sites for this site, main fixes recommended by lots of SEO checkers are:
- HTML compressions for faster page loads
- Enable sitemap/robots.txt
- CSS Minification
- Social Media Check
- Key work Usage Test
Quantified score for this website before optimiation was 71/100
After performing HTML compression and enabling sitemap and robots.txt, the score improved to 84/100
This is good improvement, will work towards improving the score to 90/100.
Update 1: Cloudfront was not showing custom 404 error page, this is due to directly using S3 bucket as Origin for cloudfront, when changed this to use S3 public endpoint,it fixed the issue
Update 2: After implementing url cannonical implementation as discussed here, score has improved to 92/100 and goal accomplished.