BullGuard Antivirus Sale - 60% Off with openElement !
Forum Home Forum Home >

openElement

> openElement General Discussion
  New Posts New Posts RSS Feed - Hiding an entire page [Solved]
  FAQ FAQ  Forum Search   Register Register  Login Login

Hiding an entire page [Solved]

 Post Reply Post Reply
Author
Message
hunnypuppy View Drop Down
Newbie
Newbie


Joined: Aug 03 2023
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote hunnypuppy Quote  Post ReplyReply Direct Link To This Post Topic: Hiding an entire page [Solved]
    Posted: Oct 04 2023 at 1:29pm
Hi,

I’ve created a website but I want to temporarily hide a page. Is there a way to mark it so that it doesn’t upload the page while publishing the site? The issue is that I keep deleting the page manually from the IIS server after it uploads so that it can’t be accessed. I’ve removed the page from the site map but google search still shows the page in its search results and I don’t want people to access it. However I don’t want to delete the page either from OpenElement at this time and I want to preserve it for the future. 

So is there a way to mark it as hidden or offline or something such that it won’t upload the page when I publish the site?


Edited by Hobby001 - Oct 07 2023 at 11:01am
Back to Top
digizar View Drop Down
Senior Member
Senior Member
Avatar

Joined: Dec 30 2015
Location: Germany Frankfu
Status: Offline
Points: 734
Post Options Post Options   Thanks (0) Thanks(0)   Quote digizar Quote  Post ReplyReply Direct Link To This Post Posted: Oct 04 2023 at 6:54pm
When you start to upload the project,
OE diplays a list which files/pages are going to be uploaded.
You may manually DE-select this page(s).
(Consecutive) uploads use only modified pages,
if in 'Differential Mode', so just don't touch/modify that page again.
Until you have reason to modify it. Then it is a good reason to upload it.
Pretty neat, isn't it?

But keep in mind, that references/links to that page might point to nirvana and cause confusion.
Better to mark that page as 'under construction'?



Edited by digizar - Oct 04 2023 at 11:15pm
___________________________________
Ask questions only if there is no answer yet.
https://blumendigi.com
Back to Top
Hobby001 View Drop Down
Admin Group
Admin Group
Avatar

Joined: Jun 05 2018
Location: Canada, Québec
Status: Offline
Points: 6145
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hobby001 Quote  Post ReplyReply Direct Link To This Post Posted: Oct 05 2023 at 12:47am
You can add the following code to your page in a javascript code block at End Body position

$("html").attr("hidden", true);


The page content will not be displayed but the whole page will be loaded.  The result will be a blank looking page




Edited by Hobby001 - Oct 05 2023 at 12:49am
Back to Top
Hobby001 View Drop Down
Admin Group
Admin Group
Avatar

Joined: Jun 05 2018
Location: Canada, Québec
Status: Offline
Points: 6145
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hobby001 Quote  Post ReplyReply Direct Link To This Post Posted: Oct 05 2023 at 4:00pm
To redirect the visitor to another page use the following code into an html code block at header position:

<meta http-equiv="refresh" content="0;url=https://your-domain-name/your-preferred-page-name.htm">


Edited by Hobby001 - Oct 05 2023 at 4:00pm
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.