The tag has no wiki summary.

learn more… | top users | synonyms

6
votes
5answers
1k views

Chrome Version 44.0.2403.89 m is trying to force HTTPS

With the release of Chrome Version 44.0.2403.89 m, I've noticed that our site is now completely broken. All of the HTTP URLs are being redirected to HTTPS URLs, which is a problem because our site ...
0
votes
1answer
17 views

Allow non-SSL pages to use https or Force non-SSL pages to http?

I have a basic question which I did not see previously asked here. I think it belongs here because of the fact that it deals with attempting to secure wordpress. Which is more secure across requests? ...
0
votes
2answers
22 views

Is curl required?

My admin panel is very slow I've tried to debug the issue. I nailed it to the function wp_remote_post and an internal error message thrown by curl on this line return new WP_Error( ...
0
votes
1answer
28 views

Wordpress changing script source from https to http

added three links by request of a international shipping company. Added the code to the head.php doc in my theme folder. Cleared the page cache and re-uploaded the theme cache. When I look at ...
0
votes
2answers
93 views

Broken urls with http site and https wp-admin

I am currently using a wordpress installation in which all the website is intended to be shown in http while the https part is protected by a self signed certificate, distributed manually to the ...
0
votes
0answers
60 views

HTTP request on localhost failing

I have a Wordpress instance on my development box with the WP REST API plugin installed. I am attempting to create my own plugin to use wp_remote_get() to communicate with my own custom PHP ...
0
votes
1answer
31 views

What is this HTTP_REFERRER “WordPress/4.1.2”

On our website we have huge traffic with same IP and referrer "WordPress/4.1.2; http://www.xxxx.com". The log line looks like: 62.24.2.2 - - [22/Apr/2015:17:28:15 +0200] "GET ...
-1
votes
1answer
131 views

Nice font not working when http to https - SSL Issue

I have two questions here about SSL actually. This is my very first time using ssl for website. 1st question: I have recently purchased an ssl for my websites. I have a nice font for my website which ...
0
votes
1answer
510 views

HTTP error when uploading an image

I know there are already a few posts on this issue, but unfortunately none of those answers were helpful to me. Every time I upload an image, I get an HTTP Error - that's it. Nothing more, no ...
1
vote
1answer
310 views

Remove the http protocol from images

I've been banging my head on the wall trying to filter my posts to remove the http: protocol from the img src and I think I may have found a solution. Does anybody see anything wrong with this ...
0
votes
1answer
407 views

If Modified Since HTTP Header

I am trying to enable 304 If Modified Since HTTP header in my WordPress site. After doing lot of Googling I find out a site where the author said to put the following line at the very end of wordpress ...
0
votes
2answers
1k views

Prevent Wordpress from sending Cache-control http header

My site sits on a server that uses Varnish as a (powerful) caching engine. Unfortunately, it seems wordpress is busting the Varnish cache by sending a cache-control http header. If I curl -I ...
0
votes
0answers
70 views

WordPress HTTPS - '… better to use HTTP for installation …'

I've made a few test installation of WordPress, including Multi-Site, using https://www. - and haven't encountered any specific problems or issues. I aim to make https://www. the default, site-wide. ...
1
vote
2answers
709 views

Programmatically log in a wordpress user

