Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6593049
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T17:37:58+00:00 2026-05-25T17:37:58+00:00

I have an article management module in my codeigniter application. The heirarchy goes like

  • 0

I have an article management module in my codeigniter application. The heirarchy goes like this

primary->secondary->tertiary->article list->article

Now i have a tree view which will expand based on the above given heirarchy. In the tree view if a user clicks on a secondary category i would show them all the list of articles under that secondary category irrespective of tertiary category. In the same way if some one clicks primary category im showing a list of articles under that primary irresepective of secondary and tertiray. The current approach im following is

<a href="/articles/show_primary/primary_name">Primary Name</a>
<a href="/articles/show_secondary/secondary_name">PSecondary Name</a>
<a href="/articles/show_tertiary/tertiary_name">Tertiary Name</a>

From an seo perspective the identifier show_primary, showsecondary in the uRLs are just noise.

So id like to know if there is some easy way thtat i can adopt to clean up the urls and make them look like

> <a href="/articles/primary_name (or) secondary_name (or)
> tertiary_name">type name</a>

and identify the correct category in the business logic.

P.S I know that i can look into all the tables and find the best match and use it, but im looking for an even easier method if one exist.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T17:37:58+00:00Added an answer on May 25, 2026 at 5:37 pm

    I’d setup a custom route. Maybe something like this?

    $route['articles/([a-zA-Z0-9]+)'] = "/articles/show_tertiary/$1";
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have followed this article and implemented my service and I can open the
I have read this article from High Scalability about Stack Overflow and other large
I have read this article about 400% boost of your website . This is
Per this helpful article I have confirmed I have a connection pool leak in
i created a FTS by this article i have a column with type of
I have an article controller, which manages all article relations like authors, translations, related
In a content management system, moderators have to approve changes to existing articles. Currently
I have model Article it has field title with some text that may contain
Say that I have an article with multiple pages. Each page has a short
I have lots of article store in MS SQL server 2005 database in a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.