• Hi there,
    My first post here, so thanks in advance for the help.
    If I create a category in wordpress, it shows up dynamically on my blog, but what if I wanted that category to go to http://aspecificlink.com? Can I redirect the category and what is involved in doing so? I’d perhaps like some of the categories to point to pages outside my blog and instead to other pages on my domain.
    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m not sure why you would want to do this. It seems like you are trying to use a category as a link – something you can do from the link manager.
    If you have a category link, point outside your blog, people will not be able to browse only posts in that category.
    You can also always construct your category list yourself rather than having WordPress do it. Call: get_category_link($echo = false, $category_id, $category_nicename) repeatedly, replacing $category_id, with the category id number for the category you want to display. Category ID numbers can be found in category administration.
    For example:
    " title="General">General
    Will return a link to the category General (1 is the default category number for general).
    Hope this helps, I’m not entirely sure what exactly your trying to do.

    i kind of understand a valid purpose to point a category to someplace, i have a category called photos but i would like it to point to my photo gallery vs having a link called photos, since photos is part of the categories it would make sense to link it directly to the gallery but unsure how to do so.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can a category link redirect to a specific URL?’ is closed to new replies.