Quote from: twz at Sep 25, 2010, 07:46 PM
The page loads ok in a browser, so maybe there’s something in your .htaccess to stop web bots (like the validation service)?
To get it validated, view the page source, then copy and paste it into http://validator.w3.org/ ("by direct input"). Remove the <base href.. > line before checking. The only errors are using & which should be &
I’ve tried to removed <base href.. >, but still get the same result. The point is that this will also prevent the robot to claw the web as well.
This is my .htaccess
# For full documentation and other suggested options, please see
#
http://svn.modxcms.com/docs/display/MODx096/Friendly+URL+Solutions
# including for unexpected logouts in multi-server/cloud environments
# and especially for the first three commented out rules
#php_flag register_globals Off
#AddDefaultCharset utf-8
#php_value date.timezone Europe/Moscow
Options +FollowSymlinks
RewriteEngine On
RewriteBase /
# Fix Apache internal dummy connections from breaking [(site_url)] cache
RewriteCond %{HTTP_USER_AGENT} ^.*internal\ dummy\ connection.*$ [NC]
RewriteRule .* - [F,L]
# Rewrite domain.com -> www.domain.com -- used with SEO Strict URLs plugin
#RewriteCond %{HTTP_HOST} .
#RewriteCond %{HTTP_HOST} !^www\.myokosushibar\.com.au [NC]
#RewriteRule (.*)
http://www.myokosushibar.com.au/$1 [R=301,L]
# Exclude /assets and /manager directories and images from rewrite rules
RewriteRule ^(manager|assets)/*$ - [L]
RewriteRule \.(jpg|jpeg|png|gif|ico)$ - [L]
# For Friendly URLs
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
I’ve used this format with many websites, and there is no problem at all.