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
-
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 -
No-index all the posts of a category
Hi everyone! I would like no-indexing all the posts of a specific category of my wordpress site. The problem is that the structure of my URL is composed without /category/: www.site-name.ext/date/post-name/
On-Page Optimization | | salvyy
so without /category-name/ Is possibile to disallow the indexing of all the posts of the category via robots.txt? Using Yoast Plugin I can put the no-index for each post, but I would like to put the no-index (or disallow/) a time for all the post of the category. Thanks in advance for your help and sorry for my english. Mike0 -
Paginated URLs are getting Indexed
Hi, For ex: - My site is www.abc.com and Its paginated URLs for www.abc.com/jobs-in-delhi are in the format of : www.abc.com/jobs-in-delhi-1, www.abc.com/jobs-in-delhi-2 and vice versa also i have used pagination tags rel=next and rel=prev. My concern is all the paginated URLs are getting indexed so is their any disadvantage if these URLs are getting indexed as somewhere i have read that link juice may get distributed in case of pagination. isn't it good to use Noindex, Follow so that we can make the Google to understand that paginated page are not so much important and that should not be ranked.
On-Page Optimization | | vivekrathore0 -
Changing to Friendly SEO Urls
This is my site, example of a product : [Link removed] Would I lose rank in Google for changing all to friendly SEO urls? Thank you
On-Page Optimization | | 7liberty0 -
Ranking report problem
Hello, I have two things that I'm a little concerned. Ranking report is not working because all these keywords were on google first page but the report is showing the calendar sign Crawl results, I just went from 5000 warnings and errors to 4 in two weeks. It seems a little crazy
On-Page Optimization | | angelowei0 -
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 -
Wordpress permlinks SEO question
What are SEO advantages or disadvantages of the following - /%postname%/ - adds a trailing / /%postname% - no trailing / /%postname%.html - creates .html URL Thanks
On-Page Optimization | | SamBuck0 -
What is the best practice for changing a url of an existing page
I a looking through the on-page SEO reports in SEOmoz for one of my sites. It suggests that I change the url of a particular page to match the desired search term I want to rank for. In this case it is a site for a local business and the url is example.com/testimonials. when it probabaly should have instead been example.com/city-business-reviews. I have just a couple links to this page and I'm stuck towards the bottom of page 1 in the SERPs currently. Questions... 1. Should I change the url to include the exact keyword term I want the page to rank for? 2. If yes, what is the best method to ensure that any existing link juice to the current url is retained? Would I change the url, then create a new page with the old url and apply a 301 redirect to point it to the new page? Thanks!
On-Page Optimization | | fastestmanalive0