草庐IT

php - htaccess 重写后 "Unexpected token ' > '"第 1 行(中断 css 和图像)

基本上,我的目标是修复损坏的链接。旧链接可能指向http://www.example.com/work/funkystuff,我将他们重定向到http://www.example.com/en/work/funkystuff.下面是这种可怕疾病的症状:图像、CSS和Javascript中断。控制台告诉我每种类型的“ResourceinterpretedasStylesheetbuttransferredwithMIMEtypetext/html:"http://localhost/en/".”。我在UncaughtSyntaxError:Unexpectedtoken的第一行收到关于“