Forums

Redirect category link to page link (5 posts)

  1. PhilViles
    Member
    Posted 5 months ago #

    Is there a way I can redirect a URL to another URL when clicked upon?

    For example, I'm using Arthemia and have 5 categories selected in the 'Browse Category' section that runs across the middle of the index.php page. Ideally, I want these categories to link to pages. I thought I could use a redirect command to take, say, /thisisfootball/?cat=18 directly to /thisisfootball/?page_id=101 when clicked on.

    Is this possible?

    Many thanks,
    Phil

  2. janecraft
    Member
    Posted 4 months ago #

    I'd love an answer to this as well. I am building a CMS and prefer to avoid the category pages (and the /category/ urls!) in my site. Is this possible? Is there a better way?

  3. janecraft
    Member
    Posted 4 months ago #

    After poking around, I've found the Redirection plugin works well. You can use it to redirect one URL at a time. I've done it globally with the help of the folks over at the plugin forum. When I click on the "products" category (for example), I wanted to land on the "products" page (/products/) rather than the products category archive listing (/category/products/). To do this, the source URL should be "/category/(.*)" (without the quote marks) and the target URL should be "/$1" (again, no quotes). This advice is lifted directly from Ricky Buchanan at the plugin forum here: http://urbangiraffe.com/support/topic/please-expand-the-example-in-the-documentation-blog-1#comments. It worked beautifully.

  4. othellobloke
    Member
    Posted 4 months ago #

    Janecraft... you could avoid the '/category' permalink by just changing the permalink in the admin area.

  5. elemsee
    Member
    Posted 2 months ago #

    Jane's solution doesn't really address the problem of the Arthemia user who wants to redirect items in the horizontal categories module to pages instead. In my case, I want to link to sub-domains.

    Anyone know of any plugins or work-arounds that could help achieve this?

Reply

You must log in to post.

About this Topic