• Ok so I’m trying to enable symlinks for “pretty perma links” and am adding this to the top of my apache .htaccess.

    Options +FollowSymLinks
    RewriteEngine On

    But whenever I ad the rewriteEngine On line the whole website breaks? Any idea why?

Viewing 3 replies - 1 through 3 (of 3 total)
  • What kind of server is your site on (Apache/Nginx/other) and what is it’s operating system (Linux/IIS)?

    If using Apache, is mod_rewrite enabled? Are you using conditionals to test for mod_rewrite before starting RewriteEngine?

    WP automatically adds the following to my htaccess (Linux server running Apache):

    <IfModule mod_rewrite.c>
    RewriteEngine On
    --REST OF WP REWRITE RULES--
    </IfModule>

    Thread Starter msencenb

    (@msencenb)

    Running Apache Ubuntu 8.04

    mod_rewrite is enabled… I think the .htaccess file I have is correct? It looks like this… but the links don’t work under the new link structure.

    Options +FollowSymLinks
    # 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
    I think the .htaccess file I have is correct?

    — yes, that looks correct…are you on a shared, VPS, or dedicated server? do you have access to server logs?

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

The topic ‘FollowSymLinks breaks my website?’ is closed to new replies.