Support » Fixing WordPress » cant view single blog post

  • The problem:

    The site is working fine, pages are working correctly with pretty permalinks. However, when i try to view a single post, it gives me a 404 error.

    I have all pages working fine and the actual blog category that i am linking to for my posts shows the summary of the post (excerpt) fine. But it is when i click to view the rest of the post that it displays the 404 error.

    Details:

    * * I am running WP v2.8.6 to power an entire website; pages, posts, everything.
    * * I have given wordpress its own directory /wp/ but i am running it from the root so everything is domain.com/
    * * The website is http://www.webrevolve.com
    * * All pages are working fine
    * * Blog category shows summary of posts (excerpt) fine
    * * Single post IS NOT working and displays 404

    My permalink structure is as follows:
    /%category%/%year%/%monthnum%/%postname%/

    My htaccess file contains:

    Options +FollowSymlinks
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^webrevolve\.com [NC]
    RewriteRule ^(.*) http://www.webrevolve.com/$1 [R=301,L]

    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php
    RewriteRule (.*) http://www.webrevolve.com/ [R=301,L]
    <IfModule mod_security.c>

    SecFilterEngine Off
    SecFilterScanPOST Off
    </IfModule>
    Options -Indexes
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On

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

    I have read endless web pages on similar problems and tried to figure out the problem for hours on end. I have contacted my web host to make sure AllowOverride none was on AllowOverride all (which it was). I have tried resaving permalink structure, changing permalink structure, linking to a page that contains posts rather than linking to a category and still have no luck.

    If anyone can shed any light on the situation that would be fantastic, i really am stumped on this one and have never come across this problem before. If you need any more details please let me know.

    Thanks in advance for any help, much appreciated.

Viewing 5 replies - 1 through 5 (of 5 total)
  • I am having the same problem! How did you solve it???

    Yes, same problem here. Clicking on a single post displays the 404 error page. Even when directly entering a post’s url into the browsers adressbar it fails to load the specific post in its entirety.

    Joe

    (@shopping-guide)

    The original post was created 10 months ago and checking the site, it appears to be working fine now and with a new permalink structure, so I suspect that may have been related to the original problem.

    Elektronicat, I would suggest you post your site details in a similar format to the first post, including your website address, which directory your blog is hosted under and your permalink structure settings etc.

    Joe

    I discovered the cause of the issue. A while ago, when I changed the permalinks from id-style to pagename/postname style, I only put in /%pagename% and left %postname% out, because at that time I didn’t want to use a blog of posts.

    In short, the solution (in my case):
    To display a single post, the syntax in the permalinks should be /%pagename%/%postname%

    (Thnx Joe for your reply and suggestion)

    hmmm, with the permalinks now set to /%pagename%/%postname% a page with subpages aren’t displayed. Maybe i’d better post a new issue after all..

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘cant view single blog post’ is closed to new replies.