WebSite X5Help Center

 
Ibrahim C.
Ibrahim C.
User

Set my Blog page as Home Page  en

Auteur : Ibrahim C.
Visité 1359, Followers 1, Partagé 0  

Hey Team,

I am wondering if there is a way how to set my blog page as Home page..!!?

reason asking, is because the blog fuction and parameter such the slide Blocks tools are quite handy to make the job easy for me to continuously make the new post as first article in the " home page"  ..

instead of the home page which for me a challenging way,,,

To explain more in details:

1. example in home page:

 I need every day to post new article book reference for recomendation read,, if I want to set this new article in the home page, and  for such limitted lines ( like 10 books article in home page) and I want to add more books as first to be read, then I need to move the first one on top to another page and roll the new article instead.. I don't thnk is a good way :)..

example in Blog page:

thanks to the slide Blocks tool, it help me to categorize the new and old posts by just adding the new post article then It will populate as new article..

I hope have made myself more cleare on this matter..

see attached slide blocks

Posté le
23 RéPONSES - 11 UTILE
Aleksej H.
Aleksej H.
Moderator

Hello. Unfortunately, at the moment, as far as I know, there is no way to make a blog as the main page.
Perhaps this object will help you, which allows you to display blog posts on any page. Here is a video about it.

Lire plus
Posté le de Aleksej H.
John S.
John S.
User

You could use a redirect.

If your domain is mydomain.dom - then the blog will be here: mydomain.dom/blog

On the home page in settings / expert / "before closing the </HEAD> tag

you could insert something like this:

<meta http-equiv="refresh" content="0; url =    https://mydomain.dom/blog" />

The 0 in "refresh" content="0 means that redirection takes place immediately. If you specify a number bigger than 0 then the redirection will happen after the specified amount of time.

If you put the code on the home-page you will see the blog instaed of a "normal" home page when you specify the URL to your site.

It is rather easy to test.

Let us hear if you have it to function.

Lire plus
Posté le de John S.
Miguel Galarza
Miguel Galarza
User

Greetings: As Aleksej says, you can use the object that he mentions or the RSS Feed object.

John S.'s solution can present a couple of problems.


  • If you place it before the closing of the "head" tag in STEP 1 - Statistics and code, the tag can be placed on all pages of your site and all of them will redirect to the main page that you put in the meta tag.
  • If you put the meta tag in STEP 3 - Home page - Properties - Advanced - before closing the head tag, even if it sets 0 seconds to redirect, the browser begins to download what you have on the home page and that consume data.
  • If it is placed in STEP 3 - Entry page - Properties - Advanced - before closing the head tag, it can generate a double meta tag, one towards the home page and another towards the blog and that is not adequate.

I made a tutorial on my website, (to be able to edit the post as the case may be, since here in the community forum you cannot edit a post). In that tutorial the <meta> is manually placed on the entry page only, which is given a few seconds to redirect to the blog entry page. Thus, from the entry page, it goes directly to the main page of the blog without going through the home page, or generating a double label.

It is in Spanish but you can copy and paste in the google translator, and with screenshots.

The link:
https://espaciosdeexpresion.com/blog/index.php?blog-como-pagina-de-inicio-con-websitex5

It is a bit tedious at first, but once the steps are memorized they are done automatically.

Lire plus
Posté le de Miguel Galarza
John S.
John S.
User

I am not sure why Miguel mentions the other things.

I suggested the 3 - home page - properties - advanced - before closing the head tag. 

And that will function.

It does not matter that a download of some small data amount is happening - it will not be noticeable.

You could try it out - and then later you can experiment with the solution that Miguel suggest.

Lire plus
Posté le de John S.
Miguel Galarza
Miguel Galarza
User

Google translate:

Greetings John:


