Home > Web Front-end > HTML Tutorial > How to write this regular expression? _html/css_WEB-ITnose

How to write this regular expression? _html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:11:45
Original
927 people have browsed it

Visit /seoall/zhidao.baidu.com/

Actually, you are visiting /gongju/seo/alls.php?domain=zhidao.baidu.com


This httpd How to write .ini


Reply to discussion (solution)

RewriteRule ^/seoall/zhidao.baidu.com/$ /gongju/seo/alls .php?domain=zhidao.baidu.com


Let me try

RewriteRule ^/seoall/zhidao.baidu.com/$ /gongju/seo/alls.php?domain =zhidao.baidu.com

1,

It is best to save it in a .htaccess file.

RewriteRule ^/seoall/zhidao.baidu.com/$ /gongju/seo/alls.php?domain=zhidao.baidu.com


Let me try it

Success zhidao.baidu.com is variable

Success code: RewriteRule ^/seoall/(.*)/$ /gongju/seo/alls.php?domain=$1

Thank you You

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template