URL magic

Posted in: Newspaper
Post count: 2

Good day.

The problem is with public URL.

During post creation I point primary category(everywhere: WP + newspaper settings), but as result I can get random URL in public.
For example, site structure:
Category_1 Subcategory_1_1 Subcategory_1_2
Category_2
Category_3

1) I create post and set as primary Subcategory_1_2, plus assign it to Category_1
Url in WP: http://site.com/category_1/subcategory_1_2/goddamn_post.html
2) Post published
3) When I view http://site.com/category_1/ post URL is
http://site.com/category_3/goddamn_post.html
When I view in http://site.com/category_1/subcategory_1_2/ post URL is
http://site.com/category_3/goddamn_post.html
When I view in http://site.com/category_3/ post is missing
When I go http://site.com/category_3/goddamn_post.html – it redirect me to http://site.com/category_1/subcategory_1_2/goddamn_post.html

When Newspaper Theme is off – everything is fine. Hepl?

Post count: 23312

Hello NightSerf,

We have done a lot of investigation and we found that this problem comes from SEO Yost Plugin in which relate to permalinks (our theme uses get_permalinks function). Please check the following links for more references in this regard, like this -> https://forum.tagdiv.com/topic/error-links-after-upgrading-to-7-newspaper/ and here ->
https://github.com/Yoast/wordpress-seo/issues/4328

Hope this helps!

Thanks for your understanding!

Post count: 2

Thanks for reply
Yep. I tried to install older versions and it start working @ 3.1.1
https://wordpress.org/plugins/wordpress-seo/developers/

Good luck with troubleshooting and best regards.

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.