Skip to main content
Glama
debug-wordpress.sh•943 B
#!/bin/bash echo "🔍 WordPress Debug Information" echo "==============================" echo "1. Testing direct connection to WordPress..." echo "Response headers:" curl -I http://localhost:8081/ 2>/dev/null || echo "Connection failed" echo "" echo "2. Testing with redirect following..." echo "Response content (first 500 chars):" curl -s -L http://localhost:8081/ 2>/dev/null | head -c 500 || echo "Connection failed" echo "" echo "3. Testing WordPress admin install page..." echo "Install page content (first 500 chars):" curl -s -L http://localhost:8081/wp-admin/install.php 2>/dev/null | head -c 500 || echo "Connection failed" echo "" echo "4. Testing REST API endpoint..." echo "REST API response:" curl -s http://localhost:8081/wp-json/wp/v2/ 2>/dev/null | head -c 200 || echo "Connection failed" echo "" echo "5. Container status:" docker ps --filter "name=wordpress-test" --format "table {{.Names}}\t{{.Status}}\t{{.Ports}}"

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/docdyhr/mcp-wordpress'

If you have feedback or need assistance with the MCP directory API, please join our Discord server