• I want to update my hosting to php 5.3, i need to add this line to my .htaccess file – “# Use PHP 5.3
    AddType application/x-httpd-php53 .php ” (without “”)

    Now i have in my file this code already:

    # 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

    Is it good to put my php 5.3 code like this:

    # 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>

    # Use PHP 5.3
    AddType application/x-httpd-php53 .php

    # END WordPress

    or i should add it above that code or bellow that code? Any ideas? Above “# BEGIN WordPress” there is a huge code of WP super cache plugin.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘.htaccess file editing’ is closed to new replies.