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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T21:33:04+00:00 2026-06-04T21:33:04+00:00

I created a new bundle on a Symfony project, and I want to use

  • 0

I created a new bundle on a Symfony project, and I want to use the / route on a page such as:

JhebergUserBundle_homepage:
    pattern:  /
    defaults: { _controller: JhebergUserBundle:Default:index }

On the production environment it works perfectly, but in development environment, it doesn’t. I always have the “Congratulations! You have successfully installed a new Symfony application.” page.
How can I rewrite the route on development environment ?

Thank you.

  • 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-06-04T21:33:05+00:00Added an answer on June 4, 2026 at 9:33 pm

    This is admittedly a tad confusing for newcomers to Symfony, because the homepage route isn’t found in app/config/routing.yml. The route you are looking for is actually defined in app/config/routing_dev.yml:

    _welcome:
      pattern:  /                
      defaults: { _controller: AcmeDemoBundle:Welcome:index }
    

    Remove this route, and then define the homepage route anew in your respective bundle, and everything will work as expected.

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

Sidebar

Related Questions

I created new bundle (AcmeNotificationBundle) and I want to use it like a service
I created a new Visual Studio Setup project with VS 2008. I use it
Lets go from the start Created New Xcode project,opened interface builder dragged one NSButton
i'm using eclipse platform and window builder pro within. I've already created new project
I created a new HalloWorld Makefile Project. There is a HalloWorld.cpp with my main
I created a new ASP.NET MVC application. The home page looks like this: I
I created a new project with the following code segment: char* strange = (Strange??);
I created a new View (LogView) in Infrastructure.Module project. This view will be used
I created a new content type for a wiki page library. I added this
I created a brand new project and created a new view controller with 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.