WebSite X5Help Center

 
Gorg ..
Gorg ..
User

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

Автор: Gorg ..
Просмотрено 1728, Подписчики 3, Размещенный 0  
Тэги: 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

Размещено
5 Ответы - 1 Полезно
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.

Читать больше
Размещено От Claudio D.
Gorg ..
Gorg ..
User
Автор

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

Thanks in advance !!!

Читать больше
Размещено От 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

Читать больше
Размещено От Paul M.
Gorg ..
Gorg ..
User
Автор

 @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 !!

Читать больше
Размещено От 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

Читать больше
Размещено От Paul M.