I am trying to programmatically log in a wordpress user, using the following function for that. public function auto_login( $user ) { $username = $user; if ( ...
0
votes
1answer
43 views

Does Wordpress perform better with curl installed?

Wordpress doesn't require curl but it seems to use it if it's available (see line 295). I'm guessing HTTP requests will perform better using curl or Wordpress wouldn't even try to use it. Is this ...
0
votes
1answer
165 views

Redirect user to a particular link in 10 seconds after using wp_die

I want to use some type of functionality if ( $some_condition == false ) { wp_die(); // Here i want to redirect page on some URL after 10 seconds } I need to do it inside a plugin. Is it ...
0
votes
2answers
55 views

Can I use HTTP POSTs? Is there a better alternative?

I am use to php development in general and I am use to getting a lot done by making a POST to a php file. However I have not seen people using $_POST in WordPress. I have seen one discussion about ...
1
vote
0answers
25 views

Wordpress template css does not load over http but does over https [closed]

My Wordpress template "The7" from themeforest.com css does not load over http but does over https. No caching or any other optimization is enabled in the server nor any related plugins are active. I ...
0
votes
0answers
85 views

Get full page HTML for a non-public Wordpress page

How can I write a function that will return the full rendered HTML of a non-public URL on my Wordpress site—a URL that you must be logged in to see, such as a draft? Not just the post content, but the ...
0
votes
0answers
312 views

Any idea on how to fix this error when forcing SSL on a certain page?

I'm in the process of forcing a few pages with forms to use SSL. After setting up the SSL, I opened up the console and begin debugging the errors. I ended up installing WordPress HTTPS plugin and ...
-1
votes
1answer
1k views

Using the wp_remote_post response body

I don't have great PHP skills, but can usually fumble my way through with a little bit of direction, so I'm hoping someone on here can help me. I am doing a http post submission from a form to a ...
0
votes
0answers
33 views

Is it safe to use PUT and DELETE requests

I am building my new shiny plugin and since I've read about REST etc.I wanted to do things right and implement PUT and DELETE requests, and not just use POST and GET like I did until now. But now I ...
0
votes
2answers
357 views

How do I use the 'http_request_host_is_external' filter

I'm having a really hard time trying to use the http_request_host_is_external filter. For some background, I'm trying to set up a separate server to handle private plugin and theme updates. The ...
1
vote
3answers
1k views

force http canonical tag on https pages

At present all https pages have their own canonical tags referencing https, which is incorrect, they should be referencing the http versions. e.g: https://www.example.com has the following ...
0
votes
0answers
421 views

http error when uploading media files

I am having this same annoying issue many other have: When I am trying to upload images into Wordpress via the media uploader, it gives me an http error. Now I have tried the following, but nothing ...
1
vote
1answer
1k views

Failed to open stream: HTTP request failed! in \wamp\www\wordpress\wp-includes\class-http.php on line 929

I'm writing a theme and almost every time I reload a page, WordPress is giving the following error Warning: ...
0
votes
1answer
2k views

Enable CORS in wordpress

I'm trying to enable CORS in wordpress and I've placed this line of code in my header.php file header("Access-Control-Allow-Origin: *"); Then I tested to see if it works via this page ...
2
votes
1answer
3k views

Why Better WP security plugin returns 418 I'm a Teapot “error”?

I am working on the Wordpress website and all of a sudden after deploying it on the server, I started seeing a problem where some of the pages on my website return 418 I'm a Teapot as Response status ...
-1
votes
2answers
335 views

http upload error as a subscribed user

Im getting an http error when uploading a featured image as a Subscriber. If I upgrade the user to editor or admin all works well. My server is Ubuntu 12.10, NGINX, WP 3.5.1 I have checked php.ini ...
0
votes
0answers
399 views

Http error when upload some images

I'm using Wordpress 3.5.1 on Debian Wheezy with PHP 5.4.4. I have increased memory in php.ini to 512M. It is a new Wordpress with no plugins. When i try to upload images, some images won't upload : ...
0
votes
1answer
272 views

Detect if request is coming from wordpress conditional statement

I don't even know if this is possible and my search terms in google are not doing any good. Since the site URL and blog URL are different I had to fix the post preview bug by giving wordpress it's ...
0
votes
1answer
308 views

why is $_REQUESt['redirect_to'] empty?

wp-login.php uses $_REQUEST['redirect_to'] as a way to override redirection for lostpassword link. However, it doesn't seem to work for some reason. Maybe its my server environment, but ...
33
votes
3answers
803 views

Does WordPress send data about your blog to WordPress.org or Automattic?

I've recently heard someone say WordPress does send data about your blog to back home. Is that true? and if so what data is that or where in the code can I see what's exchanged?
1
vote
0answers
135 views

Serving HTTP and HTTPS from one installation

I've got a WordPress install that is serving up content via both HTTP and HTTPS. The site URL is configured as "http://www.example.com". This works for most situations - if a person requests a page at ...
0
votes
1answer
2k views

how to server over http and https with one installation

is there an easy way to set up a single wordpress intallation to serve its pages both over http and https? I have an http based website, and I have some pages that I would like to make accessible as ...
4
votes
4answers
4k views

Where to get information about array fields in $_REQUEST?

I just started to learn PHP and doing things with WordPress and I am a bit confused about information in Codex. Was told that Codex got all info I required but I got stuck with it. What array fields ...
2
votes
1answer
197 views

Handling the response sent from a ruby on rails application in wordpress

I am using my rails application to send data to a wordpress site. Basically if a user has wrong password, I am going to end the reverse proxy and redirect the user back to the wordpress site but I ...
1
vote
4answers
2k views

using wp_remote_get to retrieve own url on local host

I have a website in local development at test:8888 and I am trying to get the following to work in my functions.php file. $response = wp_remote_get( 'test:8888/?p=1' ); print_r($response); ...
0
votes
1answer
738 views

Random HTTP 500 error in WordPress

I'm running WordPress 3.2.1 on a CentOS box and I'm getting reports from my writers saying they get HTTP 500 errors when they try to update an exciting post. I've tried the same and have similar ...
0
votes
1answer
552 views

How to return HTTP 404 when no search results found?

When user search and there is no results found wordpress still return 200 OK. I want to change it to 404 Not Found. Is it possible to return 404 Not Found header in search.php? If yes, how to do ...
2
votes
1answer
677 views

problem using WP_Http with paypal nvp api

trying to convert a plugin I wrote to use wp_http instead of Curl (so it'll work on servers without curl) the plugin posts to paypal nvp api and gets back an encrypted button when I try to use the ...
1
vote
2answers
845 views

How to get title tag of an external page with http api?

What is the best method to retrieve the title tag of an external page using the http api? The snippet below will get the body but I can't find the right documentation about how to just get the tag. ...
2
votes
2answers
191 views

Get the final destination after WP_Http redirects (WordPress)

I'm doing some requests to an API via WordPress, and the API uses SSL connections if they're turned on in the API settings. I'd like to determine whether SSL is turned on or off without having to ask ...
1
vote
1answer
819 views

Getting soft 404 errors (200 status) when caching plugins are enabled

I have a blog running the latest stable version of WordPress on a dedicated virtual server with the following situation. (Replace [caching plugin] with W3 Total Cache, Hyper Cache, or Quick Cache, as ...
0
votes
1answer
794 views

Wp Remote get with manual redirect

I set add_filter( 'http_request_redirection_count', array($instance,'SetDirectionCount')); to 0 I try to get 'http://boards.ign.com/The_Vestibule/b5296/' or ...
1
vote
1answer
529 views

Using wp-cron in backpress - problems with wp_remote_post, fsockopen error

I'm working on a BackPress project where I need to schedule cron tasks. The cron_uri for BP is stored in options, rather than hardcoded as it is in WP core. I've tried setting the option to ...
2
votes
2answers
611 views

How do I troubleshoot responses with WP HTTP API?

I make a GET call to API, call is supposed to return no data: browser (and sniffer) give me 200-OK response with null text as body; wp_remote_get() gives me 200-OK response with string of binary ...