• I have my wordpress in a folder named wordpress….. when going to say http://www.mywebpage.com/wordpress/index.php it comes up, but if you try to click a link (view site, for example) it sends you to a page that looks like this

    Index of /wordpress

    * Parent Directory
    * index.php
    * license.txt
    * readme.html
    * wp-admin/
    * wp-app.php
    * wp-atom.php
    * wp-blog-header.php
    * wp-comments-post.php
    * wp-commentsrss2.php
    * wp-config.php
    * wp-content/
    * wp-cron.php
    * wp-feed.php
    * wp-includes/
    * wp-links-opml.php
    * wp-login.php
    * wp-mail.php
    * wp-pass.php
    * wp-rdf.php
    * wp-register.php
    * wp-rss.php
    * wp-rss2.php
    * wp-settings.php
    * wp-trackback.php
    * xmlrpc.php
    http://mywebpage.com/wordpress/?p=3#respond is what the link looks like and I checked permalinks and they seem okay.
    Any help is appreciated..
    I have this running on apache server btw.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Do you have the correct permissions set on your .htaccess file? I think it needs to be set to 666.

    NO!!

    It does NOT!

    Thats terrible advice — and I would like to admonish you from giving information that you are NOT sure about — especially when it comes to permissions.

    glassofshutup, assuming you are on a ‘NIX server you need to add the following to your .htaccess:

    Options All -Indexes

    that will prevent the indexing that you are currently seeing.

    Addionally, you should make sure that index.php is a recognized index file..

    If after doing that your index.php is not loaded straight away, you can add this underneath the line above:

    DirectoryIndex index.php

    that will take care of loading your index.php automagically.

    DO NOT chmod your .htaccess to 666 in an attempt to fix that. It’s not a permissions issue.

    Thread Starter glassofshutup

    (@glassofshutup)

    whooami, thanks for the reply
    My apache is running on winxp and not on a Nix server. That being said how do I change it in Windows?

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Apache is apache, regardless if it’s on Windows or Linux. Edit the .htaccess file with a text editor (notepad?) and do as whooami suggested.

    If there is no .htaccess file, do the following:
    -Create a new text file.
    -Edit it using notepad and make the changes as given.
    -Save it to htaccess.txt
    -Open a command prompt (Start->Run->”cmd”) and run this command:
    rename htaccess.txt .htaccess

    Then move the .htaccess file into the main wordpress directory (same directory as the other files you listed above). Windows won’t actually let you make a file with a name starting with a dot, but the command prompt will.

    yeah sorry — apache is apache. (hadnt slept- had a brain fart on the linux/apache thing)

    Thread Starter glassofshutup

    (@glassofshutup)

    that worked thanks for the help

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘some links do not forward correctly’ is closed to new replies.