Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
HTC access 301 redirect rules regarding pagination and striped category base (wp)
-
I am an admin of a wordpress.org blog and I used to use "Yoast All in one SEO" plugin. While I was using this plugin it stripped the category base from my blog post URL's.
With yoast all in one seo: Site.com/topic/subtpoic/page/#
Without yoast all in one seo: Site.com/category/topic/subtopic/page/#Now, that I have switched to another plugin, I am trying to manage the page crawl errors which are tremendous somewhere around 1800, mostly due to pagination. Rather than redirecting each URL individually I would like to develop HTC access 301 redirects rules. However all instructions on how to create these HTC access 301 redirect rules are regarding the suffix rather than the category base. So my question is, can HTC access 301 redirects rules work to fix this problem? Including pagination? And if so, what would this particular HTC access 301 redirect look like? Especially regarding pagination? And do I really have to write a 301 redirect for each pagination page?
-
Did you have any luck using this plugin to correct your issue, Jennifer?
-
You could just try installing the No Category Base plugin to replace what the Yoast plugin was doing and see how much of your issue that corrects.
http://wordpress.org/extend/plugins/wp-no-category-base/
If it's just the category base that disrupting your paginated pages as well, that will solve it.
Let us know if it works?
Paul
P.S. an .htaccess rule could be written to strip out the /category part of the URL, but the plugin handles it much more simply and has very low overhead.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Explore more categories
-
Chat with the community about the Moz tools.
-
Discuss the SEO process with fellow marketers
-
Discuss industry events, jobs, and news!
-
Chat about tactics outside of SEO
-
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
-