Forums

Front Page not working correctly (6 posts)

  1. dpbowen
    Member
    Posted 2 years ago #

    I accidentally uploaded a site my wife made in iWeb to the wrong folder on my server, and when I went to delete it I must have accidentally deleted whatever file makes the front page of my blog work. All of my posts are still there, but it isn't treating the front page like a blog (this isn't a static page vs. blog page issue).

    index.php is still in the right folder, as is index.html. Does anyone know what I might have done that messed this up?

    Any help would be greatly appreciated!

    You can see at http://www.youngandfrugal.com. All the archives and all the posts are still there, but the front page is messed up.

    Thanks!

  2. figaro
    Member
    Posted 2 years ago #

    Why is your site redirecting to Home.html?

  3. dpbowen
    Member
    Posted 2 years ago #

    I don't know! I thought that was weird too!

    How do I change that?

  4. dpbowen
    Member
    Posted 2 years ago #

    OK, I have no idea why it's redirecting to /home.html

    Any advice?

  5. Mark / t31os
    Moderator
    Posted 2 years ago #

    <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title></title><meta http-equiv="refresh" content="0;url= Home.html" /></head><body></body></html>

    If you hit the stop button before the page loads you can see the source..

    Which low and behold has a meta refresh redirect.

  6. dpbowen
    Member
    Posted 2 years ago #

    Thanks, I finally got it figured out. When I loaded the iweb site into the wrong folder, then deleted it, I deleted the wrong index.html. The default for iweb is to redirect it to /home.html (weird).

    All I had to do was delete the index.html file and the index.php took over and set everything straight again.

    Thanks for the help!

Topic Closed

This topic has been closed to new replies.

About this Topic