• Using WP 2.0.2 on apache2, mysql 4.3 and php 4.3 on linux OS. Mod_rewrite IS loaded and can be verified here (www.mytimewithgod.net/phpinfo). However, after many attempts to get permalinks working and following all the permalink threads in this forum, nothing has worked. I have even gone to the OS manufacture site/forums for help with mod_rewrite (as i am using a novell linux distro and we should all know how novell will “mess” with things). Anyway, i have no luck getting permalinks to work.
    OK, so i am thinking that i am going to do a WP (site) backup and a complete Mysql DB backup of my blog (www.mytimewithgod.net). Then i will “drop” all the WP databases and delete all the WP (site) files. Then reinstall WP (site) and before i do any plugins or anything, try to activate permalinks!! Is there an easier way or should i go ahead and do it this way?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Before you do all the destructive things. Can you enable permalinks using the default scheme, and then show us what your .htaccess file looks like?

    Also, can you try adding “/index.php/” to the beginning of the scheme and see if things begin to work?

    Regards

    Thread Starter carnold

    (@carnold)

    Enabled with default and here is the htaccess file:
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress
    Yes, it always works with index.php and date and name base permalinks but i don’t want the index.php included in those permalinks. I also tried a “fake” entry, like:
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . ^fake /index.php [L]
    </IfModule>

    # END WordPress
    and this did not redirect me to the index.php file.

    Thread Starter carnold

    (@carnold)

    Well, now i am pretty confident that mod_rewrite may not be working right on my install. I have created a new DB called “music”. Installed WP 2.0.2 and added nothing at all to the install. Created .htaccess file in the /music folder and gave appropriate permissions. I then went and made the permalink date and name based active in admin panel. Went to view htaccess and here it is:
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /music
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /music/index.php [L]
    </IfModule>

    # END WordPress
    Then i tried to get to the default post in WP, “hello world”; clicked on the post name (hello world) and get a 404 error. what gives with permalinks? Mod_rewrite is loaded and can be verified here https://www.mytimewithgod.net/phpinfo.php
    Any help is appreciated.

    Will any .htaccess work for you? Can you write one and add, say, a redirect to see if it works? I’m just wondering if your host has set limitations on AllowOverrides

    Thread Starter carnold

    (@carnold)

    Sorry, should of mentioned, i own this server and have physical access to it. I have tried to add a “fake” entry to all the htaccess files to no avail. It seems no rules are working. Here is the setion in my httpd file with allowoverrides:
    # forbid access to the entire filesystem by default
    <Directory />
    Options FollowSymLinks
    AllowOverride ALL
    Order deny,allow
    Deny from ALL
    </Directory>

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Permalinks never worked’ is closed to new replies.