Wordpress redirect loop when clicking ''previous entries''
$30-80 USD
Pago na entrega
At [url removed, login to view] I have a "previous entries" button that says "Redirect Loop: Firefox has detected that the server is redirecting the request for this address in a way that will never complete."
I attempted to search for a solution to this problem in forums, but the best solution I found was on this forum [url removed, login to view] with the post "I added this to the top of the [url removed, login to view] file, and it fixed it!!
`$_SERVER[ 'REQUEST_URI' ] = $_SERVER[ 'HTTP_X_ORIGINAL_URL' ];` I'm using subdirectories, but it's supposed to work for subdomains, also."
This advice helped somewhat, but I tried adding $_SERVER[ 'REQUEST_URI' ] = $_SERVER[ 'HTTP_X_ORIGINAL_URL' ]; at the top and I just got a redirect loop on the entire page. Then I literally put it at the top of my php file and this seemed to fix the problem, but I got an error message at the top of the screen:
$_SERVER[ 'REQUEST_URI' ] = $_SERVER[ 'HTTP_X_ORIGINAL_URL' ];
Warning: Cannot modify header information - headers already sent by (output started at /hermes/web05/b1329/[url removed, login to view]:2) in /hermes/web05/b1329/[url removed, login to view] on line 389
In addition, when I log out I get the same message 17 times.
Could anyone possibly fix the redirect loop error?
ID do Projeto: #3495618