The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
12 views

Social Wall plugin GETs are filling up httpd logs

Six months ago I set up a WordPress installation for an intranet. It worked fine until a few weeks ago, when the MySQL server started crashing. Perhaps is unrelated, but by looking at the httpd ...
1
vote
1answer
456 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
0answers
12 views

add_rewrite_rule to fix fastcgi issue with basic AUTH

The issue is that $_SERVER['PHP_AUTH_USER'] and $_SERVER['PHP_AUTH_PW'] are not populated if PHP is running CGI/FastCGI as the server API. I've read there is a possible fix with this through htaccess ...
2
votes
0answers
17 views

HTTP Header on specific page is application instead of text

Problem: clicking on (WP site that I developed) webejeeping.com/vehicles/ causes the generated php file to be downloaded instead of being rendered in the browser. MIME Type returns as "application/...
1
vote
1answer
43 views

Hiding WordPress REST API v2 endpoints from public viewing

I would like to start using the WordPress REST API v2 to query information from my site. I've noticed that when I visit an endpoint URL directly, I can see all of the data publicly. I've also seen ...
4
votes
2answers
162 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 ...
-5
votes
1answer
35 views

Wordpress HTTP parameter pollution

Does anyone know if Wordpress is vulnerable to HTTP parameter pollution? I have been receiving some notifications from Acunetix report about it reporting this issue. thanks.
0
votes
0answers
69 views

Uploading .mp3 files http error - 2 “exact” files one successful other fails

I have 2 equal .mp3 files - technically different files but both exported from Audacity using the same settings and the same original audio. Exactly the same size, same content (albeit processed ...
2
votes
1answer
46 views

Switch from https back to http

I recently moved my site to https, by installing a SSL-certificate on the server and updating the site address and site home in the wp-admin to use https. Due to some errors my client is experiencing ...
0
votes
1answer
60 views

Errors on a single host using wp_remote_get() unless sslverify is set to false

I'm testing a plugin on HostGator, GoDaddy, DreamHost and DigitalOcean, developing locally with VVV. I'm running WordPress 4.4.2 across the board. I'm using wp_remote_get() to retrieve weather data ...
0
votes
0answers
18 views

Divert http to https with WordPress on IIS

I have a WordPress site running on IIS. The site has an associated SSL Certificate. Right now I am able to access the site with http and https. How can I get my http to redirect to https? Any help ...
0
votes
0answers
19 views

htaccess rewrite rules for http and https access

I want to be able to test (is https on and is the request for an http file) then serve an https file. This is so that the website can be access from https or http.
0
votes
1answer
26 views

CSS/JS not working in multi lang subdomain

I am facing a problem of loading the CSS and JS files, in the main language (when I type www.site.com) the style is working fine but when I change the language to English ( www.site.com/en/) the ...
0
votes
0answers
131 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. ...
1
vote
0answers
59 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 ...
1
vote
0answers
29 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
21 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
165 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
22 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
536 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: ...
1
vote
1answer
1k 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
1answer
31 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
20 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
62 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
442 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
35 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 ...
1
vote
2answers
2k 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 ( !...
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
266 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
1answer
41 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 /wp-content/uploads/...
0
votes
2answers
75 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
62 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
359 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 ...
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: fopen(http://localhost/wordpress/wp-cron.php?doing_wp_cron=1373799734....
0
votes
1answer
809 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
votes
1answer
525 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 ...
2
votes
1answer
222 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 ...
0
votes
1answer
703 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 that?....
2
votes
1answer
918 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
votes
1answer
2k 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 ...
3
votes
2answers
4k 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 domain....
0
votes
0answers
102 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
votes
2answers
380 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
1answer
54 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
260 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
82 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
36 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
91 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
365 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 ...
0
votes
1answer
3k 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 http://client....