SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Sep 2013
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Wordpress HTaccess is leading to 500 internal error

    Ok, so my htaccess code is jacked and leading to a 500 internal error at addison-homes.com and I don't know how to fix it...

    AddHandler php-legacy .php

    # 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

    php_value upload_max_filesize 128M
    php_value post_max_size 128M
    php_value memory_limit 128M

    # BEGIN (mt) controlled settings
    AddHandler php-stable .php
    # END (mt) controlled settings

    What is making it go awry?

  2. #2
    SitePoint Wizard
    Join Date
    Oct 2005
    Posts
    1,832
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)
    I'm pretty sure it isn't the Wordpress code causing the problem. Put a # sign in front of each line outside the Wordpress htaccess directives and see what happens. Then uncomment each line until you find the line causing the problem. Are you on shared hosting? Those PHP directives you have in your .htaccess usually don't work on shared hosting. They go in php.ini files. I cannot say anything about your host-specific directives unless they are causing a conflict.

    Code:
    AddHandler php-legacy .php
    AddHandler php-stable .php


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •