Base URL in .htaccess

后端 未结 4 1597
故里飘歌
故里飘歌 2020-12-19 16:42

I wonder if this is possible to tell via .htaccess or any other manners to set a base URL.

Example

My CSS in the index.php is set like this

         


        
4条回答
  •  眼角桃花
    2020-12-19 17:19

    You should use an absolute path in your pages:

    
    

    Base tags can cause numerous headaches as all non-absolute URIs will be used with it.

提交回复
热议问题