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
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...
the kitesurf centre
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.
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.
Lots of troubleshooting tips over in the Docs at the Using_Permalinks page. Do you know if your host is Linux or Windows?
the kitesurf centre
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.
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!)