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 6879173
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T04:48:48+00:00 2026-05-27T04:48:48+00:00

I am using Zend Router in my project and the rule is like this;

  • 0

I am using Zend Router in my project and the rule is like this;

<projects type="Zend_Controller_Router_Route_Regex">
            <route>project/(\d+)/(.+)</route>
            <defaults>
                <controller>project</controller>
                <action>view</action>
            </defaults>
            <map>
                <projectid>1</projectid>
            </map>
            <reverse>project/%d/%s</reverse>
        </projects>

When i go below url;

http://mydomain/project/1/project_name

All the urls exist on this page are replaced with above url.For example, there is a link in this page for sending message to project owner.When i hover on that link, i see that url is as defined above.Message sending url is created like this;

<a href="<?=$this->baseUrl()?>/misc/sendmessage">Send Message</a>

As you can see above, i am using url helper and the content of baseUrl is simply gets keyword called “baseUrl” from appliation.ini file.

Have you ever faced a problem like this?

Thanks in advance

KR
Hüseyin

  • 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-27T04:48:49+00:00Added an answer on May 27, 2026 at 4:48 am

    I added “<route>default</route>” to all pages in navigation.This default route must be added to navigation xml for each page.The problem is fixed

    Current navigation.xml:

    ......
    <settings>
       <label>Settings</label>
       <title>Settings</title>
       <resource>edit</resource>
       <privilege>edit</privilege>
       <controller>experts</controller>
       <action>edit</action>
    </settings>
    ......
    

    Updated navigation xml:

    ......
    <settings>
       <label>Settings</label>
       <title>Settings</title>
       <resource>edit</resource>
       <privilege>edit</privilege>
       <controller>experts</controller>
       <action>edit</action>
       <route>default</route>
    </settings>
    ......
    

    Thanks

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

Sidebar

Related Questions

I need to convert string like this: $url = 'module/controller/action/param1/param1value/paramX/paramXvalue'; to url regarding current
Using the Zend Framework and the url method for the view: $this->url(array('field1' => this,
Using Zend Lucene I cannot search numbers in description fields Added it like this:
Using Zend_Form, how would I create form elements like this: <input type=text name=element[1] value=
so I'm using zend_router to route my index page in my controller to an
We are using the Zend Router and it seems that its overwriting the parameters
I'm using MVC with /<module>/<controller>/<action>/ have a module at example.com/module/whatever, and I need to
I'm going to start a project using a Zend Framework MVC implementation. How do
I am using the mod-rewrite router. I am trying to add a Route to
I have no idea how realize it. I have this router $route = new

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.