WebSite X5Help Center

 
Gorg ..
Gorg ..
User

How to set BLOG as first page in menu order ??  en

Autor: Gorg ..
Visitado 1748, Followers 3, Compartido 0  
Tags: blog,home,page,v10

Hi, 

I make project for union, and must to set Blog as first page in site ( like home page! ) where display all news sorted in category!?

How to do this in V10 ?

I must to solve this as soon as possible, and waiting for your help for that...

All the best,

Gorg

Publicado en
5 RESPUESTAS - 1 ÚTIL
Incomedia
Claudio D.
Incomedia

Hello Gorg,

You can try to add in the Home Page the HTML&Widget Object and then there you add a redirect to the blog with a custom HTML code so that everytime the home link is visited the browser opens the blog page.

Hope this helps.

Leer más
Publicado en de Claudio D.
Gorg ..
Gorg ..
User
Autor

How to do that !? What is code to redirection?

Thanks in advance !!!

Leer más
Publicado en de Gorg ..
Paul M.
Paul M.
Moderator

Hello Gorg,

Try the following code in an HTML Object on the Home Page like Claudio suggested.

<meta http-equiv="Refresh" content="0; url=http://www.your_website.com/blog/index.html">

Be sure to replace 'your_website.com' with your actual domain name!

However, in my humble opinion it is better to redirect using your .htaccess file on your server  -  although in that instance you would need to remember to maintain your .htaccess file if necessary, as WebSite X5 does not include it as part of an X5 project.

Kind regards,

Paul

Leer más
Publicado en de Paul M.
Gorg ..
Gorg ..
User
Autor

 @Paul:

Is that way safe for Google indexing, and how to do .htaccess redirection for home page, some manual for that please!

Thanks in advance !!

Leer más
Publicado en de Gorg ..
Paul M.
Paul M.
Moderator

Hello Gorg,

It should be OK as long as you make sure that you do a 301 permanent redirection, as opposed to a temporary type.  In this way Google will attribute the vast majority of link juice and ranking power from your existing homepage to your new, redirected homepage.

You need to create an .htaccess file (if you don't already have one) and place it in the root of your X5 project on the server.

Add the following line to the .htaccess file:

Redirect 301 /index.html http://www.your_website.com/blog/index.html

Once again be sure to replace 'your_website.com' with your actual domain name.

Let us know if you need further help.

Kind regards,

Paul

Leer más
Publicado en de Paul M.