htaccess url as parameter

前端 未结 4 2008
小蘑菇
小蘑菇 2020-12-12 02:32

Hi all and thanks in advance, I\'m trying to add a url as a parameter but I can not. My rule is:

RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-f  
Rewr         


        
4条回答
  •  Happy的楠姐
    2020-12-12 03:07

    Not my area of expertise, but why not use a $_SERVER request for the url?

    It may work, may not, and that way if the domain ever changes then there is no need to update anything.

    Hope this helps.

提交回复
热议问题