Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug on Permalink Settings stripped the Category Base from Category URLs. #47

Closed
odick opened this issue Jun 18, 2013 · 2 comments
Closed

Comments

@odick
Copy link

odick commented Jun 18, 2013

Problem:
Within the Permalink Settings I have stripped the Category Base from Category URLs.
Now within a category the first page is working fine without the category base. When I want to view the second page I get an 404 error. When I add the category base to the url, I can view the second page
More detail I find here:
http://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-permalinks-category-base-problem
Solution for now:
Uncheck the 'category base checkbox', save, check the 'category base checkbox' again, save. Now it should work again.

Just found this bug today after adding a category template for my theme, hope it's usefull :)
Wp version 3.5.1
plugin version 1.4.7

@echoLP
Copy link
Contributor

echoLP commented Jun 19, 2013

I have been trying to recreate this issue, but I can't seem to under the trunk version here. If possible clone this repo and run some tests against it. If you are able to recreate it please provide me with any other settings you have checked off under Permalink Setting from Yoast SEO and Permalink Setting from Wordpress's Settings Menu.

@odick
Copy link
Author

odick commented Jun 21, 2013

Hello, here is my setting for:
Permalink Setting from Wordpress's Settings Menu:
On Common Settings:

On Optional

  • Both category and tag are blank

Permalink Setting from Yoast SEO:
Checked:

  • Strip the category base (usually /category/) from the category URL.
  • Enforce a trailing slash on all category and tag URL's
  • Redirect attachment URL's to parent post URL.

When using plugin version 1.4.7, what I do is add bunch of new category (both parent and child)
Then browse the site using http://domainname.com/categoryname
Move to the next page (http://domainname.com/categoryname/page/2/) and got not found error
The solution is:
At Permalink Setting from Yoast SEO I uncheck "Strip the category base (usually /category/) from the category URL" then save then check again, and save.
Finally http://domainname.com/categoryname/page/2/ works well

Today I just test the plugin version 1.4.8 [from Github], add bunch of new category (both parent and child)
It seem that everything work well, but I'm not so sure the bug still exist or not.
Tested on Wp version 3.5.1

@odick odick closed this as completed Jun 22, 2013
seripap pushed a commit to seripap/wordpress-seo that referenced this issue Nov 19, 2015
Disable enter key in snippet preview, to prevent submit and line breaks in the snippet preview
hansjovis pushed a commit that referenced this issue Nov 21, 2022
Added word breaks to tables to fix issue in Chrome
hansjovis pushed a commit that referenced this issue Nov 21, 2022
Added page describing the wpseo_local_post_type filter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants