.htaccess - Render symbolic link without redirecting -
I want to reach / rss-2 /
at / rss / news Php
(This file does not exist) Currently the feed (generated by a wp plugin) shows the feed / rss-2 /
, I want to show it on the second page too.
I tried
Rewity condom% {REQUEST_URI} /rss/news.php Rewriteum ^ (. *) $ / Rss-2 / [R]
But I can not find the appropriate flag which gives the destination instead of redirecting it.
Looks at the WordPress URL in the address bar, you do not have to rewrite the URL. You can use the [P]
flag for the proxy for the request, but I have heard that it is quite expensive because you are making an additional request on your own server with that URL. The second request will see the RSS-2 and handle it accordingly, which will pass it to 1 request, which will show it to the user. Additionally, a proxy connection has to be set for each request.
See for more information.
Comments
Post a Comment