• chrissyboy

    (@chrissyboy)


    I’ve recently changed hosts and have been messing around with getting everything to work. I am almost there but there is one problem that still haunts me: pretty permalinks.

    The site works fine when the permalink structure is set to default. When it’s set to month/day/title (like it was on the previous host) I get a Not Found error on every page except the homepage.

    I found this link: http://codex.ww.wp.xz.cn/Using_Permalinks I skimmed through it and decided to add the following line of code to the top of my .htaccess file: Options +FollowSymlinks

    Now I’m getting a nice little 500 Internal Server error. I immediately removed that line but the error is still present. As you can tell, I am a rookie who doesn’t know what he is doing.

    Is there anyone that can help me find a solution for this dreaded problem?

Viewing 1 replies (of 1 total)
  • Thread Starter chrissyboy

    (@chrissyboy)

    Turns out mod_rewrite was turned off by default in Apache2. A simple SSH command helped me out: http://www.lavluda.com/2007/07/15/how-to-enable-mod_rewrite-in-apache22-debian/ <— in case anyone runs into the problem in the future.

    I also changed the .htaccess to the default pretty permalinks one:

    # BEGIN WordPress
    
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
Viewing 1 replies (of 1 total)

The topic ‘Not Found 500 Internal Server errors…migration SUCKS!’ is closed to new replies.