I'm not saying your solution is wrong. Only some people who have placed the meta tag on the home page have downloaded some of the content from that page before directing them to the blog. It all depends on the content, if you have any type of video or audio, the download will begin, and that for those who use cell phones consumes a lot of data (even if it is set to 0 seconds, it goes through the home page and begins the download in the "background", so to speak, the file you started downloading), in home connections it doesn't matter if you download a lot of megabytes, but in cell phones each megabytes matters ... and we have to think about those users as well.


At one time I had the meta tag as you say. but i was notified that it was consuming too much data. (On the home page it had three videos, one started automatically when entering the page, in addition to 4 audios and many images).


As I mentioned, it all depends on the content and how it is optimized. If there is not much content on the home page, there is no problem ...

On the other two points I mentioned, it can make the site crazy if you put the meta tag in those places.


As I said in one of the points, the program generates a double meta tag, one towards the home page and the other towards the blog page.

For something websitex5 has not given a solution.

The solution that I made has worked for me since the meta tag is manually entered only on the entry page and directs to the blog without going through the home page. That is, there is no double meta tag.
:)

Lire plus
Posté le de Miguel Galarza
John S.
John S.
User

And greetings to you Miguel.

I assume that as Ibrahim want to use the blog as the home page, there will not be much in his "real" home page.

I am pretty sure I suggested a proper solution for Ibrahim.

It can also be done via the .htaccess, but what I suggest is the easiest and it is also very easy to "go back" from that solution.

Lire plus
Posté le de John S.
Ibrahim C.
Ibrahim C.
User
Auteur

Thanks guys for all your sugesttion and tips..

@john, I have tested the redirect "before closing the </HEAD> tagwith the script coding..

Good news it get me to the blog instead of home page..

However, seems I am now facing some alternative issue where only one post is pop up on the blog page where I actually have inserted 5 or 6 posts..

I revoked the script to check if this is the cause,,, indeed it is :(...

So technically, the redirectin works fine, but only for one post is populated despite more are already on the sitle Blocks...

Lire plus
Posté le de Ibrahim C.
John S.
John S.
User

Do you have a link to your site, so I can check what could be wrong?

Lire plus
Posté le de John S.
John S.
John S.
User

What happens when you "manually" use the URL you have specified for the redirect?

The url should be your domain name followed by /blog

There should be no need to specify more than that, as there is a index.html in the blog folder.

Lire plus
Posté le de John S.
Ibrahim C.
Ibrahim C.
User
Auteur

Hey, actually I have tested just locally... but this is my new website still working on it ,,www.book0line.com

I know with "0" hhhhhhh,, was my mistake,,,

But would good if you have any idea or thought how I can still make my home page up today with ant new article...

Lire plus
Posté le de Ibrahim C.
Ibrahim C.
Ibrahim C.
User
Auteur

right I copy and past exaclty the script, then changing the domain name...that's all.. :)

Lire plus
Posté le de Ibrahim C.
John S.
John S.
User

Hello Ibrahim

When I see your blog I see only one post.

https://www.book0line.com/blog/

If you redirect to the URL above, then this is why you only see one post.

This indicates that your redirect is functioning as it should.

I suggest you to:

Remove the redirection.

Make some more blog-posts.

Upload your project.

Check that the blog contains the posts you expect - and then -

Insert the redirection again and then see if you will then not see all the blog posts online when you use preview.

** Beware - if you use the correct URL then you will see what is on the internet - this is different to what you see when you preview.

Lire plus
Posté le de John S.
Ibrahim C.
Ibrahim C.
User
Auteur

Thanks John,

I have exactly set your guide, but seems the page is continuously reloading..

<meta http-equiv="refresh" content="0; url =    https://booki0line.com/blog" />

Then I have added  “ 1 “ instead of  " 0" ,, but still continuing reloading :(

Lire plus
Posté le de Ibrahim C.
John S.
John S.
User

I see the problem but not sure why it happens.

It seems the code added is put into a script.

Could you take a screenshot of where you put in the code?

Lire plus
Posté le de John S.
John S.
John S.
User

I just tested it on one of my own sites - and there it behaved as expected.

I think you have not inserted it the correct place.

It should be here:

And then here:

Lire plus
Posté le de John S.
Ibrahim C.
Ibrahim C.
User
Auteur

You save my Day John :).. Thanks alot..

Actually, I have inserted the script in the setting tab instead of the page setting as it shows on your screenshots..

After changing the script into the Home page,,,  I could trigger the blog as home page,,

Thanks a lot for your support John ,,  :)

