Forums

Blog causes 404? (10 posts)

  1. the kitesurf centre
    Member
    Posted 2 years ago #

    My wordpress site is 90% run through pages rather than posts on the studiopress streamline theme.

    I have a blog setup and posts built in, but unfortunately they all lead to 401's when clicked on? I can preview the page on the visual editor with the same url and it's all ok but once live on the site, its goes direct to 404's. Any ideas why?

    Many thanks in advance

  2. the kitesurf centre
    Member
    Posted 2 years ago #

    I tell a lie, I've just double checked and once the post is published, I can't preview it any longer through the visual editor, it also directs to a 404...

  3. Gary Bairead
    Member
    Posted 2 years ago #

    site url?

  4. the kitesurf centre
    Member
    Posted 2 years ago #

  5. Gary Bairead
    Member
    Posted 2 years ago #

    Try reverting your permalinks back to the default settings in your admin (settings > permalinks > default). If that solves the issue, there could be a problem with the permalink rewrite code in your .htaccess file.

  6. the kitesurf centre
    Member
    Posted 2 years ago #

    Changing the permalinks back to default does fix the problem. How can I figure out whats wrong with the .htaccess file?

    Thanks again.

  7. Chris_K
    Member
    Posted 2 years ago #

    Lots of troubleshooting tips over in the Docs at the Using_Permalinks page. Do you know if your host is Linux or Windows?

  8. the kitesurf centre
    Member
    Posted 2 years ago #

    It's windows

  9. Chris_K
    Member
    Posted 2 years ago #

    If it is an older version of IIS then you'll have to settle for "Almost Pretty" Permalinks, described on the Using_Permalinks page. The .htaccess file isn't used.

  10. Chris_K
    Member
    Posted 2 years ago #

    Side note: I've seen success getting pretty permalinks to work just fine with modern versions of IIS, for what that's worth (not much in the shared hosting world!)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.