G
G
Grione2021-03-14 21:07:41
1C-Bitrix
Grione, 2021-03-14 21:07:41

How to change the URL on a text page in Bitrix?

There is a text page. The URL of the page is taken from the name of the folder where index.php is located. How can I change the url without changing the folder name? It seems like such nonsense, but I do not understand how to do it.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
topuserman, 2021-03-14
@topuserman

By default, the url must match the names of physical files and folders.
To create a synonym, you can use urlrewrite - Processing Rules.

A
Antonio Solo, 2021-03-14
@solotony

through .htaccess set substitutionURL

RewriteEngine On
RewriteRule   /foo/bar /foo/baz

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question