Wordpress category url problem.
-
I have set up wordpress categories but the permalinks are showing as www.mydomain.com/?cat=12 as opposed to the category name. The child categories though work fine and show as www.mydomain.com/category/chidcatgegory
I've obviously got my permalink settings wrong somewhere. How do I fix this?
-
I would suggest you implement the plugin SEO by Yoast and then follow all the configuration steps. It will help you solve all your permalink options while providing information on which will be the best option.
Hope that helps!
-
Hi Samuel,
To change your permalink structure, you need to log in as an admin and go to Settings->Permalinks.
Under Common Settings, select Custom and enter the following text into the text field:
/%category%/%postname%/
This should set your permalinks structure to domain.com/category-name/blog-post-title
-
what settings should I select in there to make it work?
-
Did you try settings --- permalinks --- then either common settings or optional?
Under optional is says
If you like, you may enter custom structures for your category and tag <abbr title="Universal Resource Locator">URL</abbr>s here. For example, using
topics
as your category base would make your category links likehttp://example.org/topics/uncategorized/
. If you leave these blank the defaults will be used.
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
-
Smae Category Descriptions but in Different Cities
Hi, I was curious, if I have a guide with 20 categories, and that guide is in 10 different cities, can I have a category description for each city that simply swaps out the city name? Seattle Big Widgets
On-Page Optimization | | EBKMarketing
We offer the largest selection of widgets in the Seattle area. We have small widgets, medium widgets, large widgets. We have so many widgets, most people in Seattle are blown away by our selection. Portland Big Widgets We offer the largest selection of widgets in the Portland area. We have small widgets, medium widgets, large widgets. We have so many widgets, most people in Portland are blown away by our selection. Would this be considered duplicate content, if it's followed by distinct city listings? Writing 20 decriptions would be nicer than writing 200. Just trying to think about SEO, resources, best use of time, etc. Thanks0 -
301 vs. keeping identical URL
Hey everybody! I have a question pertaining to our redesign. The situation is as follows: /drug-rehab/alcohol-withdrawal-los-angeles gets a decent amount of views on out website, and we would like it to be on our redesigned site. I was curious what impact, if any, I would see given the two scenarios below. 301 to /alcohol-withdrawal make the new page /drug-rehab/alcohol-withdrawal-los-angeles as well The second situation is that there are a serious of other pages which don't seem to be of drastic benefit, which I don't feel NEED to be on the website. For example: /post-acute-alcohol-withdrawal-treatment/drug-los-angeles /rehabs-resources/drug-abuse/sub-acute-alcohol-withdrawal etc It appears to me that the content on these pages is rather similar, and I feel like they don't really say anything special. Can I 301 them to the new page? Should I let them die in the black hat inferno they were made in? Any thoughts are greatly appreciated! Thanks guys!
On-Page Optimization | | HashtagHustler0 -
Post url not matching with post title ( wordpress)
I have this site called searchoflife.com on which I have noticed the post urls are not matching with the post title. For Example:Post Title - A Dialogue With NaturePost URL - http://searchoflife.com/dialogue-nature-2013-09-12 Words like 'A' and 'with' are not present in the post URL. This has been the trend since a few days. After investigating I found out that it was due to my plugin SEO ultimate which is actually creating post slugs automatically for the post urls. So my question is whether it is advisable to use post slugs instead of the full post url. Does it affect the SERPS for my site?
On-Page Optimization | | toxicpls0 -
Optimize URL
Hello, My website have been running over five years. I have just reviewed and seen some URLs had not good. It is http://www.vietnamvisacorp.com/faqs/who-need-visa-to-vietnam---1.html, containing characters "---1". Should I remove unnecessary characters "---"?. Thanks for any advice!
On-Page Optimization | | JohnHuynh0 -
Removing old URLs that are being used for my on page optimization?
Is there a way to remove old URL's that are still being used for my keywords for my on page optimization? They are giving me grades of F since they no longer exist and if I change the URL to the current one, the grade becomes an A, but they are still showing after the new crawl.
On-Page Optimization | | Dirty0 -
Would Changing the Titles of Root Categories Be Bad?
I have researched some more effective keywords to change my root category titles to. I am wondering if it would be a bad idea to change these titles considering all the things that could go wrong. From what i'm gathering there are a LOT of things that can go wrong but at the same time these things do need to be changed sometime! Is this a good or a bad idea & why? What could go wrong? Should I try changing the category titles one at a time instead of risking every one of my keywords / category titles not working out in the serps right away?
On-Page Optimization | | Mike.Bean0 -
Impact of website redesign when changing to wordpress
Agency designed website and not sure what platform was used. Are now working minor redesign of site but wants to do so in word press. I don't have any problem with word press but don't want to start over ranking for key phrases. I don't want to change URL from mysite.com for the home page. What is the right way to make sure this is done correctly. I could not find a resource on the site. I don't mind researching this but am not sure what to search for to find info. Thanks
On-Page Optimization | | arainey0070 -
Impact of removing category sidebar with keywords?
Our site (a niche financial publication: insideARM.com) requires some more room in the sidebar. We're considering removing the categories (we call them topics) sidebar block, or cutting down the number of items displayed within it. My concern is that we'd be removing a direct link to landing pages for important keyword terms from our most powerful page (the index). Sure, we have the terms listed in the footer, but I am worried that the position change will lower the value of the links. Our users don't really use these links for navigational purposes, which is why it comes up as a potential removed item. Am I wrong to worry about this? Would we be crippling our category pages by doing this?
On-Page Optimization | | insideARM0