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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T05:12:00+00:00 2026-05-31T05:12:00+00:00

Magento has this very nice MVC system where modules can register their ‘frontname’ and

  • 0

Magento has this very nice MVC system where modules can register their ‘frontname’ and the like.

Unfortunately is has the effect of contaminating your site with many duplicate urls for the same page if you happen to use several stores and make the store code show up in the URI. It will effectively make a module available on every store view ‘root’ and the main magento root as well.

So I want to get rid of those frontnames a module created for me. I am still using objects supplied by the module I just don’t want it to use the controller it supplier as well (I built my own blocks to load relevant data).

So my question is fairly simple, lets say I have something like this in the community code pool module/etc/config.xml:

    <routers>
        <faq>
            <use>standard</use>
            <args>
                <module>Faq</module>
                <frontName>faq</frontName>
            </args>
        </faq>
    </routers>

How do I make an override / setting in my local codepool that basically unsets / disables this frontname so it doesn’t get found when called?

Alternatively is it possible to prevent loading controllers with frontnames on the store view roots when the option to display the code in the URI is enabled?

  • 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-31T05:12:01+00:00Added an answer on May 31, 2026 at 5:12 am

    I’m not sure what your point is here exactly. It sounds like you have SEO concerns (with your mention of dup. urls)

    1. You’ve got the choice not to declare a router for your custom module
    2. You could just enable canonical URLs and anything worth indexing (categories/products/cms) will have the right URL
    3. You could disallow access to those URLs using robots.txt

    Failing that, you could take the drastic (and seemingly pointless) approach to unset the registered route. Extending …

    Mage_Core_Controller_Varien_Front
    

    Would allow you to control the protected routes as you see fit.

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

Sidebar

Related Questions

This is very basic magento question i guess. I want to first get all
I have been wondering about this for a while. What if Magento has written
I really hope someone here can help out with this. I'm using Magento 1.6.1.0
My module in Magento adminpanel has URL like as http://example.com/index.php/mymodule/ ... and contains custom
All stock magento modules have URL path in backend which has 'admin' (by default)
My understanding of Magento is that you can only have 2 themes loaded at
hai I have a magento web site. In this the search function compare with
I've just installed Magento on my website, but I can't access the backend. The
First I would like to say that I am entirely new to Magento so
I know this is a question that has been discussed over and over, but

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.