Issues with .htaccess file in Highend Theme

  • In Progress
    Posted in: Highend WP Theme  
  • Customer
    cgreene
    April 23, 2019 at 4:19 pm #138481

    Hi,

    I am having a strange issue with the Highend theme that I purchased through Mojo Marketplace. For some reason, it is writing things that look like they should be in the php.ini file into the .htaccess file. I have had to fix the .htaccess file multiple times to be able to get into the site. Here is an example of what it changing:

    Original .htaccess file:

    # 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

    Modified .htaccess file:

    # BEGIN WordPress
    AddHandler application/x-httpd-php70 .php
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /~udevices/
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /~udevices/index.php [L]
    </IfModule>
    # END WordPress

    As you can see, it is addint the line “AddHandler application/x-httpd-php70 .php” to the .htaccess file which essentially disables the site. Can you please let me know what can be done to fix this issue?

    Thanks,

    Chris

    Sorry, this forum is for verified users only. Please Login or Register to continue

Comments are closed.