Michael
Member
Posted 2 years 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!
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.
Michael
Member
Posted 2 years 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
rhysbwaller
Member
Posted 2 years ago #
i am having the same problem. did you get a solution?
Michael
Member
Posted 2 years 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.
jacob.quinlan
Member
Posted 1 year ago #
I am having the same problem and now assuming I have a template problem. Can someone lend me some insight, I didn't even have a .htaccess file until I looked through the permalink page.
rachelhardy
Member
Posted 1 year ago #
I'm having the same issue but it happened after I added a third page in the 2010 theme- now it only redirects to the new page and not to my site's main (home) page
anyone have a solution for this?
rachelhardy
Member
Posted 1 year ago #
Fixed it! Turns out, it was a conflicting plugin.