# Robots.txt file for Travel Mountain Website
# Generated for better SEO and search engine crawling

# Allow all search engines to crawl the site
User-agent: *
Allow: /

# Disallow access to WordPress admin and system files
Disallow: /wp-admin/
Disallow: /wp-includes/
Disallow: /wp-content/plugins/
Disallow: /wp-content/themes/
Disallow: /wp-content/cache/

# Allow crawling of CSS and JS files for better rendering
Allow: /wp-content/themes/*.css$
Allow: /wp-content/themes/*.js$
Allow: /wp-content/uploads/

# Disallow WordPress system files
Disallow: /xmlrpc.php
Disallow: /wp-login.php
Disallow: /wp-register.php
Disallow: /wp-config.php
Disallow: /readme.html
Disallow: /license.txt

# Disallow WordPress search results
Disallow: /?s=
Disallow: /search/

# Disallow WordPress feeds (optional - remove if you want feeds crawled)
Disallow: /feed/
Disallow: /*/feed/
Disallow: /comments/feed/

# Disallow WordPress trackback
Disallow: /trackback/
Disallow: /*/trackback/

# Disallow query parameters
Disallow: /*?
Disallow: /*&

# Sitemap location
Sitemap: http://localhost/travel-web-server/wp-sitemap.xml
Sitemap: http://localhost/travel-web-server/sitemap.xml

# Crawl delay (optional - uncomment if needed)
# Crawl-delay: 10
