• ok, I did search but I could’t find any answer. If it’s out there, please redirect me, thx ??
    I just installed WP 1.0 locally on OS X 10.3. Everything works fine, but when I tried to set the permalink in “options>permalinks, I get a URL not found server error.
    I checked my httpd.conf file in my Apache install and mod_rewrite seems to be enabled.
    I’m using PHP 4.3.2 and MySQL 4.0.17-standard
    I installed WP in a subdirectory like: root/wp_install/index.php and I tried to get URL formatted like that:
    /archives/%year%/%monthnum%/%day%/%postname%.html
    my .htaccess file is chmod 644 (I tried 777 just in case…)
    I can’t think of anything else I might have overlooked. Any suggestions?
    Thanks ??

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter Anonymous

    Sample of errors I get:
    Not Found
    The requested URL /~userName/blogTest/archives/category/general was not found on this server.
    Apache/1.3.28 Server at computerName.local Port 80

    Did you add the appropriate code to the .htaccess file? When setting the permalinks option in WP, it should have given you a piece of code to plug into it.
    TG

    i get the same errors and yes i added the appropriate code to the .htaccess file

    hrm… might be OS related (??) I know I get the same problem on my Win2K test box… I had t owait until I uploaded everything to my website before being able to turn it on.
    TG

    Thread Starter Anonymous

    yes. I did add the code to the .htaccess file
    any other sggestion? Thanks.

    Thread Starter Anonymous

    I had a similar problem.
    In the options menu, I had only input %postname%
    I fixed it in the options menu by inputting /archives/%year%/%monthnum%/%day%/%postname%

    a good start for debugging rewrite rules is to change the [QSA] to [R=permanent] – that way it will change the address in the address bar so that it shows you to where it is trying to re-direct (that definitely helped me with things when I had broken something). If the address in the address bar doesn’t change, that means that your re-write rule isn’t being caught, which means something in the original regular expression is broken.

    For some reason the rewriterules would not work from my .htaccess at all
    (Other directives i put there works just fine, tho).
    I also found that i had to explicitly enable the rewite engine on the top level directory on my server.
    as i run my blog on a virtual host, i put the rewriterules inside my VirtualHost-block. Sorted ??

    What I discovered was that you have to tell Apache to allow the .htaccess file to override the default behavior. Here is an example. My blog in is in /var/www/kblog, so the relevant chunk of httpd.conf is:

    <Directory /var/www/kblog/>
    Options Indexes Includes FollowSymLinks Multiviews
    AllowOverride All
    Order allow,deny
    Allow from all
    </Directory>

    Perhaps that helps? Maybe not. Worth a shot, eh?

    Good call!
    I confirm that it solved my problem. I had it set up correctly on my desktop but I’m developing my blog on my PowerBook and I totally forgot about that… Thanks!!
    In OS X, and easy way to do it is to modify:
    /private/etc/httpd/users/your_user_name.conf
    by changing AllowOverride from “none” to “all” and restart the server

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘permalink error “url not found” on server’ is closed to new replies.