The site page is located at: http://example.com/news/
It is necessary to configure .htaccess
so that when you click on the link: http://example.com/article/
we get to http://example.com/news/
.
And at the same time, the user in the address bar indicated http://example.com/article/
if he followed this link, the one who followed http://example.com/news/
respectively, http://example.com/news/
.
In this case, the Redirect
command is not appropriate. Tried something like this.
RewriteCond %{DOCUMENT_ROOT}/news%{REQUEST_URI} -f RewriteRule ^(.+)$ /mebel/$1 [L]
or so
RewriteCond %{HTTP_HOST} ^/mebel/$ RewriteRule /news/
But nothing good happens. Apparently I haven't read something or have misunderstood something. Can you help?