404 in custom post type feed with mistake permalink

I have a wordpress site that uses this custom post type : “movie” in theme.

I changed permalinks to “%postname%.

Every things is ok but google gives a toll 404 error for any custom post type articles.

I checked the errors in webmaster tools and found every article in custom post type has this link:
http://example.com/movie/article-name/feed/
that is not exist (404 error).

The issue is here:

<link rel="alternate" type="application/rss+xml" title="someTitle" href="http://example.com/**movie/article-name/feed/**">

But by changing that address to this:
http://example.com/article-name/feed
it has ok.

I changed permalinks after installing new theme.

Please help me.

Read more here: 404 in custom post type feed with mistake permalink

Leave a Reply

Your email address will not be published. Required fields are marked *