function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
MktdevMktdev 

Under Construction Page

Hi ,

 

I have one site for I want to update/change the look and feel of underconstruction page.When any person enters the WRONG URL so he get the underconstruction page with clock and tool box icon and URL of the active site.Instead I want show my company logo and the URL as embedded as link as shown here.

 

But when I try to this its is not making any chances.

 

Regards,

Mktg

Ankit AroraAnkit Arora

If I am not wrong you are talking about changing the look and feel of InMaintenance page.

 

Yes  we can change look and feel for this page 

 

Go to Pages > InMaintenance > Edit > There must be a composition used which show the image(Clock) > Hopefully it will be

 

 

<apex:composition template="StdExceptionTemplate">

 

 

 

Now open page StdExceptionTemplate > Change the images there and it will reflect on your site. Please let me know if it still doesn't resolved your problem.

 

Thanks

Ankit Arora

Blog | Facebook | Blog Page

MktdevMktdev

Hi Ankit,

Thanks a lot!

 

But I have changed the image URL and also removed the Current.Site.URL parameter but when I try to enter wrong URL it is showing me

------------------------------------------------------------

link to my site is under construction.

 

Stay tune.Please email us if you need to get in touch.

---------------------------------------------------------------

 

Please guide.

 

Regards,

mktg

 

Ankit AroraAnkit Arora

Didn't get you properly, but I want 1 thing to come in notice that if there is any kind of exception in you page/class then on site it will show the underconstruction page/ error page.

 

Just a small question, what do you mean by wrong URL?

 

Thanks

Ankit Arora

Blog | Facebook | Blog Page

MktdevMktdev

Hi Ankit,

 

Thanks for the reply!

 

If you have any site suppose named : http://ankit.developerforce.com/profile and your user enter the url like http://ankit.developerforce.com then he will be getting underconstruction error. as you can see the user has entered incomplete URL or wrong URL.

 

Now, my requirement is that if a user try to use (incomplete) http://ankit.developerforce.com then I want to inform him that you have entered incomplete URL and want to have a button or icon or image with embedded correct URL that is, http://ankit.developerforce.com/profile.

 

Let me know if this helps to understand.

 

Regards,

Mktg

Ankit AroraAnkit Arora

See if you have registered the URL : "http://ankit.developerforce.com/" and want user to hit "http://ankit.developerforce.com/profile" then there are two ways to do so.

 

1) Set the default landing page "Profile", so when user hit "http://ankit.developerforce.com/" or "http://ankit.developerforce.com/profile" he/she will be redirected to "http://ankit.developerforce.com/profiel"

 

2) Set "ErrorPage" as default landing page so when user hit "http://ankit.developerforce.com/" he/she will be redirected to page where error will be displayed.

 

To set default landing  page : Setup > AppSetup > Develop > Sites > Click on site label > Set your page in "Active site home page"

 

Thanks

Ankit Arora

Blog | Facebook | Blog Page

hsje ajksehsje ajkse
Sound good. Can I integreate this program with my service based website (https://cornerstonebuilthomes.com/) that hosted on WordPress?