Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Missing permalinks after coping WP into /root

Home / Forums / Pinnacle Theme / Missing permalinks after coping WP into /root

This topic is: Not Resolved
[Not Resolved]
Posted in: Pinnacle Theme
January 28, 2017 at 12:33 pm

Hello there,

I have my new WP site in the subfolder /new/ and by changing site url on WP and copying index.php and htaccess in root I can now access it from the root folder.

All works but one warning notice:

Warning: fileperms() [function.fileperms.php]: stat failed for /home/tobiaslu/www/tobiasluthe.de/new/index.php in /home/tobiaslu/www/tobiasluthe.de/new/wp-admin/includes/file.php on line 935

Lines 934 and 935 in the /file.php show:

if ( ! defined(‚FS_CHMOD_FILE‘) )
define(‚FS_CHMOD_FILE‘, ( fileperms( ABSPATH . ‚index.php‘ ) & 0777 | 0644 ) );

Does anyone know what needs to be changed to get rid of the warning and make this permalink work?

Thanks so much.

Tobias

  • The forum ‘Pinnacle Theme’ is closed to new topics and replies.