Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What if the paging does not appear after phpcms modifies the protocol to https

2025-04-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Editor to share with you what to do if the paging is not displayed after the phpcms modification agreement is https. I hope you will gain a lot after reading this article. Let's discuss it together.

Question:

Paging cannot be displayed properly after phpcmsv9 modifies the protocol to https.

Solution:

1. Open the file phpcms\ libs\ functions\ global.func.php

2. Search function pageurl

Replace the following code:

$url = str_replace ('http://','//','~'), array (' ~','/', 'http://'), $url)

For

/ / ASMITA modify if (substr ($url,0,5) = = "https") {$url = str_replace (array ('https://','//','~'), array (' ~','/', 'https://'), $url);} else {$url = str_replace (array (' http://','//','~'), array ('~','/', 'http://'), $url) } after reading this article, I believe you have a certain understanding of what to do when paging is not displayed after phpcms changes the agreement to https. If you want to know more about it, you are welcome to follow the industry information channel. Thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report