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

  • Home
  • SEARCH
  • 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 208493
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T17:49:50+00:00 2026-05-11T17:49:50+00:00

I run a site where it is important to have good and simple URLs

  • 0

I run a site where it is important to have good and simple URLs that need to be localized.

Example for the english version:
example.com/car/?type=fiat

Example for the Swedish version:
example.se/bil/?typ=fiat (bil is car in swedish)

And ofcourse I would like to handle all of these URLs from the same codebase. What is the best way to handle this?

Should I set up several controllers (CarController, BilController) or is there a “cleaner” way to handle localized controller names?

BR
Niklas

  • 1 1 Answer
  • 1 View
  • 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-11T17:49:50+00:00Added an answer on May 11, 2026 at 5:49 pm

    What about rewriting the URL depending on the domain? This way, the Zend framework will get only the English names, while the URL can use localized names.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We are designing a web site and have run into some UI challenges that
I have two sites that run in parallel, one is in English and the
I have a task that is not important ; it should be run once
I would like to run this script (embed drive list in a site) that
I am creating a site for me only that will run from my server.
I run a small site and use PostgreSQL 8.2.17 (only version available at my
I am developing an auction site that requires maintenance scripts to be run in
I have a wordpress site that im list out files in a directory. The
I have a site that get content from other sites with some JSON and
I currently run an outdoor site and people have been asking me to add

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.