Results 1 to 1 of 1

Thread: Resolved: Nginx is not deteecting permalinks

  1. #1
    Join Date
    Jul 2013

    Question Resolved: Nginx is not deteecting permalinks

    I just replace apache with nginx but the permalink function is not working.

    i check many solution but all are for debian etc.
    Can anyone tell me that as per custom build 2 and centos 5 how i can enable wordpress permalinks to work back.

    Help will be appreciated.


    Just resolved this by this

    i solved the problem just add this in include /usr/local/directadmin/data/users/admin/nginx.conf;

    try_files $uri $uri/ /index.php?$uri&$args;
    fastcgi_split_path_info ^(.+\.php)(/.+)$;
    include /etc/nginx/fastcgi_params;
    fastcgi_index index.php;
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    include /etc/nginx/nginx_limits.conf;
    if (-f $request_filename)
    fastcgi_pass unix:/usr/local/php55/sockets/admin.sock;

    if (!-e $request_filename){
    rewrite ^(.*)$ /index.php?url=$1 break;

    on my every wordpress domain
    Last edited by paksociety; 10-27-2013 at 02:10 PM. Reason: Topic Closed
    Stay blessed

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts