• Hello,

    I made a mistake of not being careful about my permalinks structure. So at first I had something like:
    /%year%/%monthnum%/%postname%/

    Then I decided to change it into:
    /%category%/%post_id%/%postname%/

    Now I want to change it into something final like this:
    /%category%/%postname%-%post_id%.html

    I can easily do that and it rewrites fine from the existing
    /%category%/%post_id%/%postname%/

    However, it does not want to rewrite the very first permlink I used to use – /%year%/%monthnum%/%postname%/

    My question is how can I take care of both permalink structures? Is it at all possible?

    Thank you very much in advance!

    Zbigniew Szalbot

Viewing 1 replies (of 1 total)
  • Thread Starter zszalbot

    (@zszalbot)

    I forgot to add that my .htaccess file looks pretty standard

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    Many thanks in advance for any help!

Viewing 1 replies (of 1 total)
  • The topic ‘rewrite two redirects’ is closed to new replies.