Simple PHP blog system not working

Hi everybody,

I've been following the simple php blog system and everything works fine except that posts links don't work. When click on post link I get a 404 error by my server. I've already tried to fix this by removing the .htaccess file in the posts directory but then the I get No input file specified. printed to the page when I click on a post. Does anybody know how to fix this since the blog system is pretty nice because its simple and not so bloated like other stuff out there.

Hope someone can help me.

Regards,
Alexander

Comments 1

  • Fixed it by replacing the content of the .htaccess file in the root directory with the following code.

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /crm/
    
    Options +FollowSymLinks 
    
    RewriteCond %{HTTP_HOST} ^mywebsite.com [NC] 
    
    RewriteRule ^(.*)$ http://www.mywebsite.com/$1 [L,R=301] 
    
    RewriteRule ^index\.php$ - [L]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d 
    RewriteRule . /index.php [L]
    
    RewriteRule ^index.php/(.*)$ [L]
    </IfModule>