WordPress.org

Ready to get started?Download WordPress

Forums

I want my Home page to be accessible when you add index.html (3 posts)

  1. pixel8
    Member
    Posted 4 years ago #

    At the moment when you go to my blog at http://blog.soultank.com/ you come to the Home page (this I'm happy with). Is there a way of making it so that when you go to http://blog.soultank.com/index.html it also brings you to the Home page?

  2. jonradio
    Member
    Posted 4 years ago #

    The best that I can do is offer a recommended direction. I've never dug into either technology deep enough to know whether they can be used together.

    Here is what scares me: having an index.html file in the same folder that WordPress either lives in or has its Blog URL pointing to. The reason: index.php files (which start WordPress) do not co-exist well with index.html/index.htm/home.html/home.htm files.

    I thought about all the options, and the best one appears to be deleting the index.html file, and creating a 404.shtml file that redirects to the index.php file.

    What I don't know is whether you can code a <meta> HTML tag in an shtml file. If you can, you want the Refresh and Redirect fields specified, with a very low value for Refresh.

    I'm afraid I'm going to have to let you explore that.

    If that fails, my "best fallback plan" would be to move WordPress, including the Blog URL, to a subdirectory, and create index.html in the root with the above mentioned <meta>

  3. pixel8
    Member
    Posted 4 years ago #

    Interesting, gonna have to look into 'how to re-direct' as a possible answer/solution. Cheers adiant

Topic Closed

This topic has been closed to new replies.

About this Topic