Jump to content

Recommended Posts

Posted

in cpanel when a try to add a redirect it says: " Ocorreu um erro adicionando o redirecionamiento." it means " A error have occurred when try to add the redirect" in the details it says: "Apache detected an error in the Rewrite config.

httpd: Syntax error on line 16 of /home/acorestv/public_html/.htaccess.xuwhO_Sr99KTldJ09LhRRqANsgxGHhXw: RewriteCond> directive missing closing '>'

Please try again."

 

please help me.......

Posted

It worked fine at my cpanel and this is what it should look like:

 

RewriteEngine on
RewriteCond %{HTTP_HOST} ^siteactv.heliohost.org$ [OR]
RewriteCond %{HTTP_HOST} ^www.siteactv.heliohost.org$
RewriteRule ^index\.php$ "http\:\/\/www\.siteactv\.heliohost\.org\/manutencao\/index\.html" [R=301,L]

 

Try a simple redirect like:

 

siteactv.heliohost.org/index.php redirect to http://www.google.com

 

And if you still get an error I'll escalate this to the root admin.

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...