javascript - 关于页面跳转,如何不在地址栏显示目录结构

WBOY
Release: 2016-06-06 20:32:31
Original
1362 people have browsed it

比如登陆的时候会根据不同的权限跳转到不同的页面,但是不想出现

A权限用户登陆进入,地址栏是 域名/A_index.html
B权限用户登录进入,地址栏是 域名/B_index.html

虽然可能跳转到不同的文件夹,但是希望有些目录结构在地址栏是隐藏的,可以怎么实现跳转

回复内容:

比如登陆的时候会根据不同的权限跳转到不同的页面,但是不想出现

A权限用户登陆进入,地址栏是 域名/A_index.html
B权限用户登录进入,地址栏是 域名/B_index.html

虽然可能跳转到不同的文件夹,但是希望有些目录结构在地址栏是隐藏的,可以怎么实现跳转

参考url重写

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!