The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
5 views

Access Control Allow Origin problem with CORS

I'm at wit's end. We're using CORS to go back and forth between a .NET environment and a WP/BuddyPress environment. I've added the Access-Control rule to the header in index.php, with no wildcard. ...
0
votes
0answers
22 views

wp_remote_get() not retrieving pages properly

I am using wp_remote_get() to retrieve different pages from the web. It is a news site. Most of the time, this works successfully. However, sometimes, the request returns either: bad request (code ...
0
votes
0answers
7 views

HTTP Error after finishing uploading a video that is bigger than 64 MB -> After raising the upload limit manually in the wp-config file

I use dreamhost as my webhost. Previously my wordpress upload limit was 64 MB. I asked the tech from dreamhost to boost to 400MB. He told me I had to change a setting in my wp-config.php. That's what ...
0
votes
2answers
14 views

Running index.php from command line & load balancer health checks

Cutting to the chase, on the command line within wordpress root folder: php index.php Should this always return a response? I'm having a technical discussion with my sysadmin about this issue. Our ...
1
vote
0answers
26 views

How to use https on one page only?

Shortly: I want my WordPress to respond in https on exactly one specifc route. Everything else should respond in http. Is that even possible in WordPress and how to do it? Details I have a single ...
0
votes
0answers
17 views

Query Database for URL

I have a multisite setup and was wondering how I can query a database to find and retrieve a URL if it exists, otherwise, don't output anything... For example, using the two following domains which ...
1
vote
1answer
168 views

How to remove rest api link: in http headers?

i would like to remove the "link:" line added to the http headers since wordpress 4.4 here is a curl -I killcandida.org here is the output extract of the line that i would like to delete: Link: ...
0
votes
1answer
19 views

How to make my site use HTTPS for images or how to insert images as relative paths?

I recently added HTTPS to my domain and I have it so that http is redirected to https but my WordPress blog is still using http for it's images. I upload an image and it is using http. Is there ...
2
votes
1answer
19 views

Access general settings trough wordpress files

I was reading an article about HTTPS and that you could turn on SSL and HTTPS for Wordpress quite easily. However in the article it said that you should go to Settings > General Settings within the ...
0
votes
1answer
35 views

couldn't connect to host - wp-cron.php?doing_wp_cron

I've moved my wordpress website to new dedicated server. Website is running few cron jobs setup by wp-cron. As soon as i moved the website to new server cron jobs stopped running. I've debug bar ...
2
votes
1answer
130 views

How can I use CURLOPT_USERPWD in wp_remote_post?

I'm trying to setup a proper cURL call in WordPress so am using wp_remote_post(). However, I'm having trouble authenticating the user via wp_remote_post(). Any idea how to convert the following to be ...
0
votes
1answer
24 views

Turn twitter-urls into list timelines?

I know there's the oEmbed ability to embed a specific tweet, as described in their documentation... but is there any way to simply get the latest in a particular twitter feed, without setting up an ...
7
votes
5answers
2k 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 ...
1
vote
1answer
199 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
59 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( ...
1
vote
1answer
49 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 ...
1
vote
2answers
254 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
1answer
203 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
39 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
380 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
756 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 ...
2
votes
1answer
653 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 ...
1
vote
1answer
727 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 ...
2
votes
2answers
3k 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
91 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
1k 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
51 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
215 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
68 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
30 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
89 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
350 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
47 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
676 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
432 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
358 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
445 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
289 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
368 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 ...
34
votes
3answers
828 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
149 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
212 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
3k 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); ...