When we bought a new domain name, mcatoolkit.org, it was created by VH as an add-on domain to the original name of our hosting account, leaseown.org. I have now launched the site mcatoolkit.org, and rewritten leaseown.org's index page to open the new site's (no meta or htaccess rules).
Now I want to hand-code the .htaccess file at the top level of public_html to redirect specific pages internal to the leaseown.org site to other pages in mcatoolkit.org.
I was unsuccessful when I tried to redirect, say, /Home/About_Us.html to http://www.mcatoolkit.org/Home/About_Us.html. I would immediately get 500 Internal Server Errors when trying to access either the old site or the new site.
Then I tried one single file in .htaccess, which did not break, but also did not work...nothing was redirected UNTIL after VH upgraded my CPanel software. Now (a) the rule shows up in CPanel, and (b) the .htaccess file, which consists only of:
Redirect 301 /Resources/PMCA_Workshop.html http://www.mcatoolkit.org/Resources/...s_PMCA_08.html
works.
But every time I try to add another line to the .htaccess file, in the same format, I get the 500 error.
When I try to add the rule via CPanel, I get this error from the server:
"Apache detected an error in the Rewrite config.
Syntax error on line 3 of /home/vvisucax/public_html/.htaccess._K5LK2JL5JqyBgX78yWrTU5b_j8wyxCd:
Redirect takes two or three arguments, an optional status, then document to be redirected and destination URL
Please try again"
Of course, I have no idea what CPanel is doing and I would rather just write this .htaccess file and be done with it! I will have many lines in it. Please help. Thanks.
Domains: leaseown.org, mcatoolkit.org
Account ID: vvisucax
Now I want to hand-code the .htaccess file at the top level of public_html to redirect specific pages internal to the leaseown.org site to other pages in mcatoolkit.org.
I was unsuccessful when I tried to redirect, say, /Home/About_Us.html to http://www.mcatoolkit.org/Home/About_Us.html. I would immediately get 500 Internal Server Errors when trying to access either the old site or the new site.
Then I tried one single file in .htaccess, which did not break, but also did not work...nothing was redirected UNTIL after VH upgraded my CPanel software. Now (a) the rule shows up in CPanel, and (b) the .htaccess file, which consists only of:
Redirect 301 /Resources/PMCA_Workshop.html http://www.mcatoolkit.org/Resources/...s_PMCA_08.html
works.
But every time I try to add another line to the .htaccess file, in the same format, I get the 500 error.
When I try to add the rule via CPanel, I get this error from the server:
"Apache detected an error in the Rewrite config.
Syntax error on line 3 of /home/vvisucax/public_html/.htaccess._K5LK2JL5JqyBgX78yWrTU5b_j8wyxCd:
Redirect takes two or three arguments, an optional status, then document to be redirected and destination URL
Please try again"
Of course, I have no idea what CPanel is doing and I would rather just write this .htaccess file and be done with it! I will have many lines in it. Please help. Thanks.
Domains: leaseown.org, mcatoolkit.org
Account ID: vvisucax
Comment