How to Delete the slug /category/ from wordpress category pages
-
Hi all,
I would like to ask you what's the better way to eliminate the slug /category/ form the wordpress category pages. I need to delete the slug /category/ to make the url seo frendly. The problem is that my site is an old site with the page indexed by Google for a long time.
Thanks for your advice.
-
Hi,
What David mentioned in his response is the best way to remove the /category/ from the URL. However, based on your comment, you can't remove the /category/ because it conflicts with the page URLs which kind of contradict your initial question.
I would suggest reworking on the page URL and the category URL. If you use 301 redirect to redirect the old URL to the new URL, everything should be fine once Google crawls your site again and see the redirect.
-
Hi David, thanks for your answer.
I usually use the plugin Wordpress Seo By Yoast to "Strip the category base (usually /category/) from the category URL" but in this case I'm not able to use it because It makes conflict with the pages url.
Regards.
-
If you're using the Yoast WordPress SEO plugin (which is the best for SEO, in my opinion), and you go under Permalinks within the SEO menu, the first item on the list is the option to "Strip the category base (usually
/category/
) from the category URL."If you do this, I would of course first compile a list of your current category URLs and all the URLs that live under them, and drop them into whatever you use for 301 redirects (I use a plugin called Redirection, which is great) and redirect everything on that list to the version of that URL without the /category/.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Contact Page
I'm currently designing a new website for my wife, who just started her own wedding/engagement photography business. I'm trying to build it as SEO friendly as possible, but she brought up an idea that she likes that I've never tried before. Typically on all the websites I've ever built, I've had a dedicated contact page that has the typical contact form. Because that contact form on a wedding photographers website is almost as important as selling a product on an e-commerce site, she brought up the possibility of putting the contact form in the footer site-wide (minus maybe the homepage) rather than having a dedicated contact page. And in the navigation, where you have links such as "Home", "Portfolio", "About", "Prices", "Contact", etc. the "Contact" navigation item would transfer the user to the bottom of the page they are on rather than a new page. Any thoughts on which way would be better for a case like this, and any positives/negatives for doing it each way? One thought I had is that if it's in the footer rather than it's own page, it would lose it's search-ability as it's technically duplicate content on each page. But then again, that's what a footer is. Thanks, Mickey
Technical SEO | | shannmg10 -
Trackbacks on wordpress
If you've got a genuine blog mentioning your website is it wise to accept a trackback to the site. The site is wordpress?
Technical SEO | | Cocoonfxmedia1 -
How do I fix issue regarding near duplicate pages on website associated to city OR local pages?
I am working on one e-commerce website where we have added 300+ pages to target different local cities in USA. We have added quite different paragraphs on 100+ pages to remove internal duplicate issue and save our website from Panda penalty. You can visit following page to know more about it. And, We have added unique paragraphs on few pages. But, I have big concerns with other elements which are available on page like Banner Gallery, Front Banner, Tool and few other attributes which are commonly available on each pages exclude 4 to 5 sentence paragraph. I have compiled one XML sitemap with all local pages and submitted to Google webmaster tools since 1st June 2013. But, I can see only 1 indexed page by Google on Google webmaster tools. http://www.bannerbuzz.com/local http://www.bannerbuzz.com/local/US/Alabama/Vinyl-Banners http://www.bannerbuzz.com/local/MO/Kansas-City/Vinyl-Banners and so on... Can anyone suggest me best solution for it?
Technical SEO | | CommercePundit0 -
Page feedback
We recently wrote a new website page to cover the direct mail services our organization offers. We kept the title tag to 70 characters, the meta description under 150 characters. H1 tag has what we feel is the most important term. If anyone out there has time to review & provide a little feedback, we'd really appreciate it. It would be great to know if it is built well and providing a solid end user experience. http://www.cushingco.com/print_products/additional_services/direct_mail.shtml At the moment, the only links pointing to this page are from our blog. One bit of content I am contemplating is a short paragraph - What is Direct Mail Marketing? Literally providing a short definition of it. The page was activated last Thursday and showing up in some Google results on the 4th/5th page but I am thinking this is probably just a temporary bump for now. Anyway, thanks in advance for any advice!!!
Technical SEO | | SEOSponge0 -
Does http://my.dudamobile.com/ Effect SEO
Hi, Hope everyone is enjoying the new year! I was wondering if converting your desk top website to a mobile one, example via http://my.dudamobile.com/, has any negative effects on SEO. Did it effect your site? Do you recommend doing it? Does it effect links? When people link to your desk top URL does that authority carry to the mobile, or would it be better if they link to the mobile (m.website.com) URL? Is http://my.dudamobile.com/ a good choice? Any feedback, as always, is greatly appreciated! Thanks Jimmy
Technical SEO | | jimmy02250 -
Page crawling is only seeing a portion of the pages. Any Advice?
last couple of page crawls have returned 14 out of 35 pages. Is there any suggestions I can take.
Technical SEO | | cubetech0 -
301 category page to Homepage to increase authority
Hello all, Hope everyone is well and are enjoying the summer. I am currently working with a site: www.corporatehealth.co.uk and have been trying to rank on the first page for the keyword occupational health. currently we are ranking on the second page: http://www.google.co.uk/search?q=occupational+health&pws=0&gl=uk#q=occupational+health&hl=en&pws=0&gl=uk&prmd=ivnsb&ei=38dUTuHCDdGKhQetqZn5BQ&start=10&sa=N&bav=on.2,or.r_gc.r_pw.&fp=80a9548917d021a&biw=1920&bih=878 I understand I need to get more links pointing to the site and page itself. My idea was to do a 301 redirect from the occupational health page to the homepage and add occupational health content to the homepage as ultimately they are an occupational health service supplier. Was hoping to get anyones thoughts on the issue. Thanks in advance Shehzad
Technical SEO | | Gareth_Cartman0 -
How do you add a description to the Meta Description area to Tag Pages in Wordpress? This way I do not get the errors: "Missing Meta Description Tag" from SEOMoz Bot? Thanks!
I tried to add descriptions to my tags in Wordpress (well actually one to test), but I still keep getting the "Missing Meta Description Tag" error. Any suggestions on how to fix this in Wordpress? Thanks!
Technical SEO | | jhblogger0