首页 > 其他分享 >destoon修改公司模块url路径com

destoon修改公司模块url路径com

时间:2023-10-08 09:34:11浏览次数:31  
标签:destoon rewrite url homepage 修改 php com b2b

destoon修改公司模块url路径com,只需要修改两处即可。

1、打开文件include/global.func.php,修改:

$URL = DT_PATH.'com/'.$username.'/';

将com改成你希望的公司模块地址即可,例如:b2b、gongsi、changjia等。

2、修改网站的伪静态,将com相关的伪静态改成对应的路径即可。

rewrite ^/(b2b)/([a-z0-9_\-]+)/([a-z]+)/(.*)\.html$ /index.php?homepage=$2&file=$3&rewrite=$4 last;
rewrite ^/(b2b)/([a-z0-9_\-]+)/([a-z]+)([/])?$ /index.php?homepage=$2&file=$3 last;
rewrite ^/(b2b)/([a-z0-9_\-]+)([/])?$ /index.php?homepage=$2 last;

然后后台更新缓存即可,例如:游戏https://www.clw9335.com/gl/ 转载请注明:攻略-9335游戏网

标签:destoon,rewrite,url,homepage,修改,php,com,b2b
From: https://www.cnblogs.com/zx8868/p/17748077.html

相关文章

  • C# 如何获取Url的host以及是否是http
    获取整个url地址:在页面(cstml)中Microsoft.AspNetCore.Http.Extensions.UriHelper.GetDisplayUrl(Context.Request);在Controller中Microsoft.AspNetCore.Http.Extensions.UriHelper.GetDisplayUrl(Request);获取请求的方式(scheme:http/https):httpInasp.net4.6->Reques......
  • 使用BAPI_NETWORK_COMP_*实现生产订单组件的增删改查
    1、文档说明对于生产订单组件的增删改有多种办法,比较常用的有使用内部函数CO_XT_COMPONENT_*,有改造BAPI_ALM_ORDER_MAINTAIN来实现,各有千秋。本文档介绍,通过PS的BAPI_NETWORK_COMP_*系列BAPI,来实现常见的组件先删后建的覆盖式操作,组件部分字段修改,组件信息查询等功能2、BAPI用......
  • 洛谷355BAJ-Bytecomputer8
    这一道题如果直接做是没有什么思路的,所以我们合理猜测应该是有什么结论看这个数列最开始就只有三个值,所以我们猜测最后也只有这三个值下面是证明首先第一个数最小是-1,所以所有数的下界是-1其次如果存在某一个数大于1,我们找到这个数列最前面的这个数,那他前面的数肯定是1,然后对......
  • Go - Composing Structs from Other Structs
    Problem: Youwantastructthathasdataandmethodsofanotherstruct. Solution: Embedanunnamedstructwithinanotherstruct.Theouterstructwillgainthedataandmethodsoftheinnerstruct. Inheritanceisnottheonlymechanismyoucanusefor......
  • vue3中defineComponent 的作用详解
    转自:https://www.jb51.net/article/263096.htm 这篇文章主要介绍了vue3中defineComponent 的作用,本文通过实例代码给大家介绍的非常详细,对大家的学习或工作具有一定的参考借鉴价值,需要的朋友可以参考下 vue3中,新增了defineComponent,它并没有实现任何的逻辑,只是把接收的......
  • Step by step guide to becoming a C++ developer in 2023
    https://roadmap.sh/cpphttps://roadmap.sh/backend......
  • [已解决] Compilation error ptxas fatal : Value ‘sm_30‘ is not defined for opti
    在用cmake编译cuda程序时,总是报Compilationerrorptxasfatal:Value‘sm_30’isnotdefinedforoption‘gpu-name’问题,也是折腾了好久,感谢这位小哥的解决方案,亲试无误,万分感谢~转载:https://blog.csdn.net/Fucking_Code0916/article/details/132429186安装tiny-cudann出......
  • A curious case: CLR/COM Interop leak
    Acuriouscase:CLR/COMInterop leakUNCATEGORIZED.NET, COM, INTEROP, PRODUCTIONDEBUGGING, WINDBGLEAVEACOMMENTBackgroundAcustomeraskedmeaquestionlastweek:inCLR-COMinteropcase,whoisresponsibletofreeupastringreturnedfromCO......
  • Top 50+ Linux Commands You MUST Know
     https://www.digitalocean.com/community/tutorials/linux-commands Top50LinuxCommandsYouMustKnowasaRegularUserls-ThemostfrequentlyusedcommandinLinuxtolistdirectoriespwd-PrintworkingdirectorycommandinLinuxcd-Linuxcomman......
  • JS逆向实战23 某市wss URL加密+请求头+ws收发
    声明本文章中所有内容仅供学习交流,抓包内容、敏感网址、数据接口均已做脱敏处理,严禁用于商业用途和非法用途,否则由此产生的一切后果均与作者无关,若有侵权,请联系我立即删除!本文首发链接为:https://mp.weixin.qq.com/s/o5UCJFhBg-4JFdS0aEwDuw前言在此前。我们先来了解下什么是......