SEO Configuration for abFinance
Documents a complete SEO setup for a finance app: meta tags, sitemap, robots.txt, PWA manifest, caching, security headers, and structured data.
What this file does
Documents a complete SEO setup for a finance app: meta tags, sitemap, robots.txt, PWA manifest, caching, security headers, and structured data.
When to use it
- Building a finance or data-heavy web app that needs strong search visibility
- Setting up SEO for a React app with dynamic pages and social sharing
- Adding PWA support with app shortcuts and manifest configuration
- Implementing security headers and caching strategy for a production site
Assumes this stack
SEO Configuration for abFinance
This document outlines the comprehensive SEO setup for the abFinance application.
π― SEO Features Implemented
1. Meta Tags & Open Graph
- Primary Meta Tags: Title, description, keywords, author, robots
- Open Graph Tags: Complete OG implementation for social media sharing
- Twitter Cards: Optimized for Twitter sharing with large image cards
- Structured Data: JSON-LD schema markup for search engines
2. Technical SEO
- Sitemap: XML sitemap with all important pages
- Robots.txt: Proper crawling instructions for search engines
- Canonical URLs: Prevents duplicate content issues
- Security Headers: XSS protection, content type options, frame options
3. Performance & Caching
- Cache Headers: Optimized caching for static assets
- Compression: Gzip compression for better loading times
- Image Optimization: Proper image formats and sizes
4. PWA SEO
- Web App Manifest: Enhanced manifest with shortcuts and categories
- App Icons: Multiple icon sizes for different devices
- Theme Colors: Consistent branding across platforms
π Files Created/Modified
Core SEO Files
src/shared/lib/seo.ts- SEO utility functions and configurationssrc/shared/components/seo/index.tsx- React SEO componentssrc/shared/lib/sitemap.ts- Sitemap generation utilities
Static Files
public/sitemap.xml- XML sitemap for search enginespublic/robots.txt- Robots.txt for crawler instructionspublic/favicon-data/site.webmanifest- Enhanced PWA manifest
Configuration Files
index.html- Comprehensive meta tags and structured datavercel.json- Server headers and redirectsvite.config.ts- PWA configuration updates
π§ Usage
Dynamic SEO in Components
import { SEO, DashboardSEO, IncomeSEO } from '@/shared/components/seo';
// Use specific page SEO
function DashboardPage() {
return (
<>
<DashboardSEO />
{/* Your page content */}
</>
);
}
// Use custom SEO
function CustomPage() {
return (
<>
<SEO
title="Custom Page Title"
description="Custom page description"
keywords={['custom', 'keywords']}
/>
{/* Your page content */}
</>
);
}
SEO Configuration
import { getPageSEOConfig, updatePageSEO } from '@/shared/lib/seo';
// Get SEO config for current page
const config = getPageSEOConfig('/dashboard');
// Update page SEO dynamically
updatePageSEO({
title: 'Custom Title',
description: 'Custom Description'
});
π SEO Metrics
Page-Specific Configurations
| Page | Title | Priority | Change Frequency |
|---|---|---|---|
| Home | abFinance - Modern Finance Management App | 1.0 | Daily |
| Dashboard | Dashboard - abFinance | 0.9 | Daily |
| Income | Income Tracking - abFinance | 0.8 | Weekly |
| Expenses | Expense Management - abFinance | 0.8 | Weekly |
| Goals | Financial Goals - abFinance | 0.8 | Weekly |
| Profile | Profile Settings - abFinance | 0.6 | Monthly |
| Login | Sign In - abFinance | 0.5 | Monthly |
| Register | Create Account - abFinance | 0.7 | Monthly |
Keywords Coverage
Primary Keywords:
- finance management
- personal finance
- expense tracking
- income tracking
- financial goals
- budget management
Long-tail Keywords:
- personal finance management app
- expense tracking application
- financial goal setting tool
- budget planning software
- money management dashboard
π Performance Optimizations
Caching Strategy
- Static Assets: 1 year cache with immutable flag
- Sitemap/Robots: 24 hour cache
- HTML: No cache for dynamic content
Security Headers
- X-Content-Type-Options: nosniff
- X-Frame-Options: DENY
- X-XSS-Protection: 1; mode=block
- Referrer-Policy: strict-origin-when-cross-origin
- Permissions-Policy: Restricted camera, microphone, geolocation
π± PWA Enhancements
App Shortcuts
- Dashboard - Quick access to financial overview
- Add Income - Fast income entry
- Add Expense - Quick expense logging
Manifest Features
- Categories: finance, productivity, utilities
- Screenshots: App preview images
- Theme Colors: Consistent #10B981 branding
- Orientation: Portrait-primary for mobile optimization
π Search Engine Optimization
Structured Data
- WebApplication schema for app discovery
- Organization schema for author information
- Offer schema indicating free app
- FeatureList highlighting key capabilities
Social Media Optimization
- Open Graph: Complete Facebook/LinkedIn sharing
- Twitter Cards: Large image cards for better engagement
- Image Optimization: 512x512px images for all platforms
π Monitoring & Analytics
Recommended Tools
- Google Search Console: Monitor search performance
- Google Analytics: Track user behavior
- PageSpeed Insights: Monitor Core Web Vitals
- Lighthouse: Regular SEO audits
Key Metrics to Track
- Core Web Vitals: LCP, FID, CLS
- Search Rankings: Target keyword positions
- Click-through Rates: From search results
- Social Shares: Open Graph engagement
π οΈ Maintenance
Regular Updates
- Sitemap: Update lastmod dates monthly
- Meta Descriptions: A/B test for better CTR
- Keywords: Monitor and update based on performance
- Structured Data: Validate with Google's tools
SEO Checklist
- All pages have unique titles and descriptions
- Images have alt text and proper sizing
- Internal linking structure is logical
- Mobile-first responsive design
- Fast loading times (< 3 seconds)
- HTTPS enabled
- No broken links
- Proper heading hierarchy (H1, H2, H3)
π― Future Enhancements
Planned Improvements
- Dynamic Sitemap: Auto-generate from routes
- Breadcrumbs: Structured navigation
- FAQ Schema: Common finance questions
- Review Schema: User testimonials
- Local SEO: If applicable for business features
Advanced Features
- AMP Pages: For faster mobile loading
- Service Worker: Enhanced caching strategies
- Critical CSS: Inline critical styles
- Image Lazy Loading: Performance optimization
This SEO configuration provides a solid foundation for search engine visibility and social media sharing, ensuring abFinance reaches its target audience effectively.
What's inside
14 sections covering meta tags, technical SEO, performance, PWA, usage examples, metrics table, keywords, and maintenance checklist.
Change this for your project
- Replace
abFinancein titles and descriptions with your app name - Replace
#10B981with your brand's primary color - Replace page-specific titles and priorities in the metrics table with your own pages
- Replace
@/shared/components/seoimport paths with your project's structure
Where it goes
Keep it in your repository where the agent or team that needs it will read it.
Worth borrowing
- Page-specific SEO config table with priority and change frequency for sitemap generation
- Structured data using JSON-LD for WebApplication, Organization, and Offer schemas
- Combined caching strategy and security headers in a single configuration file
Related Documents
ArbitragePro Configuration Guide: Complete Setup and Deployment
Guides you through installing, configuring, and deploying a multi-chain Rust arbitrage trading bot across EVM and Solana networks.
Mkan MVP Production Checklist
Lists over 200 tasks for launching a property rental MVP, organized by priority and timeline.
Analytics Pipeline
Documents an analytics pipeline using OpenSearch, OpenSearch Dashboards, and Nginx routing for a multi-tenant security platform.
VeeFore - Complete Project Documentation
Documents the full architecture, API, deployment, and configuration for a multi-platform social media management app with AI tools.