Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Aug 2011
    Posts
    3

    Default can you delay a redirect?

    I'm actually trying to help a friend with his cPanel. We're trying to figure out how to force the redirect feature to wait about 500ms before redirecting to another website. Is there a script or something i could use?

  2. #2
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,892
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: can you delay a redirect?

    Not specifically the actual redirect I don't think, but you could point a redirect to a simple page with a Meta refresh time that goes to the other site after a set time.
    Fav cPlinks this week: Blog - cPanel & WHM 11.32 we love it! | cPanel University study for it! | Attracta is coming! we want this!

  3. #3
    Registered User
    Join Date
    Aug 2011
    Posts
    3

    Default Re: can you delay a redirect?

    well i'm trying to have the user stay on the page that redirects them for just half a second. This is because when google crawls the site, it skips it because the actual domain that redirects to another has no content. i wanted to flood the the first domain with keywords relating to the product i'm selling, but i want some way to have that domain wait a bit before redirecting so google has a chance to crawl the site and add it to the search results.

  4. #4
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: can you delay a redirect?

    A meta refresh will serve the purpose intended as Infopro mentioned. You can set the time for the redirect on that page before redirecting to the other page.

    Code:
    <meta HTTP-EQUIV=”REFRESH” content=”1; url=http://www.yourdomain.com/index.html”>
    This would redirect in 1 second. Change the 1 to 5 for 5 seconds. Change the url to be the page you are redirecting to.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  5. #5
    Registered User
    Join Date
    Aug 2011
    Posts
    3

    Default Re: can you delay a redirect?

    Sir I applaud you for your help.

Similar Threads & Tags
Similar threads

  1. cPanel redirect tool is errant - redirect loop error
    By jols in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-19-2009, 02:05 PM
  2. Is there a long delay if applying a redirect?
    By tejas55 in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 10-02-2007, 11:33 PM
  3. Replies: 7
    Last Post: 04-12-2007, 12:55 AM
  4. sorry 4 the delay
    By mistress sally in forum New User Questions
    Replies: 0
    Last Post: 01-21-2005, 07:46 AM
  5. delay?
    By AbeFroman in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 04-02-2002, 05:42 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube