• Paul

    (@rhododendron)


    Yesterday I migrated my website from one host to another, The website is in bad shape for sure at this moment, but before I make it as it was I need to fix the permalink structure. whenever I try to change the permalink structure it says that its updated and gives no error. my upload directory is writable. so shouldnt ideally give any issue. I read the codex and tried everything possible. but nothing seems to be working, only the default permalink works. If I change it to custom it gives 404 for all my posts.

    What should I do? Any suggestions?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Paul

    (@rhododendron)

    Thread Starter Paul

    (@rhododendron)

    Can anybody please help me with this?

    WPyogi

    (@wpyogi)

    @paul, Can you make sure that .htaccess file (located under root of your WordPress installation) has write permissions?

    You can read more at the Permalinks page in the codex.

    Thread Starter Paul

    (@rhododendron)

    Yes It is enabled. I am pasting my .htaccess

    # 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
    
    <Limit GET POST>
    order deny,allow
    deny from all
    allow from all
    </Limit>
    
    <Limit PUT DELETE>
    order deny,allow
    deny from all
    </Limit>
    
    php_value upload_max_filesize 150M
    
    php_value post_max_size 150M
    
    php_value max_execution_time 500
    
    php_value max_input_time 500
    
    # Override PHP settings. More in sites/default/settings.php
    # but the following cannot be changed at runtime.
    
    php_value memory_limit 150M

    @paul, Can you temporarily remove following lines…

    <Limit GET POST>
    order deny,allow
    deny from all
    allow from all
    </Limit>
    
    <Limit PUT DELETE>
    order deny,allow
    deny from all
    </Limit>

    Also, can you make sure mod_rewrite is enabled on your hosting/server.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Permalink Disaster’ is closed to new replies.