SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict
    Join Date
    Aug 2009
    Posts
    231
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need help with redirect to wordpress homepage

    Hello there,

    I have my website here: http://www.sprocketdb.com and if you notice when you go there it automatically redirects you to http://www.sprocketdb.com/old/index.html. This is automatically redirected by index.html. I have installed wordpress in my root folder, however whenever I go to http://www.sprocketdb.com/index.php it jumps me to the old/index.html file.

    Is there something I can put into the index.php for wordpress install so I can see my homepage. Basically I am creating this site and wanting to edit it live, while my traffic still is redirected to old site rather than the new one. I am in need of showing the client their new homepage, but I can't acces index.php without it redirecting me.

    Is there another URL I can give them or some code I can put into index.php?

    Thanks,
    Lorne

  2. #2
    SitePoint Guru SSJ's Avatar
    Join Date
    Jan 2007
    Posts
    830
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Check your htaccess file. Redirection code should be added over there... If you find it, remove it from there and you're done.

  3. #3
    SitePoint Addict
    Join Date
    Aug 2009
    Posts
    231
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey SSJ,

    I actually have my redirection in my index.html head file. The .htaccess doesn't have any redirection in there.

    Should I not have the index.html file doing it and add to htaccess? If so, what code do I use to redirect it to www.sprocketdb.com/old/index.html? I don't have really any experience working in .htaccess files.

    Thanks,
    Lorne


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •