我重写的 url 重定向到一个没有 css 或任何其他规则被应用的网站

My rewritten url redirecting but to a website without css or any other rule being applied

这是我的原创url

http://havemybooks.com/blog_single?blog_no=39&blog=Ten%20quotes%20by%20national%20leader%20to%20make%20this%20independence%20day%20more%20speacial.

这是我重写的url

http://havemybooks.com/blog_no/39/blog/Ten%20quotes%20by%20national%20leader%20to%20make%20this%20independence%20day%20more%20speacial.

这是我在 .htaccess 中使用的代码。我不太了解 .htaccess,所以我正在使用 htaccess 生成器工具。

RewriteEngine On
RewriteRule ^blog_no/([^/]*)/blog/([^/]*)$ /blog_single?blog_no=&blog= [L]

这是我在检查网站元素时遇到的错误。

资源解释为样式表但使用 MIME 类型传输text/html

如上,您只需要从站点根目录加载静态内容。目前,您的所有 URL 都是相对于您正在访问的页面呈现的。

在您的 <head> 个页面中添加 base tag,内容将根据需要加载。

<base href="www.example.com/">