apache2 - Trying to find where redirect on apache server is happening - Ask Ubuntu


i have redirect on website redirects www.mydomain.com/wordpress/index.php however, can not find location of redirect.

i removed entire site not coming home dir. checked .htaccess files.

is there way increase logs point of showing me redirect occurring?

you figured out now, here couple of tips:

  1. first one, check don't have .htaccess doing redirection (you did that)
  2. make grep -r wordpress on /etc/apache2/ directory, see if find redirection
  3. very important: erase cache of browser! or use different 1 :)

here else had similar problem.

so, versions before 2.4, add:

rewriteengine on rewritelog "/var/log/apache2/rewrite.log" rewriteloglevel 3 

to apache.conf file. , newer ones, just:

loglevel alert rewrite:trace6 

Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User