I want to make noindex nofollow for login page, i tried

 <customer_account_login translate="label">
        <label>Customer Account Login Form</label>
        <!-- Mage_Customer -->
        <remove name="right"/>
        <remove name="left"/>
      <!--   <remove name="header"/>
        <remove name="footer"/> -->

        <reference name="root">
            <action method="setTemplate"><template>page/1column.phtml</template></action>
        <reference name="content">
            <block type="customer/form_login" name="customer_form_login" template="customer/form/login.phtml" />
        <reference name="head">
            <action method="setRobots"><value>NOINDEX,NOFOLLOW</value></action>

But it is not working, can any one suggest how to make no index no follow for login page


Override customer_account_login.xml File in your module or you can also override using custom theme

 <meta name="robots" content="NOINDEX,NOFOLLOW"/>
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.