Hello @ganchor
There is many reason of line expire issue
Here i show list maybe helpful to you.
1. Increase PHP Limits
- Memory Limit: Increase the PHP memory limit by editing your
wp-config.php
file. Add or modify the following line:
define('WP_MEMORY_LIMIT', '256M');
- Upload Size and Execution Time:
Increase the maximum upload size and execution time in your php.ini
file:
upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 300
max_input_time = 300
2.Permalinks and Rewrite Rules
- Go to Settings > Permalinks and click “Save Changes” without making any changes. This will refresh the rewrite rules and might resolve.
3. Session Timeout
- The error might also be related to a session timeout. Try logging out and logging back in before creating a new site. If the issue persists, clear your browser cache and cookies, or try a different browser.
4. Check .htaccess
File
- Ensure that your
.htaccess
file has the correct rewrite rules for multisite. It should look something like this:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
# Add the following lines for Multisite
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]
</IfModule>
# END WordPress