Resolved - Admin Grid Redirects to Front End Page Instead of Backend












1















I took steps according to this article but the newly created link displays the "text block" on the front-end instead of back-end.
http://alanstorm.com/magento_admin_controllers/



enter image description here



Here is the front-end page where the link redirects



Can anyone help me understand what's the problem?
Greatly appreciate your help guys!










share|improve this question
















bumped to the homepage by Community 14 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.




















    1















    I took steps according to this article but the newly created link displays the "text block" on the front-end instead of back-end.
    http://alanstorm.com/magento_admin_controllers/



    enter image description here



    Here is the front-end page where the link redirects



    Can anyone help me understand what's the problem?
    Greatly appreciate your help guys!










    share|improve this question
















    bumped to the homepage by Community 14 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      1












      1








      1








      I took steps according to this article but the newly created link displays the "text block" on the front-end instead of back-end.
      http://alanstorm.com/magento_admin_controllers/



      enter image description here



      Here is the front-end page where the link redirects



      Can anyone help me understand what's the problem?
      Greatly appreciate your help guys!










      share|improve this question
















      I took steps according to this article but the newly created link displays the "text block" on the front-end instead of back-end.
      http://alanstorm.com/magento_admin_controllers/



      enter image description here



      Here is the front-end page where the link redirects



      Can anyone help me understand what's the problem?
      Greatly appreciate your help guys!







      magento-1.9 module admin grid frontend






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 13 '17 at 18:22







      bestwebdevs

















      asked Mar 9 '17 at 23:45









      bestwebdevsbestwebdevs

      122213




      122213





      bumped to the homepage by Community 14 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 14 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          3 Answers
          3






          active

          oldest

          votes


















          0














          First of all there is mistake in your config.xml. You have defined frontend and admin routers under frontend tag. Please correct and also share the path of your controller file so that I can help you more in this.
          Code for frontend router:



          <frontend>
          <routers>
          <namespace_module>
          <use>standard</use>
          <args>
          <module>Namespace_Module</module>
          <frontName>whatever</frontName> <!-- http://dev.local/whatever/*/* -->
          </args>
          </namespace_module>
          </routers>
          </frontend>


          Code for admin router:



          <admin>
          <routers>
          <adminhtml>
          <args>
          <modules>
          <namespace_module before="Mage_Adminhtml">Namespace_Module_Adminhtml</namespace_module> <!-- http://dev.local/admin/*/* -->
          </modules>
          </args>
          </adminhtml>
          </routers>
          </admin>





          share|improve this answer
























          • thanks, I'll make corrections right away. The controller file location is ...appcodelocalCpstestProductCommentscontrollersIndexController.php

            – bestwebdevs
            Mar 10 '17 at 1:22











          • When I put "adminhtml" inside "admin" my "tab" next to "Sytem" in the backend doesn't show up.

            – bestwebdevs
            Mar 10 '17 at 1:32











          • for creating menu you can create a seperate file with name adminhtml.xml in folder parallel to config.xml and place your code for creating menu there.

            – Gulshan
            Mar 10 '17 at 1:37













          • Okay, I actually tried that in adminhtml.xml as well. And how can I redirect that link to back-end page instead of front-end? I just added a screenshot, please take a look.

            – bestwebdevs
            Mar 10 '17 at 1:43











          • please check to which url it is redirecting. The url contains admin in it or not. Also put your controller under adminhtml folder and change path in your adminhtml.xml like adminhtml_controller so it will start working for admin

            – Gulshan
            Mar 10 '17 at 1:46



















          0















          1. Reason for error is you didn't read Alan Storm guide properly.

          2. Secondly, you cannot add adminhtml node inside frontend node, magento is looking for adminhtml and admin nodes outside frontend
            and global node. Magento didn't found both nodes, so it's showing
            frontend 404 page not found error.

          3. Below is example from working extension, see properly and make changes on after understand it

          4. You must define ACL for each parent and child menu items, it's required.




          <frontend>  
          <layout>
          <updates>
          <productcomments>
          <file>productcomments.xml</file>
          </productcomments>
          </updates>
          </layout>
          <routers>
          <productcomments>
          <use>standard</use>
          <args>
          <module>Cpstest_ProductComments</module>
          <frontName>productcomments</frontName>
          </args>
          </productcomments>
          </routers>
          </frontend>

          <admin>
          <routers>
          <adminhtml>
          <args>
          <modules>
          <module_name before="Mage_Adminhtml">Cpstest_ProductComments_Adminhtml</module_name>
          </modules>
          </args>
          </adminhtml>
          </routers>
          </admin>

          <adminhtml>
          <layout>
          <updates>
          <productcomments>
          <file>productcomments.xml</file>
          </productcomments>
          </updates>
          </layout>
          <acl>
          <resources>
          <all>
          <title>Allow Everything</title>
          </all>
          <admin>
          <children>
          <productcomments translate="label" module="Cpstest_ProductComments">
          <title>CPS Product Comments</title>
          <sort_order>30</sort_order>
          <children>
          <prdcomments translate="title">
          <title>Product Comments</title>
          </prdcomments>
          </children>
          </productcomments>
          </children>
          </admin>
          </resources>
          </acl>
          </adminhtml>





          share|improve this answer
























          • Thanks for your reply, but I updated my question and the issue is different. There is no 404 error.

            – bestwebdevs
            Mar 10 '17 at 17:46











          • Although you cannot add adminhtml and admin nodes inside frontend. And it get frontend controller with some route, so there is no 404 error. You just rename frontend controller file name only and no change in config.xml, then click Product Comments link in admin

            – Ananth
            Mar 11 '17 at 3:11





















          0














          Alright, at last I was able to resolve this issue using this article.



          Hope That helps someone!






          share|improve this answer

























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "479"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f163694%2fresolved-admin-grid-redirects-to-front-end-page-instead-of-backend%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            3 Answers
            3






            active

            oldest

            votes








            3 Answers
            3






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            First of all there is mistake in your config.xml. You have defined frontend and admin routers under frontend tag. Please correct and also share the path of your controller file so that I can help you more in this.
            Code for frontend router:



            <frontend>
            <routers>
            <namespace_module>
            <use>standard</use>
            <args>
            <module>Namespace_Module</module>
            <frontName>whatever</frontName> <!-- http://dev.local/whatever/*/* -->
            </args>
            </namespace_module>
            </routers>
            </frontend>


            Code for admin router:



            <admin>
            <routers>
            <adminhtml>
            <args>
            <modules>
            <namespace_module before="Mage_Adminhtml">Namespace_Module_Adminhtml</namespace_module> <!-- http://dev.local/admin/*/* -->
            </modules>
            </args>
            </adminhtml>
            </routers>
            </admin>





            share|improve this answer
























            • thanks, I'll make corrections right away. The controller file location is ...appcodelocalCpstestProductCommentscontrollersIndexController.php

              – bestwebdevs
              Mar 10 '17 at 1:22











            • When I put "adminhtml" inside "admin" my "tab" next to "Sytem" in the backend doesn't show up.

              – bestwebdevs
              Mar 10 '17 at 1:32











            • for creating menu you can create a seperate file with name adminhtml.xml in folder parallel to config.xml and place your code for creating menu there.

              – Gulshan
              Mar 10 '17 at 1:37













            • Okay, I actually tried that in adminhtml.xml as well. And how can I redirect that link to back-end page instead of front-end? I just added a screenshot, please take a look.

              – bestwebdevs
              Mar 10 '17 at 1:43











            • please check to which url it is redirecting. The url contains admin in it or not. Also put your controller under adminhtml folder and change path in your adminhtml.xml like adminhtml_controller so it will start working for admin

              – Gulshan
              Mar 10 '17 at 1:46
















            0














            First of all there is mistake in your config.xml. You have defined frontend and admin routers under frontend tag. Please correct and also share the path of your controller file so that I can help you more in this.
            Code for frontend router:



            <frontend>
            <routers>
            <namespace_module>
            <use>standard</use>
            <args>
            <module>Namespace_Module</module>
            <frontName>whatever</frontName> <!-- http://dev.local/whatever/*/* -->
            </args>
            </namespace_module>
            </routers>
            </frontend>


            Code for admin router:



            <admin>
            <routers>
            <adminhtml>
            <args>
            <modules>
            <namespace_module before="Mage_Adminhtml">Namespace_Module_Adminhtml</namespace_module> <!-- http://dev.local/admin/*/* -->
            </modules>
            </args>
            </adminhtml>
            </routers>
            </admin>





            share|improve this answer
























            • thanks, I'll make corrections right away. The controller file location is ...appcodelocalCpstestProductCommentscontrollersIndexController.php

              – bestwebdevs
              Mar 10 '17 at 1:22











            • When I put "adminhtml" inside "admin" my "tab" next to "Sytem" in the backend doesn't show up.

              – bestwebdevs
              Mar 10 '17 at 1:32











            • for creating menu you can create a seperate file with name adminhtml.xml in folder parallel to config.xml and place your code for creating menu there.

              – Gulshan
              Mar 10 '17 at 1:37













            • Okay, I actually tried that in adminhtml.xml as well. And how can I redirect that link to back-end page instead of front-end? I just added a screenshot, please take a look.

              – bestwebdevs
              Mar 10 '17 at 1:43











            • please check to which url it is redirecting. The url contains admin in it or not. Also put your controller under adminhtml folder and change path in your adminhtml.xml like adminhtml_controller so it will start working for admin

              – Gulshan
              Mar 10 '17 at 1:46














            0












            0








            0







            First of all there is mistake in your config.xml. You have defined frontend and admin routers under frontend tag. Please correct and also share the path of your controller file so that I can help you more in this.
            Code for frontend router:



            <frontend>
            <routers>
            <namespace_module>
            <use>standard</use>
            <args>
            <module>Namespace_Module</module>
            <frontName>whatever</frontName> <!-- http://dev.local/whatever/*/* -->
            </args>
            </namespace_module>
            </routers>
            </frontend>


            Code for admin router:



            <admin>
            <routers>
            <adminhtml>
            <args>
            <modules>
            <namespace_module before="Mage_Adminhtml">Namespace_Module_Adminhtml</namespace_module> <!-- http://dev.local/admin/*/* -->
            </modules>
            </args>
            </adminhtml>
            </routers>
            </admin>





            share|improve this answer













            First of all there is mistake in your config.xml. You have defined frontend and admin routers under frontend tag. Please correct and also share the path of your controller file so that I can help you more in this.
            Code for frontend router:



            <frontend>
            <routers>
            <namespace_module>
            <use>standard</use>
            <args>
            <module>Namespace_Module</module>
            <frontName>whatever</frontName> <!-- http://dev.local/whatever/*/* -->
            </args>
            </namespace_module>
            </routers>
            </frontend>


            Code for admin router:



            <admin>
            <routers>
            <adminhtml>
            <args>
            <modules>
            <namespace_module before="Mage_Adminhtml">Namespace_Module_Adminhtml</namespace_module> <!-- http://dev.local/admin/*/* -->
            </modules>
            </args>
            </adminhtml>
            </routers>
            </admin>






            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Mar 10 '17 at 1:20









            GulshanGulshan

            45115




            45115













            • thanks, I'll make corrections right away. The controller file location is ...appcodelocalCpstestProductCommentscontrollersIndexController.php

              – bestwebdevs
              Mar 10 '17 at 1:22











            • When I put "adminhtml" inside "admin" my "tab" next to "Sytem" in the backend doesn't show up.

              – bestwebdevs
              Mar 10 '17 at 1:32











            • for creating menu you can create a seperate file with name adminhtml.xml in folder parallel to config.xml and place your code for creating menu there.

              – Gulshan
              Mar 10 '17 at 1:37













            • Okay, I actually tried that in adminhtml.xml as well. And how can I redirect that link to back-end page instead of front-end? I just added a screenshot, please take a look.

              – bestwebdevs
              Mar 10 '17 at 1:43











            • please check to which url it is redirecting. The url contains admin in it or not. Also put your controller under adminhtml folder and change path in your adminhtml.xml like adminhtml_controller so it will start working for admin

              – Gulshan
              Mar 10 '17 at 1:46



















            • thanks, I'll make corrections right away. The controller file location is ...appcodelocalCpstestProductCommentscontrollersIndexController.php

              – bestwebdevs
              Mar 10 '17 at 1:22











            • When I put "adminhtml" inside "admin" my "tab" next to "Sytem" in the backend doesn't show up.

              – bestwebdevs
              Mar 10 '17 at 1:32











            • for creating menu you can create a seperate file with name adminhtml.xml in folder parallel to config.xml and place your code for creating menu there.

              – Gulshan
              Mar 10 '17 at 1:37













            • Okay, I actually tried that in adminhtml.xml as well. And how can I redirect that link to back-end page instead of front-end? I just added a screenshot, please take a look.

              – bestwebdevs
              Mar 10 '17 at 1:43











            • please check to which url it is redirecting. The url contains admin in it or not. Also put your controller under adminhtml folder and change path in your adminhtml.xml like adminhtml_controller so it will start working for admin

              – Gulshan
              Mar 10 '17 at 1:46

















            thanks, I'll make corrections right away. The controller file location is ...appcodelocalCpstestProductCommentscontrollersIndexController.php

            – bestwebdevs
            Mar 10 '17 at 1:22





            thanks, I'll make corrections right away. The controller file location is ...appcodelocalCpstestProductCommentscontrollersIndexController.php

            – bestwebdevs
            Mar 10 '17 at 1:22













            When I put "adminhtml" inside "admin" my "tab" next to "Sytem" in the backend doesn't show up.

            – bestwebdevs
            Mar 10 '17 at 1:32





            When I put "adminhtml" inside "admin" my "tab" next to "Sytem" in the backend doesn't show up.

            – bestwebdevs
            Mar 10 '17 at 1:32













            for creating menu you can create a seperate file with name adminhtml.xml in folder parallel to config.xml and place your code for creating menu there.

            – Gulshan
            Mar 10 '17 at 1:37







            for creating menu you can create a seperate file with name adminhtml.xml in folder parallel to config.xml and place your code for creating menu there.

            – Gulshan
            Mar 10 '17 at 1:37















            Okay, I actually tried that in adminhtml.xml as well. And how can I redirect that link to back-end page instead of front-end? I just added a screenshot, please take a look.

            – bestwebdevs
            Mar 10 '17 at 1:43





            Okay, I actually tried that in adminhtml.xml as well. And how can I redirect that link to back-end page instead of front-end? I just added a screenshot, please take a look.

            – bestwebdevs
            Mar 10 '17 at 1:43













            please check to which url it is redirecting. The url contains admin in it or not. Also put your controller under adminhtml folder and change path in your adminhtml.xml like adminhtml_controller so it will start working for admin

            – Gulshan
            Mar 10 '17 at 1:46





            please check to which url it is redirecting. The url contains admin in it or not. Also put your controller under adminhtml folder and change path in your adminhtml.xml like adminhtml_controller so it will start working for admin

            – Gulshan
            Mar 10 '17 at 1:46













            0















            1. Reason for error is you didn't read Alan Storm guide properly.

            2. Secondly, you cannot add adminhtml node inside frontend node, magento is looking for adminhtml and admin nodes outside frontend
              and global node. Magento didn't found both nodes, so it's showing
              frontend 404 page not found error.

            3. Below is example from working extension, see properly and make changes on after understand it

            4. You must define ACL for each parent and child menu items, it's required.




            <frontend>  
            <layout>
            <updates>
            <productcomments>
            <file>productcomments.xml</file>
            </productcomments>
            </updates>
            </layout>
            <routers>
            <productcomments>
            <use>standard</use>
            <args>
            <module>Cpstest_ProductComments</module>
            <frontName>productcomments</frontName>
            </args>
            </productcomments>
            </routers>
            </frontend>

            <admin>
            <routers>
            <adminhtml>
            <args>
            <modules>
            <module_name before="Mage_Adminhtml">Cpstest_ProductComments_Adminhtml</module_name>
            </modules>
            </args>
            </adminhtml>
            </routers>
            </admin>

            <adminhtml>
            <layout>
            <updates>
            <productcomments>
            <file>productcomments.xml</file>
            </productcomments>
            </updates>
            </layout>
            <acl>
            <resources>
            <all>
            <title>Allow Everything</title>
            </all>
            <admin>
            <children>
            <productcomments translate="label" module="Cpstest_ProductComments">
            <title>CPS Product Comments</title>
            <sort_order>30</sort_order>
            <children>
            <prdcomments translate="title">
            <title>Product Comments</title>
            </prdcomments>
            </children>
            </productcomments>
            </children>
            </admin>
            </resources>
            </acl>
            </adminhtml>





            share|improve this answer
























            • Thanks for your reply, but I updated my question and the issue is different. There is no 404 error.

              – bestwebdevs
              Mar 10 '17 at 17:46











            • Although you cannot add adminhtml and admin nodes inside frontend. And it get frontend controller with some route, so there is no 404 error. You just rename frontend controller file name only and no change in config.xml, then click Product Comments link in admin

              – Ananth
              Mar 11 '17 at 3:11


















            0















            1. Reason for error is you didn't read Alan Storm guide properly.

            2. Secondly, you cannot add adminhtml node inside frontend node, magento is looking for adminhtml and admin nodes outside frontend
              and global node. Magento didn't found both nodes, so it's showing
              frontend 404 page not found error.

            3. Below is example from working extension, see properly and make changes on after understand it

            4. You must define ACL for each parent and child menu items, it's required.




            <frontend>  
            <layout>
            <updates>
            <productcomments>
            <file>productcomments.xml</file>
            </productcomments>
            </updates>
            </layout>
            <routers>
            <productcomments>
            <use>standard</use>
            <args>
            <module>Cpstest_ProductComments</module>
            <frontName>productcomments</frontName>
            </args>
            </productcomments>
            </routers>
            </frontend>

            <admin>
            <routers>
            <adminhtml>
            <args>
            <modules>
            <module_name before="Mage_Adminhtml">Cpstest_ProductComments_Adminhtml</module_name>
            </modules>
            </args>
            </adminhtml>
            </routers>
            </admin>

            <adminhtml>
            <layout>
            <updates>
            <productcomments>
            <file>productcomments.xml</file>
            </productcomments>
            </updates>
            </layout>
            <acl>
            <resources>
            <all>
            <title>Allow Everything</title>
            </all>
            <admin>
            <children>
            <productcomments translate="label" module="Cpstest_ProductComments">
            <title>CPS Product Comments</title>
            <sort_order>30</sort_order>
            <children>
            <prdcomments translate="title">
            <title>Product Comments</title>
            </prdcomments>
            </children>
            </productcomments>
            </children>
            </admin>
            </resources>
            </acl>
            </adminhtml>





            share|improve this answer
























            • Thanks for your reply, but I updated my question and the issue is different. There is no 404 error.

              – bestwebdevs
              Mar 10 '17 at 17:46











            • Although you cannot add adminhtml and admin nodes inside frontend. And it get frontend controller with some route, so there is no 404 error. You just rename frontend controller file name only and no change in config.xml, then click Product Comments link in admin

              – Ananth
              Mar 11 '17 at 3:11
















            0












            0








            0








            1. Reason for error is you didn't read Alan Storm guide properly.

            2. Secondly, you cannot add adminhtml node inside frontend node, magento is looking for adminhtml and admin nodes outside frontend
              and global node. Magento didn't found both nodes, so it's showing
              frontend 404 page not found error.

            3. Below is example from working extension, see properly and make changes on after understand it

            4. You must define ACL for each parent and child menu items, it's required.




            <frontend>  
            <layout>
            <updates>
            <productcomments>
            <file>productcomments.xml</file>
            </productcomments>
            </updates>
            </layout>
            <routers>
            <productcomments>
            <use>standard</use>
            <args>
            <module>Cpstest_ProductComments</module>
            <frontName>productcomments</frontName>
            </args>
            </productcomments>
            </routers>
            </frontend>

            <admin>
            <routers>
            <adminhtml>
            <args>
            <modules>
            <module_name before="Mage_Adminhtml">Cpstest_ProductComments_Adminhtml</module_name>
            </modules>
            </args>
            </adminhtml>
            </routers>
            </admin>

            <adminhtml>
            <layout>
            <updates>
            <productcomments>
            <file>productcomments.xml</file>
            </productcomments>
            </updates>
            </layout>
            <acl>
            <resources>
            <all>
            <title>Allow Everything</title>
            </all>
            <admin>
            <children>
            <productcomments translate="label" module="Cpstest_ProductComments">
            <title>CPS Product Comments</title>
            <sort_order>30</sort_order>
            <children>
            <prdcomments translate="title">
            <title>Product Comments</title>
            </prdcomments>
            </children>
            </productcomments>
            </children>
            </admin>
            </resources>
            </acl>
            </adminhtml>





            share|improve this answer














            1. Reason for error is you didn't read Alan Storm guide properly.

            2. Secondly, you cannot add adminhtml node inside frontend node, magento is looking for adminhtml and admin nodes outside frontend
              and global node. Magento didn't found both nodes, so it's showing
              frontend 404 page not found error.

            3. Below is example from working extension, see properly and make changes on after understand it

            4. You must define ACL for each parent and child menu items, it's required.




            <frontend>  
            <layout>
            <updates>
            <productcomments>
            <file>productcomments.xml</file>
            </productcomments>
            </updates>
            </layout>
            <routers>
            <productcomments>
            <use>standard</use>
            <args>
            <module>Cpstest_ProductComments</module>
            <frontName>productcomments</frontName>
            </args>
            </productcomments>
            </routers>
            </frontend>

            <admin>
            <routers>
            <adminhtml>
            <args>
            <modules>
            <module_name before="Mage_Adminhtml">Cpstest_ProductComments_Adminhtml</module_name>
            </modules>
            </args>
            </adminhtml>
            </routers>
            </admin>

            <adminhtml>
            <layout>
            <updates>
            <productcomments>
            <file>productcomments.xml</file>
            </productcomments>
            </updates>
            </layout>
            <acl>
            <resources>
            <all>
            <title>Allow Everything</title>
            </all>
            <admin>
            <children>
            <productcomments translate="label" module="Cpstest_ProductComments">
            <title>CPS Product Comments</title>
            <sort_order>30</sort_order>
            <children>
            <prdcomments translate="title">
            <title>Product Comments</title>
            </prdcomments>
            </children>
            </productcomments>
            </children>
            </admin>
            </resources>
            </acl>
            </adminhtml>






            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Mar 10 '17 at 3:27









            AnanthAnanth

            544




            544













            • Thanks for your reply, but I updated my question and the issue is different. There is no 404 error.

              – bestwebdevs
              Mar 10 '17 at 17:46











            • Although you cannot add adminhtml and admin nodes inside frontend. And it get frontend controller with some route, so there is no 404 error. You just rename frontend controller file name only and no change in config.xml, then click Product Comments link in admin

              – Ananth
              Mar 11 '17 at 3:11





















            • Thanks for your reply, but I updated my question and the issue is different. There is no 404 error.

              – bestwebdevs
              Mar 10 '17 at 17:46











            • Although you cannot add adminhtml and admin nodes inside frontend. And it get frontend controller with some route, so there is no 404 error. You just rename frontend controller file name only and no change in config.xml, then click Product Comments link in admin

              – Ananth
              Mar 11 '17 at 3:11



















            Thanks for your reply, but I updated my question and the issue is different. There is no 404 error.

            – bestwebdevs
            Mar 10 '17 at 17:46





            Thanks for your reply, but I updated my question and the issue is different. There is no 404 error.

            – bestwebdevs
            Mar 10 '17 at 17:46













            Although you cannot add adminhtml and admin nodes inside frontend. And it get frontend controller with some route, so there is no 404 error. You just rename frontend controller file name only and no change in config.xml, then click Product Comments link in admin

            – Ananth
            Mar 11 '17 at 3:11







            Although you cannot add adminhtml and admin nodes inside frontend. And it get frontend controller with some route, so there is no 404 error. You just rename frontend controller file name only and no change in config.xml, then click Product Comments link in admin

            – Ananth
            Mar 11 '17 at 3:11













            0














            Alright, at last I was able to resolve this issue using this article.



            Hope That helps someone!






            share|improve this answer






























              0














              Alright, at last I was able to resolve this issue using this article.



              Hope That helps someone!






              share|improve this answer




























                0












                0








                0







                Alright, at last I was able to resolve this issue using this article.



                Hope That helps someone!






                share|improve this answer















                Alright, at last I was able to resolve this issue using this article.



                Hope That helps someone!







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Apr 13 '17 at 12:54









                Community

                1




                1










                answered Mar 13 '17 at 18:22









                bestwebdevsbestwebdevs

                122213




                122213






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Magento Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f163694%2fresolved-admin-grid-redirects-to-front-end-page-instead-of-backend%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    What other Star Trek series did the main TNG cast show up in?

                    Berlina muro

                    Berlina aerponto