Although I hadn't changed anything in my .htaccess files for a while, I recently noticed in my Google Webmaster section that I was getting many errors in redirects. In checking my email error messages, I am getting hit with some weird URL requests. Mainly I'm getting errors that attempt to post to different subdirectories of an addon domain by bypass the directory of the addon domain and using the main domain. I'll try to explain it a bit simpler.

I have the domain and the addon domain On I have a subdirectory /sample with a file infoText.php, so the proper link to it would be . But I am getting errors which attempt to link to . I have given up trying to figure out why this is happening and am trying to figure a work around using my .htaccess file. I had tried the following in the .htaccess file:

Redirect /sample
but receive the following error message (it happens in Chromium also):

The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
This problem can sometimes be caused by disabling or refusing to accept cookies.
In this case it has nothing to do with cookies. And the corrected URL is displayed in the address bar: . I have also tried adding a trailing "/" to the /sample dir in the .htaccess file but get the same error message.

I am really getting tired of all these errors. Any one have any ideas of how to do these redirects to solve this problem? (It shouldn't make a difference but if the entire .htaccess files for both domains are needed, just let me know. I'm just trying to save some space. As I said, I hadn't changed anything before this started happening. The rewrite rule for the addon domain is below)

# Stop access to subdomain from main domain
RewriteCond %{HTTP_HOST} example\.org$
RewriteRule ^(.*)$ "http\:\/\/example2\.org\/" [R=301,L]