Hot answers tagged

6

TL;DR? Just leave it as it is. Request Codes Before getting into this it's worth familiarising yourself with different HTTP request codes. A 200 header (the default) has the following meaning: The request has succeeded. The information returned with the response is dependent on the method used in the request, for example: GET an entity ...


2

EE does not have any built-in link constructors that directly handle single sites spanning multiple domains / protocols / ports. So, to your question: EE doesn't understand that part of your site lives in HTTP, and part lives in HTTPS. You may want to just use hand-entered URLs. For the home page, instead of using {path=''}, use literally: http://domain.com/...


2

The thing you should do is edit your upload preferences with a relative path and not an absolute, that is to say: Server Path to upload directory = /the/actual/server-path/to/my-site/images URL of Upload Directory = /my-site/images // Note we're not using http://my-site This lets the path be more flexible by letting the browser/location use the current ...


1

If you look in the EE source (v.2.10.1) you will see the following in system/expressionengine/libraries/Auth.php (line numbers on the left): 156 if ($authed === FALSE) 157 { 158 @header('WWW-Authenticate: Basic realm="'.$realm.'"'); 159 ee()->output->set_status_header(401);...


1

CK Editor, which is the basis for WYGWAM and Wyvern, will do this when links are added with the link button. Also look at VZ URL: devot-ee.com/add-ons/vz-url-extension which will check links for validity when entered.


1

You should definitely create a module, or use an existing one. PHP in templates is always a bad idea. There are plenty of plugins which let you make web service API calls, such as Rest. If you want to go the route of creating your own one, how you should start depends entirely on when you want these API calls to be made. If API calls should happen when ...


Only top voted, non community-wiki answers of a minimum length are eligible