Suppose your example.com knowledge base URL is https://example.myfaqprime.com and you want it to be known as
The above can be achieved by configuring the reverse proxy in the example.com configuration and here are steps -
-- Apache Based Configuration
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
SSLProxyEngine on
ProxyPass /faq/ https://example.myfaqprime.com/
ProxyPassReverse /faq/ https://example.myfaqprime.com/
# change the example.myfaqprime.com to your given url.
-- Nginx Based Configuration
location /faq/ {
proxy_pass https://example.myfaqprime.com/;
}
# change the example.myfaqprime.com to your given url.
-- .htaccess based configuration
Create the directory called faq at the https://www.example.com
Locate the .htaccess file
Inside the <IfModule mod_rewrite.c> block add the following line.
RewriteEngine On
RewriteRule ^/?faq/(.*)$ https://example.myfaqprime.com/$1 [L,P]
# change the example.myfaqprime.com to your given url.
# First line is needed if its not there, if its there then just add the line after "RewriteEngine On" and you are done