Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 13 of 13
  1. #1
    New Coder
    Join Date
    Oct 2013
    Posts
    12
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Wordpress problem

    Hey,

    I made my website a week ago but when i go to the url it says this:
    Index of /

    wordpress/

    And when i click on wordpress im on my site?

  • #2
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,549
    Thanks
    8
    Thanked 1,095 Times in 1,086 Posts
    I suspect WP is not installed in your main directory, and thus the "index.php" file is not found.

    Did you install WordPress yourself?

    And has it been that way ever since you made the website?

  • #3
    New Coder
    Join Date
    Oct 2013
    Posts
    12
    Thanks
    1
    Thanked 0 Times in 0 Posts
    I installed it by myself.
    And the website is made with wordpress from the beginning.

  • #4
    New Coder
    Join Date
    Oct 2013
    Posts
    12
    Thanks
    1
    Thanked 0 Times in 0 Posts
    I also re-created the website with wordpress but that isn't the problem.

  • #5
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,549
    Thanks
    8
    Thanked 1,095 Times in 1,086 Posts
    Is is installed in your main directory?
    Can you give me a link so I can see what you're seeing?
    And who is your webhost?

    If this is all "too private", PM me with the information.

  • #6
    Regular Coder
    Join Date
    Mar 2013
    Posts
    262
    Thanks
    4
    Thanked 67 Times in 67 Posts
    What mlseim is saying is that you most likely uploaded your entire zip package (or whatever you are using).

    Your WP files should not be in a folder (aka subdirectory) called "wordpress" unless you configured it that way. It should just be in the main directory.
    My signature :)

  • #7
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,549
    Thanks
    8
    Thanked 1,095 Times in 1,086 Posts
    That's what I'm trying to say ... but hoping to get more info as well.

    The main directory, if it doesn't have WordPress in it, looks like there is no index file either?

    A directory with no index should not display the files. So, there must be some config or .htaccess issues regarding that. I'm also wondering about webhost.

  • #8
    New Coder
    Join Date
    Oct 2013
    Posts
    12
    Thanks
    1
    Thanked 0 Times in 0 Posts
    How do i get it in the main directory?

    bastardfitness.com

  • #9
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,549
    Thanks
    8
    Thanked 1,095 Times in 1,086 Posts
    Here is what I would do, but it's up to you if you wish to do this.

    It looks like your site is brand new, without any content (other than the banner).
    And it looks like you're using the WP 'canned' theme called 'twentyeleven'.

    I would just wipe it all out. Delete the entire 'wordpress' directory, using your cpanel (control panel) and re-install WP in your main directory. To me, that is the fastest way to fix it.

    You already have the MySQL database set-up, so if you know the name of that database, password, etc. you can tell your new WP installation to use that MySQL database.

    The only thing you'll need to fix on the new WP install is your banner.

  • #10
    New Coder
    Join Date
    Oct 2013
    Posts
    12
    Thanks
    1
    Thanked 0 Times in 0 Posts
    What do you mean re-install in main directory.

  • #11
    New Coder
    Join Date
    Oct 2013
    Posts
    12
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Thanks for the help it's done!

  • #12
    Regular Coder
    Join Date
    Mar 2013
    Posts
    262
    Thanks
    4
    Thanked 67 Times in 67 Posts
    Ok. Hopefully, this picture will help you understand. Lol.



    What you most likely have is the first image on the left. All your files are in a folder called "wordpress". Change it to match the set on the right.

    The "www" can be "public_html" or whatever. The main thing is that your wordpress folder should not exist, and everything else should be one level higher.

    In case you didn't get that, I'll try saying it another way. Currently, your wordpress folder is the direct child of the "main directory" (aka 1 level). The wp-content, wp-admin, etc. are all grandchildren of your main directory (aka 2 levels). What should be happening is that all the contents in the wordpress folder should be the direct child of the "main directory".

    Edit: Lol. Too late.
    My signature :)

  • #13
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,549
    Thanks
    8
    Thanked 1,095 Times in 1,086 Posts
    Looks good now!

    If you are new to WordPress, I recommend that you either find a new theme that you can upload (there are free ones to be found online), or if you use an existing theme that comes with WP, I recommend you copy it to a new theme directory with a different name.

    For example,
    You are currently using WP theme called, "twentythirteen".
    You'll see a directory called: wp-content/themes/twentythirteen/

    Duplicate that theme directory, but call it: wp-content/themes/bastardfitness/
    Upload your new theme to the 'themes' directory.
    Then, in your WP admin, select that new theme that you created.

    If you upload a theme that you found on the internet, it will already have its own name.

    The reason for doing this:
    You may be customizing your theme, which will alter those files. When you do a WP revision update, it may update the WP "twentythirteen" theme and overwrite your changes.

    If you are an experienced WP user, you will be doing your customization in "child themes", but that is something a bit more advanced. You can Google: WP child theme

    The only files you should ever be editing, are the ones in your theme directory. Don't mess with any other WP files. Plugins go into a different directory called "plugins". When you use the WP admin panel to install or update plugins, you'll see those files going into that directory.

  • Users who have thanked mlseim for this post:

    bastarddfitness (10-19-2013)


  •  

    Posting Permissions

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