Site structure envolving categories to avoid the kw stuff

7 replies
  • SEO
  • |
Hello guys, I have a doubt about categories in Wordpress, I´m building a site of contests.

To simplify, I want a category like this:

hxxp://www.mysite.com.br/bank-of-brazil/

Storing posts like these:

hxxp://www.mysite.com.br/notice/notice-1-bank-of-brazil
hxxp://www.mysite.com.br/notice/notice-random-bank-of-brazil

and not:

hxxp://www.mysite.com.br/bank-of-brazil/notice-1-bank-of-brazil

In that case the category “notice” store notices of all the contests, including the contest of bank of Brazil, but when you click in
hxxp://www.mysite.com.br/bank-of-brazil/, you just see notices of "bank-of-brazil".

Someone knows how can I do it?



If you didn’t understand, please consider this url:

hxxp://www.concursosnobrasil.com.br/concursos/banco-do-brasil/

Let me explain: the word "concurso" in portuguese means "contest", in this case the name of the above domain have the word "contest", and have a category (or not a categorie, because this is not wordpress) named "contest" too. This is not my site.

So for example for the contest to work in the Bank of Brazil, that site uses the above URL to store all the notices about this specif contest. But when you click in some notice, you wont be redirected to for example:

hxxp://www.concursosnobrasil.com.br/concursos/banco-do-brasil/notice1

or

hxxp://www.concursosnobrasil.com.br/concursos/banco-do-brasil/notice2

but in this case, for example, to the notice of 16 of april, you will be redirected to the url:

hxxp://www.concursosnobrasil.com.br/concursos/noticias/saiu-resultado-das-provas-do-concurso-banco-do-brasil-2014.html

And in that case, I want to follow this site, to avoid the keyword stuff in the url.

For example, I want to avoid this:

hxxp://www.concursosnobrasil.com.br/concursos/banco-do-brasil/saiu-edital-do-concurso-banco-do-brasil

