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
WBOYOriginal
2016-06-24 12:11:45920browse

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

Statement:
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