Forum Moderators: open
- www. v non-www
- .htm v .html
With the following .htaccess in place, Yahoo! Site Authentication fails;
#
Options FollowSymLinks
RewriteEngine On
#
# add 'www' to any URL which does not use it for a prefix
#
RewriteCond %{HTTP_HOST} ^example.tld [NC]
rewriterule ^(.*)$ http://www.example.tld/$1 [L,R=301]
#
# rename any URL with '.html' extension to '.htm'
#
RedirectMatch 301 (.*)\.html$ http://www.example.tld$1.htm
#
It appears that Yahoo's "Site Explorer" defaults to attempting the non-www URL, and is hitting a 301 and fails the site.
Any ideas?
Other sites I've setup for Yahoo authentication have been just http://domain-name.tld/ (no "www" in URL).
I did not think or realize all I had to do was add the 'www' to pass through the .htaccess unscathed, and viola' --- authenticated!
Signed,
Iam A. NiDiot