admin管理员组

文章数量:1298120

I have wp installed in a sub-directory named cms inside the pub folder (pub/cms/) of my magento 2 install. When I type domain/cms/index.php it serves a page without the theme. It is just text and images. What would be the correct nginx redirect to redirect domain/cms/index.php page to domain/blog.

I would like the redirect to be compatible with yoast's sitemap which is being served under the following dir which I cannot figure out how to change: domain/cms/index.php/sitemap_index.xml

I tried several different nginx commands but was met with failure. Any help would be greatly appreciated.

本文标签: Nginx how to redirect indexphp