• Resolved mzimmers

    (@mzimmers)


    Hi, all –

    I had a minor mishap on my web server earlier today, and some files got lost. Now, when I go to my web site (scopedin) I just get a list of the files/directories.

    I recall something from my first installation about some kind of file that redirected the browser to the wordpress directory, but I can’t find anything about that in the installation directions. Can someone shed some light on this for me?

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Michael Torbert

    (@hallsofmontezuma)

    WordPress Virtuoso

    By looking at your site I take it you fixed the issue?
    If so please mark this resolved.

    Thread Starter mzimmers

    (@mzimmers)

    Well, sort of — I found a way to fix it, but I don’t know if this is *the* way to fix it.

    How does anyone else do this? Just with a PHP header redirect like I did, or is there another, more recommended method?

    How did you fix it?

    Thread Starter mzimmers

    (@mzimmers)

    I created an index.php file in my root directory, and put this in it:

    <?php
    	header ( 'Location: https://www.scopedin.com/wordpress/index.php' );
    ?>

    Kind of a hack, I’m sure, but…it’s all I could think of.

    So what you did was set up WP in a directory called wordpress and then directed your main index to it? Why didn’t you just set in up in the root directory? Oh and the reason all you were seeing was a list of files is because there was no index in your root.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘I somehow blew up WordPress’ is closed to new replies.