V
V
Valery Sadykov2019-11-11 15:35:39
1C-Bitrix
Valery Sadykov, 2019-11-11 15:35:39

How to make a page (any, to choose from) the main (landing)?

The site has a homepage defined from the beginning. But there is also a good page called "Catalogue". I would like to try to make it the main one. But even more I want to know how to assign any page as the main one. Change at least every day.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Artem Ivanov, 2019-11-11
@Valibran

.htaccess
RewriteEngine on
RewriteCond %{HTTP_HOST} ^domain-name.com$ [NC,OR]
RewriteCond %{HTTP_HOST} ^www.domain-name.com$
RewriteCond %{REQUEST_URI} !folder/
RewriteRule (.*) /folder /$1 [L]
DirectoryIndex file.php

V
Valery Sadykov, 2019-11-12
@Valibran

Your answer is good for professionals. I am not like that.
Is it possible to accompany your seven lines with some kind of commentary for dummies?
If, of course, you have time for it.
By the way, my site is an online store on the 1C-Bitrix platform site management (small business)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question