I was wondering if someone could help please.

I want to create a redirect to a certain page of mine for an addon domain on my name namecheap hosting account. So I put this code into a htaccess file on my addon domain root directory:

ErrorDocument 400 /home/fakeusernamehere/public_html/badabingbaby.com/index.html
ErrorDocument 401 /home/fakeusernamehere/public_html/badabingbaby.com/index.html
ErrorDocument 403 /home/fakeusernamehere/public_html/badabingbaby.com/index.html
ErrorDocument 404 /home/fakeusernamehere/public_html/badabingbaby.com/index.html
ErrorDocument 405 /home/fakeusernamehere/public_html/badabingbaby.com/index.html
ErrorDocument 500 /home/fakeusernamehere/public_html/badabingbaby.com/index.html
However when I view the document it is on one line with no space between the "html" and "ErrorDocument" as follows:

ErrorDocument 400 /home/fakeusernamehere/public_html/badabingbaby.com/index.htmlErrorDocument 401 /home/fakeusernamehere/public_html/badabingbaby.com/index.htmlErrorDocument 403 /home/fakeusernamehere/public_html/badabingbaby.com/index.htmlErrorDocument 404 /home/fakeusernamehere/public_html/badabingbaby.com/index.htmlErrorDocument 405 /home/fakeusernamehere/public_html/badabingbaby.com/index.htmlErrorDocument 500 /home/fakeusernamehere/public_html/badabingbaby.com/index.html
The document redirects are not working. Could someone please help?

I am designing a new htaccess in my addon domain because this is what was recommended to me by namecheap support.

My main domains hosting htaccess code is:

DirectoryIndex index.php index.html parking-page.html

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress
I would really appreciate some help, I'll probably want to make some more specific changes to just my add-on domains in the future, so really need to nail this.