• Resolved PolitricksIndia

    (@politricksindia)


    Hi,
    I have got my website created by someone but the guy has left the work with one major issue, whcih I’m not able to solve.
    I was supposed to have to different categories “MediaBox” and “Pollbox” on my website but the guy created same url i.e https://www.politricks.co.in/?cat=7 showing same categorgy.

    How can I solve this issue? through Post->Categoies or through header.php.and what is the link Post->Categoies at code level?
    Kindly help

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi, if you select Post name option from the Permalink Settings, you will see your category in your browser address bar. Also, this is important for SEO.

    Thread Starter PolitricksIndia

    (@politricksindia)

    Thanks Silver,
    I’m one day old in wordpress.
    My problem is that 2 buttons i/e poolbox and mediabox buttons are pointing to the same categoryon my website- https://www.politricks.co.in , whereas I want 2 different categories for them as the content is going to be different.
    I don’t know how these two buttons can be internally mapped to these two categories? Through Post->Categoies or through header.php.

    You can change your navigation links from WP admin > Appearance > Menus.

    Thread Starter PolitricksIndia

    (@politricksindia)

    Sorry, not able to correlate the navigation links of the categories in the admin > Appearance > Menus. Can you tell me how can I find the ID of the target Category- i could not find it under Categories administration panel.
    If possible To undertand my problem take a look on https://www.politricks.co.in/ and click on cotegories(not pages) “Mediabox”[extreme left] and “Poolbox”[Extreme right] of homepage of my site, You will find that both points to single url ” https://www.politricks.co.in/?cat=7
    To be pricise how can I link a “mediabox” category to the following code in header.php file
    <span class=”media”><img alt=”” src=”https://www.politricks.co.in/wp-content/themes/twentyten/images/media_logo.png”&gt;</span>

    I’m using WordPress 3.8.1
    Thanks

    In your wordpress admin page, click on Posts and then select Categories. Mouse over to the Mediabox category, you will see that the link is similar to something ending like this

    wp-admin/edit-tags.php?action=edit&taxonomy=category&tag_ID=3&post_type=post

    the value of tag_ID is the category ID. Change this in the header.php <span class="media"><a href="https://www.politricks.co.in/?cat=x"> where x is the value you just found above.

    PS: I second silver’s opinion that you should use category names in all your links instead of ?cat=x.

    PPS: Sorry mate, but the guy who set up the site didn’t do a great job. I think you are better off starting from square one. If you need any help, let me know.

    Yes I am agree the above post.

    In two words: Go to your category edit screen, you will see a number in your browser address bar, that is the cat id.

    Thread Starter PolitricksIndia

    (@politricksindia)

    Thanks Silver & ‘thecodeisclear’, it solved my issue.
    I’m marking it as resolved
    Any good resource on web to refer such intricacies of wordpress ?

    HI !
    Maybe you shuold find the guy created website and ask him

    The WordPress Codex is a good starting point to understand WordPress. For specific questions, there is nothing that beats an internet search. ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘I have 2 categories having same url, how can i seprate their url?’ is closed to new replies.