• Hello Guys,

    I need help for this problem.
    I got 404 after moving my wordpress from old server to new server.

    But If I switch to Default Permalink Settings?p=123 its working but not working with /%postname%/

    Why ?

    here are my configs

    Polylang setting:
    Example: http://sicard-moslehi.com/en/my-post/

    Remove /language/ in pretty permalinks
    Example: http://sicard-moslehi.com/en/

    Permalink Settings
    /%postname%/

    .HTACCESS

    # 1 Month
    <filesMatch ".(html|htm|php)$">
    Header set Cache-Control "max-age=2419200, private, proxy-revalidate"
    </FilesMatch>
    
    #Compress everything except images - backup
    AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript
    SetOutputFilter DEFLATE
    RewriteRule ^$ - [E=noabort:1]
    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    https://ww.wp.xz.cn/plugins/polylang/

The topic ‘getting 404 for Permalink Settings?’ is closed to new replies.