Jump to content

[Answered] How much time does Redirect to take affect?


Recommended Posts

Posted

how much time does it take for redirect to take affect?

If you configured properly without any mistakes, then this action will mostly take up to 5 or 10 minutes to be effective.

Posted (edited)

Will the URL will also show redirected domain link? I have a heliohost link ( subdomain.domain.heliohost.us ), but trying to redirect it to my new domain (subdomain.newdomain.com).  both points to the same folder though.  I setup about 2 hours ago, but when I got to my heliohost link, it is staying there only and not moving to my new domain without heliohost. see attached for my redirect setup. 

post-200883-0-88120900-1612468843_thumb.png

Edited by capcom
Posted

That picture seems right to me.

Try following these steps to see if this helps you


Create / modify .htaccess as follows:
 

<IfModule mod_rewrite.c>
RewriteEngine on
Options FollowSymLinks
RewriteCond %{HTTP_HOST} ^apps.domain.com
RewriteRule ^(.*)$ redirectToGoogle.html [L]
</IfModule>


Make sure that you changed apps.domain.com to your own subdomain and also change the redirectToGoogle HTML to your own.

Create another HTML file and name what you just put it in above and forward to the desired site by replacing from http://yoursite.com to your custom domain.
 

<html>
<head>
<META http-equiv="refresh" content="0;URL=http://yoursitehere.com">
</head>
</html>


Please let us know if is still not working and I will escalate this to our root admin for assistance!

Posted

Thanks. After few tries I decided to add redirect on my site, but found this better option.  

 

This link help me fix the issue.

https://serversitters.com/cpanel-redirects-not-redirecting.html#:~:text=To%20fix%20this%2C%20after%20you,should%20work%20without%20any%20issues.

 

If you have setup a redirect using the Redirects icon in cPanel, it may not always work.  The reason for this is that the redirect icon will create the rule for the redirect in the .htaccess, but it will place this new rule at the bottom of the file.  So if you have any other redirects happening ahead of the new rule that conflict with the new rule, then the new redirect just won’t work.

To fix this, after you have created the redirect, you need to find it in your .htaccess.  Move the lines to the top of the .htaccess file, then re-save it, and now the redirect should work without any issues.

Posted (edited)

Thanks. After few tries I decided to add redirect on my site, but found this better option.

 

This link help me fix the issue.

https://serversitters.com/cpanel-redirects-not-redirecting.html#:~:text=To%20fix%20this%2C%20after%20you,should%20work%20without%20any%20issues.

 

If you have setup a redirect using the Redirects icon in cPanel, it may not always work. The reason for this is that the redirect icon will create the rule for the redirect in the .htaccess, but it will place this new rule at the bottom of the file. So if you have any other redirects happening ahead of the new rule that conflict with the new rule, then the new redirect just won’t work.

To fix this, after you have created the redirect, you need to find it in your .htaccess. Move the lines to the top of the .htaccess file, then re-save it, and now the redirect should work without any issues.

Awesome and thanks for sharing that with us! :) This will be helpful for other users if they get the same issue like you and they’ll definitely find this quickly.

 

Let us know if you need any help or questions.

Edited by Luigi123

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...