• Resolved oznola

    (@oznola)


    hi,

    i have been working to resolve this problem quite hard. i have read the “Using Permalink” docs several times, a number of links both here in the wordpress forum and throughout the web that propose solutions to this problem. some were marked resolved and some were not but none has worked for me yet.

    i am using wordpress 2.9.2 with debian linux.

    with custom permalink set to /blog/%postname%/ i try to navigate past the main page of http://alonzofretwell.com and i get the 404 error.

    with custom permalink set to /index.php/%postname%/ things seems to work okay but “index.php” is displayed in the browser location bar. i want it to display the page titles without the “index.php”.

    wordpress admin has no trouble writing .htaccess. i opened the file to check that it is rewritten when changes are made to permalink options.

    mod_rewrite is available and enabled by default.

    i have tried both…

    <Directory /home/web> // the root of http://alonzofretwell.com
    AllowOverride all
    </Directory>

    and

    <Directory /home/web/wordpress> // the location of wordpress
    AllowOverride all
    </Directory>

    in the apache2.conf file (this is the proper .conf file for my debian distro).

    with a restart of apache after each attempt.

    i get the 404 error after each change.

    although i am new to the wordpress forum i have yet to post an issue that has not been marked resolved. i hope i will soon mark this issue resolved as well.

    thank you for helping with this.

Viewing 3 replies - 1 through 3 (of 3 total)
  • try adding this to top of .htaccess

    Options +FollowSymLinks

    Thread Starter oznola

    (@oznola)

    hi,

    i tried both…

    # BEGIN WordPress
    Options +FollowSymLinks
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    and

    Options +FollowSymLinks
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    neither one worked.

    my permalink custom structure is /blog/%postname%/

    wordpress v2.9.2 is in http://alonzofretwell.com/wordpress and the blog is in http://alonzofretwell.com which are /home/web/wordpress and /home/web respectively.

    Thread Starter oznola

    (@oznola)

    the solution is here.

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

The topic ‘custom permalink not working under linux’ is closed to new replies.