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
-
Unsolved What should I do with WordPress Blog homepage
Hi, I have a large WordPress blog with thousands of posts. By default, the blog homepage contains the excerpt of each posts. As there are so many posts, the homepage is paginated(Totally 1341 pages) I use siteliner to check and find a lot of duplicate contents on the blog homepage. So, what should I do with it? Should I noindex the homepage and all the paginated pages accordingly? Thank you
On-Page Optimization | | ccw0 -
Why the url inspection is disabled in search console ?
In this situation, how can we make our pages be fetched by google?
On-Page Optimization | | supporthandle0 -
Is it better to shorten my existing url to use only keyword after domain with a 301 redirect from existing url
I have a long existing URL that has included my key word but the url has about 5 additional words in the text ( eg url would have " /super widgets in stock at the widget store " as url text after domain. keywords is super widget The URL was at the top of search results for my keyword for many years until recently. Is it better to shorten my url text to now use only my keyword " /super-widgets " after the domain with a 301 direct from my existing url to optimize it Thanks
On-Page Optimization | | mrkingsley2 -
Url lenght/depth - Short or specific?
Hi, I'm trying to decide the best structure for a directory my site offers (containing all the businesses working in the field) and I'm not sure whether to choose something shorter or being more specific. So, I have 3 variables: Type of business (I mean, specific sector) Region City And I'd like to give some strength to every one of it. So, the complete URL (the one I'd like to use) could be: www.mysite.com/sector/region/city/business-name What I was not sure about is...is that too deep? I mean, even thought I'd like to perfectly categorize them and give some strength to every sublevel, I'm not sure about having the business-name so "far" and so "deep". Thank you for your ideas!
On-Page Optimization | | Daniele_Carollo0 -
Category pages - SEO or deindex?
What is the best thing to do with category pages? Should I deindex them or use SEO on them? I use the Thesis theme and the Wordpress SEO plugin. I am just not sure what to do with category pages. Also will they create duplicate content?
On-Page Optimization | | dealblogger0 -
Is that a problem for indexing?
Hi all, I have an issue driving me crazy thant I think it could be impacting in the SERPs. My site has a spanish version "www.tarifakitesurfcamp" and an english version "www.tarifakitesurfcamp.com/en". These two "pages" in the CMS ("inicio" and "home") have the same title and the same description tag (in spanish) as the plugin ALL in one SEO only allows me to write one unique title and description for the home page via GENERAL OPTIONS (there's an option for "home title" and for "home description").. If a try to assign a title and a description individually for each page it doesn't work (I can't see the titles and description in the source code" of those pages. On the other hand, there's another page that is http://www.tarifakitesurfcamp.com/?attachment_id= which I can't locate in the CMS within pages section. This page has the same tittle and description as well. Could anyone give me a solution? Thanks.
On-Page Optimization | | juanmiguelcr0 -
Moving a site from .cfm to Wordpress - How to keep the authority?
Hi guys, My client has a site built with Cold Fusion (web pages end in .cfm) and we're moving them over to Wordpress (for many reasons), keeping the same menu structure and navigation. Their previous SEO company was pretty awful, however, they did manage to establish some decent authority/backlinks for the website and its 20 or so pages. My questions: I assume I'll want to do 301 redirects for each page, possibly by editing the .htaccess file? Any advice on this? Anything else I need to consider in this move? Thanks!
On-Page Optimization | | alpen0 -
Which is Best Practice for creating URLs for subdomain?
My website is related to education. We have created sub domains for all major colleges, universities & Entrance exams like Gre, Toefl ETC. for eg: amityuniversity.abc.com (Amity is Name of University ) Now if have to mention city name in URL as well (college is located in multiple locations) amityuniversity-delhi.abc.com
On-Page Optimization | | rohanarora536
amityuniversitydelhi.abc.com Now my Q is can we use hyphens in sub domains if we have to add city name or shall we create without using any hyphens. In Directory structure we can always separate words with hyphens, can we follow same practice in subdomain as well Which is a best URL for subdomain amity-university-delhi.abc.com
amityuniversity-delhi.abc.com
or amityuniversitydelhi.abc.com0