WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Permalinks and folders (5 posts)

  1. Bassetts
    Member
    Posted 7 years ago #

    Sorry if this has been asked, I have searched for a good 30 minutes to resolve this. I have wordpress installed in my root directory and Permalinks enabled (/%category%/%postname%/)

    The Permalinks work find but now I cannot access my folders that were present in the root directory before wordpress was installed. e.g. /images/

    My htaccess is as follows:

    HeaderName /ht/header.html  
    
    IndexOptions FoldersFirst
    IndexOptions IgnoreCase
    IndexOptions NameWidth=50
    IndexOptions SuppressDescription
    IndexOptions SuppressHTMLPreamble
    IndexOptions FancyIndexing IconWidth=24 IconHeight=16 NameWidth=25 DescriptionWidth=50
    
    DefaultIcon /ht/i_oth.gif
    AddIcon (DIR,/ht/i_dir.gif) ^^DIRECTORY^^
    AddIcon (JPG,/ht/i_jpg.gif) .jpg
    AddIcon (GIF,/ht/i_gif.gif) .gif
    AddIcon (MOV,/ht/i_mov.gif) .mov
    AddIcon (WMV,/ht/i_wmv.gif) .wmv
    AddIcon (AVI,/ht/i_wmv.gif) .avi
    AddIcon (ZIP,/ht/i_zip.gif) .zip
    AddIcon (RAR,/ht/i_rar.gif) .rar
    AddIcon (SWF,/ht/i_swf.gif) .swf
    AddIcon (WAV,/ht/i_wav.gif) .wav .mid .midi
    AddIcon (MP3,/ht/i_mp3.gif) .mp3
    AddIcon (HTML,/ht/i_htm.gif) .html .htm .shtml
    AddIcon (EXE,/ht/i_exe.gif) .exe .hqx
    
    AddIcon (???,/ht/i_oth.gif) .ico .js .ini .dll .txt .doc .xls .ppt .pps .sql .divx .fla
    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
  2. Bassetts
    Member
    Posted 7 years ago #

    I have just noticed this only applies to a directory I have that has password protection on it.

  3. Bassetts
    Member
    Posted 7 years ago #

    I have found a fix for this problem by adding the following lines before the wordpress part of my htaccess

    ErrorDocument 401 /secure/
    ErrorDocument 403 /secure/
  4. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

    Yeah, this is a known issue. References for anybody else who may stumble across this problem:

    http://wordpress.org/support/topic/89515
    http://wordpress.org/support/topic/103244

  5. Bassetts
    Member
    Posted 7 years ago #

    Thanks, I could not find them threads before.

Topic Closed

This topic has been closed to new replies.

About this Topic