In that case a category “concursos” (contest), name of the contest “banco-do-brasil” (bank of brazil), and a notice of the contest (saiu-edital-do-concurso-banco-do-brasil).
#avoid #categories #envolving #site #structure #stuff
  • Profile picture of the author SEO-Dave
    Not 100% sure what you want.

    Under Settings : Permalinks

    Is the Custom box ticked and this added to the form?

    Code:
    /%category%/%postname%/
    That would give your current output (if I understood your question).

    If the above is your setup, tick the Post Name box and the category part will be stripped from the URL.

    David
    {{ DiscussionBoard.errors[10006290].message }}
    • Profile picture of the author paivadaniel
      Hello,

      consider this example:

      My subcategory is "apple", so when I click in the subcategory apple I will see the category "notices" just for apple, but the category "notices" have posts for limon and strawberry too. So I think I can have a main category "notices" and subcategories "apple", "limon" and "strawberry".

      If I activate category/postname as you told, I think I will see in my site of fruits this types of urls:

      fruits.com/notices/apple/how-eat-apple

      But I want

      fruits.com/notices/how-eat-apple (without the subcategory apple)

      notices from apple will appears in the subcategory apple and in the category notice, notices from limon will appears in the subcategory limon and in the category notice.

      and if possible I want for the subcategories:

      fruits.com/apple, instead fruits.com/notices/apple

      Thinking by this side I guess apple and notices have to be 2 independent categories.

      So if I activate "/%category%/%postname%/" as you told me, I will see:

      fruits.com/apple/how-to-eat-apple, and if registered in the another category too I will have fruits.com/notices/how-to-eat-apple, or not? How can I choose the url "fruits.com/notices/how-to-eat-apple" for a post appears in 2 categories (including the category in the url)?

      I dont want to create a page "apple" and have to update every time copying and pasting links of posts of notices of "apple".

      Originally Posted by SEO-Dave View Post

      Not 100% sure what you want.

      Under Settings : Permalinks

      Is the Custom box ticked and this added to the form?

      Code:
      /%category%/%postname%/
      That would give your current output (if I understood your question).

      If the above is your setup, tick the Post Name box and the category part will be stripped from the URL.

      David
      {{ DiscussionBoard.errors[10006419].message }}
      • Profile picture of the author yukon
        Banned
        Originally Posted by paivadaniel View Post

        But I want

        fruits.com/notices/how-eat-apple (without the subcategory apple)
        Use Parent/Child Pages:

        Example:
        • hxxp://fruits.com
          • hxxp://fruits.com/apples
            • hxxp://fruits.com/apples/honeycrisp-apple
            • hxxp://fruits.com/apples/red-delicious-apple
            • hxxp://fruits.com/apples/fuji-apple
            • hxxp://fruits.com/apples/golden-delicious-apple
            • etc...
        {{ DiscussionBoard.errors[10006594].message }}
        • Profile picture of the author paivadaniel
          Originally Posted by yukon View Post

          Use Parent/Child Pages:

          Example:
          • hxxp://fruits.com
            • hxxp://fruits.com/apples
              • hxxp://fruits.com/apples/honeycrisp-apple
              • hxxp://fruits.com/apples/red-delicious-apple
              • hxxp://fruits.com/apples/fuji-apple
              • hxxp://fruits.com/apples/golden-delicious-apple
              • etc...
          I work with a plugin to build the posts, developed specially to this site, so I cant create pages for all notices, but posts.

          I dont know if you understood what I want, its simple, just do the same as that site are doing:

          hxxp://www.acheconcursos.com.br/concursos-banco-do-brasil

          if you access this page and click in a post in "ultimas noticias" (last news), for example to the post with the title "Resultado do concurso do Banco do Brasil é divulgado pela Cengranrio" you will see:

          hxxp://www.acheconcursos.com.br/noticia/resultado-do-concurso-do-banco-do-brasil-bb-em-2015-sai-nesta-quinta-feira-2530

          Note the slug isnt like hxxp://acheconcursos.com.br/concursos-banco-do-brasil/noticia/...

          For this I think I will have to create a page like:

          hxxp://mysite.com/apple

          and a plugin that select all noticies with category "notices" and the subcategory "apple" and list that posts in the page "mysite.com/apple" automatically, keeping the option in the permanent links without category in the slug.

          So, I will have:

          hxxp://mysite.com/apple

          listing links to posts in the content of that page, posts of the category notices, subcategory apple:
          hxxp://mysite.com/how-eat-apple
          hxxp://mysite.com/delicious-apple

          Every time that I build a post of category notices, and subcategory apple, it will be updated in that page. But for this I will have to hire a developer. There is an easier way? What do you say?
          {{ DiscussionBoard.errors[10006689].message }}
  • Profile picture of the author SEO-Dave
    I didn't say activate "/%category%/%postname%/"

    I asked is that your current setup?

    If I understand your question I think that's your current setup.

    I don't use the above permalinks setting, terrible SEO wise. If you have that setup WordPress will use the first category as the slug for posts.

    Why do you want the category slug as part of the URL for posts?

    The "Post Name" permalink option is much better, if you want a keyword within a URL add it to the posts slug.

    I don't think there's a way to have sub-categories not use the main category in the slug because you can have a main category with the same name as a sub-category.

    Category = apple
    Sub-Category = apple

    Would result in two categories with the example.com/category/apple/ slug.

    David
    {{ DiscussionBoard.errors[10006563].message }}
    • Profile picture of the author paivadaniel
      Originally Posted by SEO-Dave View Post

      Why do you want the category slug as part of the URL for posts?
      Because it will be a large site (at least in quantity of content), I did a project and in my conception is the better way to build the site, and when I researched big portals in the niche, they use exactly that way too. But it´s not a rule, I just want avoid kw stuff and keeps a organized hierarchical structure.
      {{ DiscussionBoard.errors[10006673].message }}
  • Profile picture of the author paivadaniel
    For those who have a similar project, you can do it changing the htaccess file.
    {{ DiscussionBoard.errors[10630026].message }}

Trending Topics