Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
URL problem after latest update?
Just updated to the new txp 4.0.5.
After the update txp changed all my internal links (the ones automated by txp) to https instead of http.
I’ve looked through all the settings but can’t find anywhere to change this.
Is this something changed by txp or is this an issue with my webhost?
Do I have to tweak any files or what can I do to override this?
please help…
Offline
Re: URL problem after latest update?
It should only do that, when you access it via https. Apparently the detection is not working for you.
Yes you can override it, though. Simply add a line to your config.php that says:
define( 'PROTOCOL', 'http://');
For us to find out why it’s the wrong result for you, can you check what result you get when you create and access a test.php file with:
<?php var_dump($_SERVER['HTTPS']);die(); ?>
Offline
Re: URL problem after latest update?
Thanks a lot! That solved it!
just pasted the <?php var_dump($_SERVER['HTTPS']);die(); ?> into a new document and saved it as test.php (was that right?) and accessed it on my server. Resulted in following output:
string(3) "off"
Any help to you?
Last edited by ilpalmo (2007-07-03 15:06:33)
Offline
#4 2007-07-05 21:09:23
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: URL problem after latest update?
Try making the following change instead (lines 65-76). Let us know if that solves it.
Last edited by Mary (2007-07-09 00:55:18)
Offline
Re: URL problem after latest update?
Thanks for you help as well… but the last post solved it perfectly, I think I’ll stick with that
Offline
Pages: 1