Forums

[resolved] Problem with permalinks after changing permalink settings (5 posts)

  1. apucious
    Member
    Posted 1 month ago #

    Hi. I changed the permalink settings on my blog awhile back and ever since I have had a problem with the permalinks listed on my sidebar.php template.

    At first I got 404 errors, and then after fooling around with .htaccess I got an internal service error.

    I tried a Redirect plug-in, but now when I click on a sidebar link, for instance my Contact Page link, it just refreshes my blog main page.

    ex. http://slapclap.com/contact-me/

    That URL is from my old permalink setting. My new permalink setting is Ex. http://slapclap.com/?p=123

    HELP!

  2. alism
    Member
    Posted 1 month ago #

    Upgrade to the latest version of WordPress. Doubtful it'll solve your problem, but you REALLY should anyway.

    After that, de-activate all your plugins. Go to Settings > Permalinks, and re-save your Permalinks. Do you still get the same error? If not, you should be able to narrow it down to the faulty plugin by re-activating them one by one.

    If you still get an error, check your .htaccesss again for any extra characters or rubbish that's been inserted that's screwing things up.

  3. apucious
    Member
    Posted 1 month ago #

    Thanks much. I will try this and report back. Just for reference sake this is my current .htaccess

    # BEGIN WPSuperCache
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    AddDefaultCharset UTF-8
    RewriteCond %{REQUEST_URI} !^.*[^/]$
    RewriteCond %{REQUEST_URI} !^.*//.*$
    RewriteCond %{REQUEST_METHOD} !=POST
    RewriteCond %{QUERY_STRING} !.*=.*
    RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress|wp-postpass_).*$
    RewriteCond %{HTTP:Accept-Encoding} gzip
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz -f
    RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz [L]

    RewriteCond %{REQUEST_URI} !^.*[^/]$
    RewriteCond %{REQUEST_URI} !^.*//.*$
    RewriteCond %{REQUEST_METHOD} !=POST
    RewriteCond %{QUERY_STRING} !.*=.*
    RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress|wp-postpass_).*$
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html -f
    RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html [L]
    </IfModule>

    # END WPSuperCache

    # BEGIN WordPress

    <IfModule mod_rewrite.c>
    ErrorDocument 404 /index.php?error=404
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

  4. rhysbwaller
    Member
    Posted 1 month ago #

    i am having the same problem. did you get a solution?

  5. apucious
    Member
    Posted 1 week ago #

    This didn't work for me, but my permalinks problem was actually a template problem. I needed to manually change the links in my sidebar template to match the permalinks on the blog.

Reply

You must log in to post.

About this Topic