The http tag has no wiki summary.
0
votes
1answer
18 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 ...
1
vote
1answer
51 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 ...
0
votes
1answer
312 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 ...
0
votes
1answer
132 views
How to trigger download for file.tar.gz
I have a file sitting in public_html/file.tar.gz, now when I try to downlaod it via http://example.com/file.tar.gz, Wordpress is showing a "Not Found" page. I think it's interrupting with the ...
0
votes
0answers
17 views
Using arrays in $_REQUEST
I am setting up a form that will be populated with arrays of information, e.g.
<input name="model[]"><input name="make[]">
and those two inputs would be repeated n times. I would expect ...
0
votes
2answers
65 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
107 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
0answers
39 views
Wordpress all pages intermittently 302 redirecting to themselves
All of the pages on my site http://www.inner-geek.com are 302 redirecting to themselves. However this is intermittent as its flicks between a 302 response to a 200 response. It's running on wordpress ...
1
vote
4answers
674 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
112 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
101 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 ...
28
votes
3answers
630 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?
0
votes
0answers
88 views
HTTP ERROR when trying to upload an image in Nextgen gallery [closed]
I am getting an error when trying to upload an image on NextGen gallery.
The error says:
ERROR HTTP error.: HTTP Error.
When checking on developer tool it says:
POST ...
1
vote
1answer
124 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
0answers
56 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
341 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
947 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
2answers
442 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 ...
0
votes
1answer
475 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 ...
2
votes
1answer
458 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
556 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. ...
1
vote
1answer
141 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
466 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
556 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
389 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 ...
