I have a redirect on my website that immediately redirects to however, I can not find the location of the redirect.
I removed the entire site so it is not coming from the home dir. I checked all .htaccess files.
Is there a way to increase logs to the point of showing me where the redirect is occurring?
1 Answer
You probably figured out by now, but here a couple of tips:
- First one, check that you don't have some
.htaccessdoing the redirection (you already did that) - Make a
grep -R wordpresson the /etc/apache2/ directory, to see if you find some redirection - Very important: Erase the cache of your browser! Or use a different one :)
Here is someone else who had a similar problem.
So, for versions before 2.4, add:
RewriteEngine On
RewriteLog "/var/log/apache2/rewrite.log"
RewriteLogLevel 3to the apache.conf file. And for newer ones, just:
LogLevel alert rewrite:trace6