How can i do a custom maintenance message on magento 2.2.4Multistore Maintenance Mode Magento 2Magento 2:...
What is 6÷2×(1+2) =?
Can a Pact of the Blade warlock use the correct existing pact magic weapon so it functions as a "Returning" weapon?
When can a QA tester start his job?
Is boss over stepping boundary/micromanaging?
What is the most fuel efficient way out of the Solar System?
Story about a person invited to join council of intellects
How to deal with an incendiary email that was recalled
Traveling through the asteriod belt?
Removing disk while game is suspended
Bash Script Function Return True-False
How can my powered armor quickly replace its ceramic plates?
Why would space fleets be aligned?
How to prevent users from executing commands through browser URL
Cookies - Should the toggles be on?
How to say "Brexit" in Latin?
What is the purpose of easy combat scenarios that don't need resource expenditure?
Using only 1s, make 29 with the minimum number of digits
SET NOCOUNT Error in handling SQL call after upgrade
Dilemma of explaining to interviewer that he is the reason for declining second interview
Is it a fallacy if someone claims they need an explanation for every word of your argument to the point where they don't understand common terms?
Why are the books in the Game of Thrones citadel library shelved spine inwards?
Why do neural networks need so many training examples to perform?
Does a phylactery of a lich have to be a box?
How would an AI self awareness kill switch work?
How can i do a custom maintenance message on magento 2.2.4
Multistore Maintenance Mode Magento 2Magento 2: Maintenance ModeSuccess/ Error message not showing Magento 2Magento 2 - Single instance, multiple websites with single store view each - How to configure Apache?Best place for 3rd party librariesHow to show error message in Magento 2 checkout pageMagento 2 How to remove shipping method in checkout pageAllow dynamic IP to access a site in maintenance modeMagento 2 index management system error messageWeb server very slow for serving images of MagentoHow can I add a 3rd party dependency in a custom module?
I have to update several modules of magento also deactivate others and while the frontend will not be available.
How can I make a simple personalized message? Would you touch on some magento or apache directory?
And how can i do a message page for every language?
magento2 error apache2
add a comment |
I have to update several modules of magento also deactivate others and while the frontend will not be available.
How can I make a simple personalized message? Would you touch on some magento or apache directory?
And how can i do a message page for every language?
magento2 error apache2
Possible duplicate of Multistore Maintenance Mode Magento 2
– sv3n
17 mins ago
add a comment |
I have to update several modules of magento also deactivate others and while the frontend will not be available.
How can I make a simple personalized message? Would you touch on some magento or apache directory?
And how can i do a message page for every language?
magento2 error apache2
I have to update several modules of magento also deactivate others and while the frontend will not be available.
How can I make a simple personalized message? Would you touch on some magento or apache directory?
And how can i do a message page for every language?
magento2 error apache2
magento2 error apache2
edited 59 mins ago
Oriol
asked 3 hours ago
OriolOriol
828
828
Possible duplicate of Multistore Maintenance Mode Magento 2
– sv3n
17 mins ago
add a comment |
Possible duplicate of Multistore Maintenance Mode Magento 2
– sv3n
17 mins ago
Possible duplicate of Multistore Maintenance Mode Magento 2
– sv3n
17 mins ago
Possible duplicate of Multistore Maintenance Mode Magento 2
– sv3n
17 mins ago
add a comment |
2 Answers
2
active
oldest
votes
you can go to pub directory and find below path:
pub/errors/default/503.phtml
and quick edit on the 503.phtml
file and edit this lines also css add here
Thanks!!can i do a error page for every language?
– Oriol
1 hour ago
Done! And i updated my question :D
– Oriol
58 mins ago
my pleasure.. :)
– Rakesh Donga
57 mins ago
Sorry, now done!
– Oriol
54 mins ago
Hellooooo! Can you tell me how can i do a multi language error page? For every store on magento @Rakesh Donga
– Oriol
37 mins ago
|
show 1 more comment
For this You need to update below file
pub/errors/default/503.phtml
and design accordingly
but best practice to override this into custom error page for this follow below steps.
Go into the pub/errors
Create a copy of the local.xml.sample and rename it as local.xml
Edit the with your custom name. Ex – customerrorpage
<skin>customerrorpage</skin>
http://prntscr.com/mr8kgy
Next create a copy of the “default” folder and rename it with your skin name. Ex – customerrorpage
Locate the 503.phtml inside the newly created folder and add your custom code. Add the styles inside css/styles.css and relevant images under images folder.
http://prntscr.com/mr8l75
For particular language (store view wise) you need to do using .htaccess
In you .htaccess add an rewrite rule that appends a skin parameter to your URL. Eg.
RewriteCond %{HTTP_HOST} ^french.example.com$
RewriteCond %{DOCUMENT_ROOT}/var/.maintenance.flag -f
RewriteCond %{QUERY_STRING} !(^|&)skin=french(&|$) [NC]
RewriteRule ^ %{REQUEST_URI}?skin=french[L]
Copy pub/errors/default to pub/errors/french
Change/translate template files to your needs
Reference link
Thanks
New contributor
Thanks!!can i do a error page for every language?
– Oriol
1 hour ago
check my updated answer
– VDC
24 mins ago
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%2f263825%2fhow-can-i-do-a-custom-maintenance-message-on-magento-2-2-4%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
you can go to pub directory and find below path:
pub/errors/default/503.phtml
and quick edit on the 503.phtml
file and edit this lines also css add here
Thanks!!can i do a error page for every language?
– Oriol
1 hour ago
Done! And i updated my question :D
– Oriol
58 mins ago
my pleasure.. :)
– Rakesh Donga
57 mins ago
Sorry, now done!
– Oriol
54 mins ago
Hellooooo! Can you tell me how can i do a multi language error page? For every store on magento @Rakesh Donga
– Oriol
37 mins ago
|
show 1 more comment
you can go to pub directory and find below path:
pub/errors/default/503.phtml
and quick edit on the 503.phtml
file and edit this lines also css add here
Thanks!!can i do a error page for every language?
– Oriol
1 hour ago
Done! And i updated my question :D
– Oriol
58 mins ago
my pleasure.. :)
– Rakesh Donga
57 mins ago
Sorry, now done!
– Oriol
54 mins ago
Hellooooo! Can you tell me how can i do a multi language error page? For every store on magento @Rakesh Donga
– Oriol
37 mins ago
|
show 1 more comment
you can go to pub directory and find below path:
pub/errors/default/503.phtml
and quick edit on the 503.phtml
file and edit this lines also css add here
you can go to pub directory and find below path:
pub/errors/default/503.phtml
and quick edit on the 503.phtml
file and edit this lines also css add here
edited 2 hours ago
answered 2 hours ago
Rakesh DongaRakesh Donga
1,332316
1,332316
Thanks!!can i do a error page for every language?
– Oriol
1 hour ago
Done! And i updated my question :D
– Oriol
58 mins ago
my pleasure.. :)
– Rakesh Donga
57 mins ago
Sorry, now done!
– Oriol
54 mins ago
Hellooooo! Can you tell me how can i do a multi language error page? For every store on magento @Rakesh Donga
– Oriol
37 mins ago
|
show 1 more comment
Thanks!!can i do a error page for every language?
– Oriol
1 hour ago
Done! And i updated my question :D
– Oriol
58 mins ago
my pleasure.. :)
– Rakesh Donga
57 mins ago
Sorry, now done!
– Oriol
54 mins ago
Hellooooo! Can you tell me how can i do a multi language error page? For every store on magento @Rakesh Donga
– Oriol
37 mins ago
Thanks!!can i do a error page for every language?
– Oriol
1 hour ago
Thanks!!can i do a error page for every language?
– Oriol
1 hour ago
Done! And i updated my question :D
– Oriol
58 mins ago
Done! And i updated my question :D
– Oriol
58 mins ago
my pleasure.. :)
– Rakesh Donga
57 mins ago
my pleasure.. :)
– Rakesh Donga
57 mins ago
Sorry, now done!
– Oriol
54 mins ago
Sorry, now done!
– Oriol
54 mins ago
Hellooooo! Can you tell me how can i do a multi language error page? For every store on magento @Rakesh Donga
– Oriol
37 mins ago
Hellooooo! Can you tell me how can i do a multi language error page? For every store on magento @Rakesh Donga
– Oriol
37 mins ago
|
show 1 more comment
For this You need to update below file
pub/errors/default/503.phtml
and design accordingly
but best practice to override this into custom error page for this follow below steps.
Go into the pub/errors
Create a copy of the local.xml.sample and rename it as local.xml
Edit the with your custom name. Ex – customerrorpage
<skin>customerrorpage</skin>
http://prntscr.com/mr8kgy
Next create a copy of the “default” folder and rename it with your skin name. Ex – customerrorpage
Locate the 503.phtml inside the newly created folder and add your custom code. Add the styles inside css/styles.css and relevant images under images folder.
http://prntscr.com/mr8l75
For particular language (store view wise) you need to do using .htaccess
In you .htaccess add an rewrite rule that appends a skin parameter to your URL. Eg.
RewriteCond %{HTTP_HOST} ^french.example.com$
RewriteCond %{DOCUMENT_ROOT}/var/.maintenance.flag -f
RewriteCond %{QUERY_STRING} !(^|&)skin=french(&|$) [NC]
RewriteRule ^ %{REQUEST_URI}?skin=french[L]
Copy pub/errors/default to pub/errors/french
Change/translate template files to your needs
Reference link
Thanks
New contributor
Thanks!!can i do a error page for every language?
– Oriol
1 hour ago
check my updated answer
– VDC
24 mins ago
add a comment |
For this You need to update below file
pub/errors/default/503.phtml
and design accordingly
but best practice to override this into custom error page for this follow below steps.
Go into the pub/errors
Create a copy of the local.xml.sample and rename it as local.xml
Edit the with your custom name. Ex – customerrorpage
<skin>customerrorpage</skin>
http://prntscr.com/mr8kgy
Next create a copy of the “default” folder and rename it with your skin name. Ex – customerrorpage
Locate the 503.phtml inside the newly created folder and add your custom code. Add the styles inside css/styles.css and relevant images under images folder.
http://prntscr.com/mr8l75
For particular language (store view wise) you need to do using .htaccess
In you .htaccess add an rewrite rule that appends a skin parameter to your URL. Eg.
RewriteCond %{HTTP_HOST} ^french.example.com$
RewriteCond %{DOCUMENT_ROOT}/var/.maintenance.flag -f
RewriteCond %{QUERY_STRING} !(^|&)skin=french(&|$) [NC]
RewriteRule ^ %{REQUEST_URI}?skin=french[L]
Copy pub/errors/default to pub/errors/french
Change/translate template files to your needs
Reference link
Thanks
New contributor
Thanks!!can i do a error page for every language?
– Oriol
1 hour ago
check my updated answer
– VDC
24 mins ago
add a comment |
For this You need to update below file
pub/errors/default/503.phtml
and design accordingly
but best practice to override this into custom error page for this follow below steps.
Go into the pub/errors
Create a copy of the local.xml.sample and rename it as local.xml
Edit the with your custom name. Ex – customerrorpage
<skin>customerrorpage</skin>
http://prntscr.com/mr8kgy
Next create a copy of the “default” folder and rename it with your skin name. Ex – customerrorpage
Locate the 503.phtml inside the newly created folder and add your custom code. Add the styles inside css/styles.css and relevant images under images folder.
http://prntscr.com/mr8l75
For particular language (store view wise) you need to do using .htaccess
In you .htaccess add an rewrite rule that appends a skin parameter to your URL. Eg.
RewriteCond %{HTTP_HOST} ^french.example.com$
RewriteCond %{DOCUMENT_ROOT}/var/.maintenance.flag -f
RewriteCond %{QUERY_STRING} !(^|&)skin=french(&|$) [NC]
RewriteRule ^ %{REQUEST_URI}?skin=french[L]
Copy pub/errors/default to pub/errors/french
Change/translate template files to your needs
Reference link
Thanks
New contributor
For this You need to update below file
pub/errors/default/503.phtml
and design accordingly
but best practice to override this into custom error page for this follow below steps.
Go into the pub/errors
Create a copy of the local.xml.sample and rename it as local.xml
Edit the with your custom name. Ex – customerrorpage
<skin>customerrorpage</skin>
http://prntscr.com/mr8kgy
Next create a copy of the “default” folder and rename it with your skin name. Ex – customerrorpage
Locate the 503.phtml inside the newly created folder and add your custom code. Add the styles inside css/styles.css and relevant images under images folder.
http://prntscr.com/mr8l75
For particular language (store view wise) you need to do using .htaccess
In you .htaccess add an rewrite rule that appends a skin parameter to your URL. Eg.
RewriteCond %{HTTP_HOST} ^french.example.com$
RewriteCond %{DOCUMENT_ROOT}/var/.maintenance.flag -f
RewriteCond %{QUERY_STRING} !(^|&)skin=french(&|$) [NC]
RewriteRule ^ %{REQUEST_URI}?skin=french[L]
Copy pub/errors/default to pub/errors/french
Change/translate template files to your needs
Reference link
Thanks
New contributor
edited 24 mins ago
New contributor
answered 2 hours ago
VDCVDC
1016
1016
New contributor
New contributor
Thanks!!can i do a error page for every language?
– Oriol
1 hour ago
check my updated answer
– VDC
24 mins ago
add a comment |
Thanks!!can i do a error page for every language?
– Oriol
1 hour ago
check my updated answer
– VDC
24 mins ago
Thanks!!can i do a error page for every language?
– Oriol
1 hour ago
Thanks!!can i do a error page for every language?
– Oriol
1 hour ago
check my updated answer
– VDC
24 mins ago
check my updated answer
– VDC
24 mins ago
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%2f263825%2fhow-can-i-do-a-custom-maintenance-message-on-magento-2-2-4%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
Possible duplicate of Multistore Maintenance Mode Magento 2
– sv3n
17 mins ago