skip to Main Content

How to attach same RewriteCond to different RewriteRule in .htaccess? – Apache

I want to redirect url to my ogp page when User-agent matches Twitter or Facebook. My redirect image is like this. /news/detail.html?id=1 -> /api/v1/informations/ogp/1?lang=ja /news/detail.html?id=1&lang=en -> /api/v1/informations/ogp/1?lang=en /sport/detail.html?id=1 -> /api/v1/sports/ogp/1?lang=ja /sport/detail.html?id=1&lang=en -> /api/v1/sports/ogp/1?lang=en /event/common/detail.html?id=1 -> /api/v1/events/ogp/1?lang=ja /event/common/detail.html?id=1 -> /api/v1/events/ogp/1?lang=ja /event/special/detail.html?id=2&lang=en…

VIEW QUESTION
Back To Top
Search