Forums

.htaccess issues (4 posts)

  1. chrisw7289
    Member
    Posted 2 years ago #

    Good afternoon, folks --

    First off, my apologies if there is another post that could answer my question; for some reason the search engine was error'ing out on me.

    Anyway, I'm having issues when it comes to my .htaccess file and the permalinks. I was in search of a method to password protect my entire blog to only be seen by a select number of users, and everything directed me to making some changes to my .htaccess file. However, I noticed that I did not have one when I went to make those changes. I did some searching and found that people were suggesting just to create one. I found this post:

    http://wordpress.org/support/topic/243954?replies=8

    and attempted to follow instructions word-for-word. When I created the file with the suggested code inserted, I uploaded it to my root directory and restarted the server. When I returned, I went to my blog and found this:

    http://freeport.ads.hamline.edu

    For some reason, it appears that the template no longer works? I tried removing the .htaccess file just to see if it would go back to how it was, but it doesn't appear to want to do that. I'm not sure what's up, but if I need to reinstall wordpress to the server that's not a big deal. All I would like to know is how to make my site password protected when I am not provided an .htaccess file.

  2. xewax
    Member
    Posted 2 years ago #

    make your htaccess file like the original one.

    [spam link moderated]

  3. chrisw7289
    Member
    Posted 2 years ago #

    It turns out my issue isn't directly related to the htaccess file.

    I decided to completely uninstall my wordpress installation and start fresh without an htaccess file; I just wanted to be able to get the blog to show up. When I did this, I found that my page was doing the same thing it was last night. These are the symptoms that I can track down:

    1) When going directly to http://freeport.ads.hamline.edu it doesn't appear to read the index.php file. It just shows the parent/child directory breakdown.

    2) When I log in, it does the same, showing all of the children directories and files in the /wp-admin/ directory.

    3) The confusing thing is that when I go to /wp-admin/index.php to get to the dashboard, it works just fine. I can navigate the entire dashboard, but when I try to visit the site, I get the root directory again.

    I feel rather inept and apologize greatly if any of these answers can be found elsewhere. Thanks in advance for the help!

  4. bh_WP_fan
    Member
    Posted 2 years ago #

    One possibility is that the server directory index is set to use a different file than the index page. Try adding this line to the top of your .htaccess:

    DirectoryIndex index.php index.html index.htm

    The given URL doesn't work, so we can't actually view the site to see if it could give us any further ideas.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.