Support » Installing WordPress » Local install problems

  • I have installed WP locally as I want to work on a theme that I am creating. However, when I try to click a link I am taken to the the directory listing. For example – to show all the posings in the Personal cat the URI is showing as
    http://localhost/TeeJayUu/blog/?cat=5
    if I type in the address bar
    http://localhost/TeeJayUu/blog/index.php?cat=5
    it works OK. I have been told it may be down to the .htacess file which I have created under localhost/TeeJayUu/blog/ and changed RewriteBase to /TeeJayUu/blog/ but this still hasn’t changed things. My .htaccess file is:
    # -FrontPage-
    IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
    <Limit GET POST>
    order deny,allow
    deny from all
    allow from all
    </Limit>
    <Limit PUT DELETE>
    order deny,allow
    deny from all
    </Limit>
    AuthName http://www.teejayuu.co.uk
    AuthUserFile /home/teejayuu/public_html/_vti_pvt/service.pwd
    AuthGroupFile /home/teejayuu/public_html/_vti_pvt/service.grp
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /TeeJayUu/blog/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress
    I really would like to get this solved so I can test my theme
    Thanks TJ

Viewing 2 replies - 1 through 2 (of 2 total)
  • Note this is not a WordPress installation problem. It’s related to the DirectoryIndex directive on your web server. Try adding this line to your .htaccess:

    DirectoryIndex index.html index.htm index.php

    Thread Starter teejayuu

    (@teejayuu)

    Thanks for the suggestion, i have tried that but it still doesn’t work. I also have a html website on the local host and this works properly. The .htaccess was created manually from the live site and am unsure if these lines are affecting it:
    AuthName teejayuu.co.uk<br />
    AuthUserFile /home/teejayuu/public_html/_vti_pvt/service.pwd<br />
    AuthGroupFile /home/teejayuu/public_html/_vti_pvt/service.grp

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Local install problems’ is closed to new replies.