Home > Backend Development > PHP Tutorial > htaccess 伪静态跳转有关问题

htaccess 伪静态跳转有关问题

WBOY
Release: 2016-06-13 12:44:24
Original
677 people have browsed it

htaccess 伪静态跳转问题
想从tag/abc 跳到 tag/index.php?t=abc



RewriteRule ^tag/(.*)$ tag/index.php?t=$1

index.php
print_r($_GET['t']);//显示的是index.php 而不是 abc 怎么办??


php?
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