How can I solve that in Wordpress

February 5, 2016 1.2k views
PHP WordPress

How to solve this error?

In a windows hosting it is solved by eliminating certain file but here as I access to it, being new to this environment ubuntu?

1 Answer

Hey there,

It looks like you have a redirect look. If you look at this test output below you’ll see the status is 302 which means it’s a type of redirect and you’ll notice the location is the same URL as the entry URL.

$ curl -I
HTTP/1.1 302 Moved Temporarily
Server: nginx
Date: Sat, 06 Feb 2016 02:44:09 GMT
Content-Type: text/html
Connection: keep-alive
Keep-Alive: timeout=15
Content-Length: 154

I also can tell that you are running Nginx for a web server. You may want to review your Nginx configuration for a redirect. Here is a tutorial that talks about redirects for Nginx. If you were trying to make all non-www traffic redirect to the www subdomain, this tutorial may have a good example for you as well.

Happy coding,

Jon Schwenn
Platform Support Specialist

by Justin Ellingwood
HTTP redirects are used to redirect web site visitors to new locations when they request content. These are useful for a variety of reasons, whether permanent or temporary. This guide will demonstrate how to redirect visitors using Apache and Nginx.
Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!