WebSite X5Help Center

 
Vitaly Semenov
Vitaly Semenov
User

HTML to PHP  en

Auteur : Vitaly Semenov
Visité 2100, Followers 1, Partagé 0  

Hello.

My site is already more than three years old, and the main page has been expand html all this time. Now to add to the main page of the blog widget, I have to change the extension to php. How should I do this so that my home page does not lose its good reputation for all past time?

Thank you.

vitsem.com

Posté le
5 RéPONSES - 1 UTILES
Sergey G.
Sergey G.
User

Во первых , узнайте в техподдержке хостинга, можно ли настроить сервер на выполнение php скриптов внутри html страниц. Если да, то расширение не надо менять. Если нет , то надо настроить 301й редирект со старой страницы на новую

Lire plus
Posté le de Sergey G.
Vitaly Semenov
Vitaly Semenov
User
Auteur
Sergey G.
Во первых , узнайте в техподдержке хостинга, можно ли настроить сервер на выполнение php скриптов внутри html страниц. Если да, то расширение не надо менять. Если нет , то надо настроить 301й редирект со старой страницы на новую

В техподдержке (ONE.com) сказали, что нужно менять расширение, да и в программе при добавлении виджета блога, страница автоматически меняется на PHP расширение. Я решил поменять расширение, но как настроить редирект? Сейчас у меня есть на сервере файл htaccess, который настроен на с www на нон www, и на без Index. Но как настроить чтобы со старой (трехлетней) страницы HTML был переход на новую в PHP? Спасибо.

Lire plus
Posté le de Vitaly Semenov
Incomedia
Claudio D.
Incomedia

Hello Vitaly Semenov,

The technical support of the hosting provider will be able to help you with the .htaccess file since this depends on the hosting server.

Many thanks!

***** Google Translation:

Привет Виталий Семенов,

Техническая поддержка хостинг-провайдера поможет вам с файлом .htaccess, поскольку это зависит от сервера хостинга.

Большое спасибо!

Lire plus
Posté le de Claudio D.
Vitaly Semenov
Vitaly Semenov
User
Auteur
Claudio D.
Hello Vitaly Semenov, The technical support of the hosting provider will be able to help you with the .htaccess file since this depends on the hosting server. Many thanks! ***** Google Translation: Привет Виталий Семенов, Техническая поддержка хостинг-провайдера поможет вам с файлом .htaccess, поскольку это зависит от сервера хостинга. Большое спасибо!

Hello.
In technical support I was given a link to this article https://www.internetmarketingninjas.com/blog/search-engine-optimization/301-redirects/. I read it, but I can not understand what I should write in the file.

Lire plus
Posté le de Vitaly Semenov
Incomedia
Claudio D.
Incomedia

Hello Vitaly,

We provide support only for functions in the program and this doesn't depends on the program.

Generally speaking since the functions do not depend on WebSite X5, you can search useful information about the custom code with search engines like google or wait until someone on the community of Help Center can help you.

Many thanks!

Lire plus
Posté le de Claudio D.