47 lines
1.0 KiB
Batchfile
47 lines
1.0 KiB
Batchfile
@echo off
|
|
echo 🔍 Testing SEO Meta Data...
|
|
echo.
|
|
|
|
REM Start local server for testing
|
|
echo Starting local server...
|
|
start /B npm run server
|
|
|
|
REM Wait for server to start
|
|
timeout /t 5 /nobreak > nul
|
|
|
|
echo.
|
|
echo 🌐 Testing URLs:
|
|
echo.
|
|
|
|
REM Test each route
|
|
echo Testing Homepage...
|
|
curl -s -I http://localhost:3000/ | findstr "200 OK"
|
|
|
|
echo Testing Blog...
|
|
curl -s -I http://localhost:3000/blog | findstr "200 OK"
|
|
|
|
echo Testing Pricing...
|
|
curl -s -I http://localhost:3000/pricing | findstr "200 OK"
|
|
|
|
echo Testing Contact...
|
|
curl -s -I http://localhost:3000/contact-us | findstr "200 OK"
|
|
|
|
echo Testing Signin...
|
|
curl -s -I http://localhost:3000/signin | findstr "200 OK"
|
|
|
|
echo.
|
|
echo ✅ SEO test completed!
|
|
echo.
|
|
echo Open browser and check:
|
|
echo - http://localhost:3000/
|
|
echo - http://localhost:3000/blog
|
|
echo - http://localhost:3000/pricing
|
|
echo - http://localhost:3000/contact-us
|
|
echo - http://localhost:3000/signin
|
|
echo.
|
|
echo Right-click → View Source to verify meta tags
|
|
echo.
|
|
pause
|
|
|
|
REM Stop server
|
|
taskkill /f /im node.exe > nul 2>&1 |