标签: .htaccess cpanel
我在我的网站中使用静态文件。我的网站URL类似于:example.com/html/prone/dark我在该目录中有索引js文件和其他文件。在文件中有链接href="/about.html"。并且当我单击它时,它将转到example.com/about,但我想将其检索为:example.com/html/prone/dark/about.html。我怎样才能通过.htaccess做到这一点?
example.com/html/prone/dark
href="/about.html"
example.com/about
example.com/html/prone/dark/about.html