Support » Fixing WordPress » Permalink not working after changing it

  • My

    (@midorian)


    My permalinks (linking in the post in the category loop) doesn’t work if I change the initial link in the post-entry.

    When I click it, the url is the old one and it goes to a ‘this page is missing’.

    I could really use some help because I’m stuck at trying to solve this. Thank you!

    I have the SEO by Yoast plugin installed, and this is my .htaccess:

    Options All -Indexes
    DirectoryIndex index.php index.html index.htm
    
    # BEGIN W3TC Browser Cache
    <IfModule mod_deflate.c>
        <IfModule mod_headers.c>
            Header append Vary User-Agent env=!dont-vary
        </IfModule>
            AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/json
        <IfModule mod_mime.c>
            # DEFLATE by extension
            AddOutputFilter DEFLATE js css htm html xml
        </IfModule>
    </IfModule>
    # END W3TC Browser Cache
    # BEGIN WordPress
    
    Options +FollowSymlinks
    RewriteEngine on
    
    # 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

    This is how I link the permalink:

    <a href="<?php echo get_permalink(); ?>">Comment</a>

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Permalink not working after changing it’ is closed to new replies.