How to Set Meta description login page
I was woundering if any could help me find a way to set the Meta description for the customer/account/login page?
Cant find an xml file where I can change it and not sure how to do it in the login.phtml file.
customer login meta
add a comment |
I was woundering if any could help me find a way to set the Meta description for the customer/account/login page?
Cant find an xml file where I can change it and not sure how to do it in the login.phtml file.
customer login meta
Let us know which version of Magento you're using.
– nikola99
Jun 21 '17 at 23:27
add a comment |
I was woundering if any could help me find a way to set the Meta description for the customer/account/login page?
Cant find an xml file where I can change it and not sure how to do it in the login.phtml file.
customer login meta
I was woundering if any could help me find a way to set the Meta description for the customer/account/login page?
Cant find an xml file where I can change it and not sure how to do it in the login.phtml file.
customer login meta
customer login meta
edited 7 mins ago
adi maheshwary
92
92
asked Jun 21 '17 at 23:20
Kasper ElundKasper Elund
84
84
Let us know which version of Magento you're using.
– nikola99
Jun 21 '17 at 23:27
add a comment |
Let us know which version of Magento you're using.
– nikola99
Jun 21 '17 at 23:27
Let us know which version of Magento you're using.
– nikola99
Jun 21 '17 at 23:27
Let us know which version of Magento you're using.
– nikola99
Jun 21 '17 at 23:27
add a comment |
1 Answer
1
active
oldest
votes
Add code in the below xml file:
/app/design/frontend/base/default/layout/customer.xml
find following code arround line no. 84 : <customer_account_login translate="label">
add below code in this block:
<reference name="head">
<action method="setTitle" translate="title" module="customer"><title>YOUR META TITLE HERE</title></action>
<action method="setDescription" translate="description" module="customer"><description>YOUR META DESCRIPTION HERE</description></action>
<action method="setKeywords" translate="keywords" module="customer"><keywords>YOUR META KEYWORDS HERE</keywords></action>
</reference>
After add your code it will display like below:
<customer_account_login translate="label">
<label>Customer Account Login Form</label>
<!-- Mage_Customer -->
<remove name="right"/>
<remove name="left"/>
<reference name="head">
<action method="setTitle" translate="title" module="customer"><title>YOUR META TITLE HERE</title></action>
<action method="setDescription" translate="description" module="customer"><description>YOUR META DESCRIPTION HERE</description></action>
<action method="setKeywords" translate="keywords" module="customer"><keywords>YOUR META KEYWORDS HERE</keywords></action>
</reference>
<reference name="root">
<action method="setTemplate"><template>page/1column.phtml</template></action>
</reference>
<reference name="content">
<block type="customer/form_login" name="customer_form_login" template="customer/form/login.phtml" />
</reference>
</customer_account_login>
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f180164%2fhow-to-set-meta-description-login-page%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Add code in the below xml file:
/app/design/frontend/base/default/layout/customer.xml
find following code arround line no. 84 : <customer_account_login translate="label">
add below code in this block:
<reference name="head">
<action method="setTitle" translate="title" module="customer"><title>YOUR META TITLE HERE</title></action>
<action method="setDescription" translate="description" module="customer"><description>YOUR META DESCRIPTION HERE</description></action>
<action method="setKeywords" translate="keywords" module="customer"><keywords>YOUR META KEYWORDS HERE</keywords></action>
</reference>
After add your code it will display like below:
<customer_account_login translate="label">
<label>Customer Account Login Form</label>
<!-- Mage_Customer -->
<remove name="right"/>
<remove name="left"/>
<reference name="head">
<action method="setTitle" translate="title" module="customer"><title>YOUR META TITLE HERE</title></action>
<action method="setDescription" translate="description" module="customer"><description>YOUR META DESCRIPTION HERE</description></action>
<action method="setKeywords" translate="keywords" module="customer"><keywords>YOUR META KEYWORDS HERE</keywords></action>
</reference>
<reference name="root">
<action method="setTemplate"><template>page/1column.phtml</template></action>
</reference>
<reference name="content">
<block type="customer/form_login" name="customer_form_login" template="customer/form/login.phtml" />
</reference>
</customer_account_login>
add a comment |
Add code in the below xml file:
/app/design/frontend/base/default/layout/customer.xml
find following code arround line no. 84 : <customer_account_login translate="label">
add below code in this block:
<reference name="head">
<action method="setTitle" translate="title" module="customer"><title>YOUR META TITLE HERE</title></action>
<action method="setDescription" translate="description" module="customer"><description>YOUR META DESCRIPTION HERE</description></action>
<action method="setKeywords" translate="keywords" module="customer"><keywords>YOUR META KEYWORDS HERE</keywords></action>
</reference>
After add your code it will display like below:
<customer_account_login translate="label">
<label>Customer Account Login Form</label>
<!-- Mage_Customer -->
<remove name="right"/>
<remove name="left"/>
<reference name="head">
<action method="setTitle" translate="title" module="customer"><title>YOUR META TITLE HERE</title></action>
<action method="setDescription" translate="description" module="customer"><description>YOUR META DESCRIPTION HERE</description></action>
<action method="setKeywords" translate="keywords" module="customer"><keywords>YOUR META KEYWORDS HERE</keywords></action>
</reference>
<reference name="root">
<action method="setTemplate"><template>page/1column.phtml</template></action>
</reference>
<reference name="content">
<block type="customer/form_login" name="customer_form_login" template="customer/form/login.phtml" />
</reference>
</customer_account_login>
add a comment |
Add code in the below xml file:
/app/design/frontend/base/default/layout/customer.xml
find following code arround line no. 84 : <customer_account_login translate="label">
add below code in this block:
<reference name="head">
<action method="setTitle" translate="title" module="customer"><title>YOUR META TITLE HERE</title></action>
<action method="setDescription" translate="description" module="customer"><description>YOUR META DESCRIPTION HERE</description></action>
<action method="setKeywords" translate="keywords" module="customer"><keywords>YOUR META KEYWORDS HERE</keywords></action>
</reference>
After add your code it will display like below:
<customer_account_login translate="label">
<label>Customer Account Login Form</label>
<!-- Mage_Customer -->
<remove name="right"/>
<remove name="left"/>
<reference name="head">
<action method="setTitle" translate="title" module="customer"><title>YOUR META TITLE HERE</title></action>
<action method="setDescription" translate="description" module="customer"><description>YOUR META DESCRIPTION HERE</description></action>
<action method="setKeywords" translate="keywords" module="customer"><keywords>YOUR META KEYWORDS HERE</keywords></action>
</reference>
<reference name="root">
<action method="setTemplate"><template>page/1column.phtml</template></action>
</reference>
<reference name="content">
<block type="customer/form_login" name="customer_form_login" template="customer/form/login.phtml" />
</reference>
</customer_account_login>
Add code in the below xml file:
/app/design/frontend/base/default/layout/customer.xml
find following code arround line no. 84 : <customer_account_login translate="label">
add below code in this block:
<reference name="head">
<action method="setTitle" translate="title" module="customer"><title>YOUR META TITLE HERE</title></action>
<action method="setDescription" translate="description" module="customer"><description>YOUR META DESCRIPTION HERE</description></action>
<action method="setKeywords" translate="keywords" module="customer"><keywords>YOUR META KEYWORDS HERE</keywords></action>
</reference>
After add your code it will display like below:
<customer_account_login translate="label">
<label>Customer Account Login Form</label>
<!-- Mage_Customer -->
<remove name="right"/>
<remove name="left"/>
<reference name="head">
<action method="setTitle" translate="title" module="customer"><title>YOUR META TITLE HERE</title></action>
<action method="setDescription" translate="description" module="customer"><description>YOUR META DESCRIPTION HERE</description></action>
<action method="setKeywords" translate="keywords" module="customer"><keywords>YOUR META KEYWORDS HERE</keywords></action>
</reference>
<reference name="root">
<action method="setTemplate"><template>page/1column.phtml</template></action>
</reference>
<reference name="content">
<block type="customer/form_login" name="customer_form_login" template="customer/form/login.phtml" />
</reference>
</customer_account_login>
answered Jun 26 '17 at 6:56
Abhinav SinghAbhinav Singh
2,105611
2,105611
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f180164%2fhow-to-set-meta-description-login-page%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
Let us know which version of Magento you're using.
– nikola99
Jun 21 '17 at 23:27