Jump to content

Wordpress Not Linking Propperly


Recommended Posts

Hi. I'm having a killer issue with Wordpress. I'm a new user and have been playing around with various options and features for the last couple days just trying to figure it all out and suddenly I'm noticing that the sidebar links to my categories, pages and archives aren't targeting properly. they're all going to my error page and i have no clue why that would be. Can someone lend a hand?

Link to post
Share on other sites

If you have updated your .htaccess file with the code on the permalinks page you may need to add the following to the .htaccess file above those lines to make it work. I had to do this on one of my sites.

 

><IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>

Link to post
Share on other sites

I have no idea how to do that. I think i recall passing a link about that at one point, but didn't realize it's significance at the time. I still haven't upgraded yet. I guess i'll do that first and then look for how to update the .htaccess file.

Thanks!

Link to post
Share on other sites

To upgrade the .htaccess file go into cPanel and open the File Manager. Select the .htaccess file in the "blog" folder, if there isn't one there create it. Then select it and choose to edit it. Copy and paste the contents of the .htaccess infor on the WordPress permalink dialog screen. Then save the file.

 

If there is one already there, it would be wise to make a copy of it before editing.

Link to post
Share on other sites

Bruce, What kind of file type is that? I mean, i see it's an .htaccess, but in the file manager the types of new files it lets me create are text documents, html docs and perl and shell scripts. I'm confused.

Edited by ericwilmoth
Link to post
Share on other sites

Sorry to double-post, but i solved the problem with your advice. What i couldn't figure out how to do was create an .htaccess file. in the end i just copied the one in my public directory and pasted it into the blog folder, then edited that. Now everything works. Thanks Bruce!

Link to post
Share on other sites
  • 2 weeks later...

One last question on this...

 

...after entering the permalink data into the .htaccess file everything works just fine; i'm wondering...i left the info for the error document 404 in there below the permalink data--is there any reason this would ever cause a problem i'm not aware of, or is this perhaps the best way to go, having them both in there, just in case a post-link does somehow get broken in wordpress at some point?

Link to post
Share on other sites

So it sounds like you're saying take out the 404 code from the .htaccess file that has the permalink data in it, and wordpress should take care of error pages on its' own?

 

If that's the case, is there a way to personalize those wordpress 404 error pages?

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...