I was having the same problem, and found a solution.
Disable the following items:
Cache
public $ caching = '';
public $ cache_handler = 'file'; # (replace memcache, per file)
public $ cachetime = '1600';
Memcache
public $ memcached_persist = '0'; # I was in '1'
Live Site
public $ live_site = ''; # (remove the full domain name)
Gzip
public $ gzip = '0'; # (disable, after running ... test the activation)
Sef
# (Disable as below, after running test enable)
public $ sef = '0';
public $ sef_rewrite = '0';
public $ sef_suffix = '0';
In case of error 404 for other pages, possibly the SEF is enabled.
- Check the .htacess (Rewrite enabled)
Activate Rewrite
$ cd / etc / apache2 / mods-available
a2enmod rewrite
For SEF in NGINX with PHP-FPM
Put in domain configuration (etc / nginx / sites-available / SITE.conf)
server {
listen ## IP ### or *: 80;
server_name MYSITE.com www.MYSITE.com;
root / home / MYSITE / public_html;
index.php index.html index.htm; #### VERIFY THIS ORDER
access_log /var/log/MYSITE.com_access_log;
error_log /var/log/MYSITE.com_error_log;
fastcgi_param GATEWAY_INTERFACE CGI / 1.1;
fastcgi_param SERVER_SOFTWARE nginx;
fastcgi_param QUERY_STRING $ query_string;
fastcgi_param REQUEST_METHOD $ request_method;
fastcgi_param CONTENT_TYPE $ content_type;
fastcgi_param CONTENT_LENGTH $ content_length;
fastcgi_param SCRIPT_FILENAME / home / MYSITE / public_html $
fastcgi_script_name;
fastcgi_param SCRIPT_NAME $ fastcgi_script_name;
fastcgi_param REQUEST_URI $ request_uri;
fastcgi_param DOCUMENT_URI $ document_uri;
fastcgi_param DOCUMENT_ROOT / home / MYSITE / public_html;
fastcgi_param SERVER_PROTOCOL $ server_protocol;
fastcgi_param REMOTE_ADDR $ remote_addr;
fastcgi_param REMOTE_PORT $ remote_port;
fastcgi_param SERVER_ADDR $ server_addr;
fastcgi_param SERVER_PORT $ server_port;
fastcgi_param SERVER_NAME $ server_name;
fastcgi_param HTTPS $ https;
##-> see that it is uncommented ## location ~ \ .php $ {
##-> uncommented ## try_files $ uri = 404;
## -> uncommented ## fastcgi_pass unix: /var/php-nginx/172882919829029351.sock/socket;
location / {
try_files $ uri /index.php;
}
location ~ \ .php $ {
try_files $ uri = 404;
fastcgi_split_path_info ^ (. + \. php) (/.+) $;
fastcgi_pass localhost: 8001;
fastcgi_read_timeout 6000;
-> configuration for SSL HTS #add_header Strict-Transport-Security "max-age = 31536000; includeSubDomains" always;
}
location ~ \ .user \ .ini $ {
deny all;
}
listen ### IP or *: 443 ssl;
ssl_certificate /home/mysite/ssl.cert;
ssl_certificate_key /home/mysite/ssl.key;
fastcgi_read_timeout 3000;
}