문제

I have a custom theme and when I try to export the posts for the custom post type called 'news' via Dashboard > Tools > 'News' > Download Export File (image attached) I get a 403 'Forbidden' message on my localhost set up. On the live site I get a 404 error.

Does anybody know how to correct this issue?

Thanks in advance for an assistance.

enter image description here

도움이 되었습니까?

해결책

I found the solution to this problem. It was the security code below that I had in my .htaccess file that was being used to stop author scans of my site. On removing this I could then export any type of post with the export tool.

# BEGIN block author scans
RewriteEngine On
RewriteBase /
RewriteCond %{QUERY_STRING} (author=\d+) [NC]
RewriteRule .* - [F]
# END block author scans
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 wordpress.stackexchange
scroll top