HoganHost blog

[email protected]

Sorry, you are not allowed to preview drafts” and more

Hola if you try posting new article on your site and when done, trying to preview publish post or draft article and you came across this message

Sorry, you are not allowed to preview drafts”

 

 

Do not panic, for we are here to show you how to solve the issue, all you need to do is follow this steps

 

1. Check your .htaccess file: If you have made any changes to your settings like permalinks, you may have to update the .htaccess file. Normally wordpress will automatically update this for you. But sometimes due to permission issues wordpress may not able to re-write your .htaccess file. In that case you may need to copy and paste the code into your .htaccess file and upload it your server using ftp or file manager.

2.WordPress address setting: If your .htaccess files are correct and if you are still getting the “you are not allowed to preview drafts” error, then check your WordPress Address (URL) and sit address(URL) settings. If they are not the same, then you will get this error.

If one is www version and the other is non www, then change both to wither www or non www whichever is your preferred version.

 

we hope this article helps, check out our hosting plans