Skip to main content

htaccess.txt rename brakes page

Comments

9 comments

  • ffeingol
    Go into cPanel and change the PHP version, then set it back to the one you want. It will add the code the the .htaccess file to set the PHP version.
    0
  • opkyrtsis
    It fixes this problem but now strangely I got a broken back end in Joomla
    0
  • ffeingol
    Can you post the contents of the .htaccess file?
    0
  • opkyrtsis
    It's the Joomla preconfigured htaccess file after re-enabling PHP-8.
    0
  • ffeingol
    You just want to make sure that the cPanel code for PHP is at the bottom of that file (that's where it will normally put it). If your still having issues, my guess would be that a PHP module that you need is missing in that version of PHP, but it's just a guess.
    0
  • opkyrtsis
    .htaccess after renaming: # php -- BEGIN cPanel-generated handler, do not edit # Set the "ea-php80" package as the default "PHP" programming language. AddHandler application/x-httpd-ea-php80___lsphp .php .php8 .phtml # php -- END cPanel-generated handler, do not edit
    0
  • ffeingol
    From what you posted above it looks like all the Joomla stuff is missing. You should be able to add it in above the cPanel stuff.
    0
  • opkyrtsis
    I added the "after renaming to .htaccess" code above the preconfigured code and links work now, but why I had to do this it remains a mystery to me. My other sites work like a charm with the 'short' code seen above only...
    0
  • ffeingol
    Open a cPanel ticket and them them dig.
    0

Please sign in to leave a comment.