Thanks all :)

Lire plus
Posté le de Ibrahim C.
John S.
John S.
User

Good you had it to function.

I can see that you still use the 1 

<meta http-equiv="refresh" content="1 ; url = https://book0line.com/blog" />

You should change it back to 0.

<meta http-equiv="refresh" content="0 ; url = https://book0line.com/blog" />

That should do that when you choose the "HOME" in your menu, you will not see the glimpse of the "real" homepage.

Lire plus
Posté le de John S.
John S.
John S.
User

Hello Ibrahim

I have some suggestions for you:

- It is possible to have a search for only the blog-posts. This way it will show the posts in the "blog-way".

When you make a site-search, also old pages is found. Also the pages that you now make as blog posts. And the posts is shown in the page-way.

- You have a page with authors. It is possible to make links for an author, that will show all blog posts for that author. Example: The link for "Nicola Rayner" could be : https://www.book0line.com/blog/?nicola

Or - better: https://www.book0line.com/blog/?author=Nicola_Rayner

The last link will show all blog posts, where Nicola_Rayner is tagged as author.

The blog is a strong tool when you tag both the category and the author. This way you can have each book as a separate post.

Lire plus
Posté le de John S.
John S.
John S.
User

You could have 2 categories: Books and Authors.

On each post that is a book, of course you specify the category "books". And for the Author you specify the author in the author tag field. AND then you can specify the type of the book in the tag field. Here you can specify more types. This way a book can belong to both thriller, action and crime.

You could then in the sideblock have a html-object where you make links for the types.

This way the user can choose between authors and books, but also choose a type. A book can be seen in more than one type.

On an author you can make a link that shows ALL the books for that author - like this:

https://www.book0line.com/blog/?author=Nicola_Rayner

When you input a new book to the blog you just have to put in the book and give it the correct tags. Then it will automatically be connected to the author and the types.

Just a suggestion

Lire plus
Posté le de John S.
John S.
John S.
User

I have made an example of the type in the side-block.

It can be seen here: https://www.bramminginfo.dk/blog/

The Type is made as a html using links for the types - like this:

<a href="url">link text</a>

If you click on "park" then you will see 3 posts I have given this tag.

If you click on "anlæg" you will only see one post. The one post you see is also under "park". Imagine it was a book that belonged to both crime and action.

Lire plus
Posté le de John S.
Ibrahim C.
Ibrahim C.
User
Auteur

John, this seem Very promising suggestion I have to say :)

I got the concept which is really handy and flexible approach..

It is now just matter how I can translate your suggestion on my web... 

I will start applying this,,, I will definitely get back to you for any issue or input from your end if that's okay with you...

Lire plus
Posté le de Ibrahim C.
John S.
John S.
User

Ibrahim, I have another suggestion.

You close this thread my marking the post that led you to the solution on solving the :

"Set my blog page as home page".

Then apply some more to your blog.

When you have some questions on how to do things on the blog (or other things), then open a post for that.

I promise I will then help if I am able to. Else - I am sure others will help.

It might be confusing to have many things in one thread.

When you have closed the thread I will not be able to make comments to you before you make a new post, so don't expect more suggestions from me before you have opened a new post.

Lire plus
Posté le de John S.
Ibrahim C.
Ibrahim C.
User
Auteur

Totally Agree,,,, Thanks 

Lire plus
Posté le de Ibrahim C.