How to specify a link in nginx to jump to other pages
typecho
typecho 2017-06-28 09:28:48
0
1
1165

For example, this link /index.php?route=product/category&path= , I just want users who visit this link to jump to the /abc.html page

How to write this? nginx

typecho
typecho

Following the voice in heart.

reply all (1)
大家讲道理

Try this

if ( $request_uri = "/index.php?route=product/category&path=" ){ return 301 /abc.html; }
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!