我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

如何在域名后面的URL中添加实际不存在的虚拟目录名称

I need to add a virtual directory after domain name depending on user's response in my site. Suppose User select their country as USA, the url would be www.domain.com/US/ for rest of the visit for the user, for Germany it wold be www.domain.com/DE/ etc.....

In this cases the US or DE are not exist in real, only it will show in the URL, but the control will point the actual directories.

Please help

近期文章

  • 致命错误:未捕获错误:调用未定义函数wc_product_class()[重复]
  • wordpress视频无法在移动设备上运行
  • 验证登录用户后返回URL
  • 如何删除mpdf中的块元素边距?
  • 如何从PHP中打开Excel中加载信息
  • 调用未定义的方法SQLite3 :: execute()
  • 如何使用php动态回显日期范围搜索结果中列数据的总和?
  • Wordpress:致命错误:未捕获错误:调用未定义函数wp_get_attachment_src()
  • 致命错误:未捕获错误:未找到类'EthereumRPC \ EthereumRPC'
  • 错误标记映射
  • Order_by错误1 10 11 12
  • 隐藏数据表中的列
  • 如何在file_get_contents和echo $ content之后为数字着色;
  • 如何访问包含对象的JSON数组中的值
  • php从嵌套的多维数组中删除重复项
  • nowdoc在函数内部
  • Laravel迁移不在新数据库上工作
  • 如何为Highcharts同步图表设置xData作为日期(Y-M)?
  • PHP重置页面刷新
  • PHP脚本没有创建文件

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华