Title: Mysterious redirection(?)
Last modified: June 11, 2019

---

# Mysterious redirection(?)

 *  Resolved [g00se](https://wordpress.org/support/users/g00se/)
 * (@g00se)
 * [7 years ago](https://wordpress.org/support/topic/mysterious-redirection-2/)
 * There seems to be some sort of mysterious redirection going on when i try to 
   access the site at
    [http://fostamells.technojeeves.com/](http://fostamells.technojeeves.com/)
 * A static file, such as [http://fostamells.technojeeves.com/license.txt](http://fostamells.technojeeves.com/license.txt)
   comes out fine but the attempt to access the homepage seems to land on a page
   of the company that hosts technojeeves.com. I really can’t see why. Is it WordPress
   doing this or what (after all it does say X-Redirect-By: WordPress)? I’ve attached
   a wget debug log of the attempt to get the homepage:
 * ==================
    Setting –output-document (outputdocument) to – DEBUG output
   created by Wget 1.18 on linux-gnu.
 *     ```
       Reading HSTS entries from /home/goose/.wget-hsts
       URI encoding = â€˜UTF-8â€™
       --2019-06-10 23:31:53--  http://fostamells.technojeeves.com/index.php
       Resolving fostamells.technojeeves.com (fostamells.technojeeves.com)... 109.157.223.23
       Caching fostamells.technojeeves.com => 109.157.223.23
       Connecting to fostamells.technojeeves.com (fostamells.technojeeves.com)|109.157.223.23|:80... connected.
       Created socket 3.
       Releasing 0x000055ada7807f40 (new refcount 1).
   
       ---request begin---
       GET /index.php HTTP/1.1
       User-Agent: Wget/1.18 (linux-gnu)
       Accept: */*
       Accept-Encoding: identity
       Host: fostamells.technojeeves.com
       Connection: Keep-Alive
   
       ---request end---
       HTTP request sent, awaiting response... 
       ---response begin---
       HTTP/1.1 301 Moved Permanently
       Date: Mon, 10 Jun 2019 22:31:53 GMT
       Server: Apache/2.4.25 (Debian)
       X-Redirect-By: WordPress
       Location: http://fostamells.technojeeves.com/
       Content-Length: 0
       Keep-Alive: timeout=5, max=100
       Connection: Keep-Alive
       Content-Type: text/html; charset=UTF-8
   
       ---response end---
       301 Moved Permanently
       Registered socket 3 for persistent reuse.
       URI content encoding = â€˜UTF-8â€™
       Location: http://fostamells.technojeeves.com/ [following]
       ] done.
       URI content encoding = None
       --2019-06-10 23:31:53--  http://fostamells.technojeeves.com/
       Reusing existing connection to fostamells.technojeeves.com:80.
       Reusing fd 3.
   
       ---request begin---
       GET / HTTP/1.1
       User-Agent: Wget/1.18 (linux-gnu)
       Accept: */*
       Accept-Encoding: identity
       Host: fostamells.technojeeves.com
       Connection: Keep-Alive
   
       ---request end---
       HTTP request sent, awaiting response... 
       ---response begin---
       HTTP/1.1 200 OK
       Date: Mon, 10 Jun 2019 22:31:53 GMT
       Server: Apache/2.4.25 (Debian)
       Last-Modified: Tue, 17 Nov 2015 09:10:32 GMT
       ETag: "8d6-524b8e5d3d200"
       Accept-Ranges: bytes
       Content-Length: 2262
       Vary: Accept-Encoding
       Keep-Alive: timeout=5, max=99
       Connection: Keep-Alive
       Content-Type: text/html
   
       ---response end---
       200 OK
       Length: 2262 (2.2K) [text/html]
       Saving to: â€˜STDOUTâ€™
       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
       <html xmlns="http://www.w3.org/1999/xhtml">
       <head>
       <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
       <title>New Hosting Account is now Active</title>
       <!-- Link to the reset CSS sheet -->
       <link rel="stylesheet" href="http://www.falcoda.co.uk/css/hpreset.css" type="text/css" />
       <!-- Link to the style CSS sheet -->
       <link rel="stylesheet" href="http://www.falcoda.co.uk/css/hpstyle.css" type="text/css" />
   
       	<!-- Unit PNG Fix -->
           <!--[if lt IE 7]>
               <script type="text/javascript" src="http://www.falcoda.co.uk/css/hpunitpngfix.js"></script>
       	<![endif]-->
       </head>
   
       <body>
   
       <div id="container"><!-- Start Container DIV -->
       	<div id="header"><!-- Start Header DIV -->
   
           <div id="tagline"><!-- Start Tagline DIV -->
           <!-- Your Tagline Goes Here -->
           <h1>Your New Hosting Account is now Active</h1>
           </div><!-- End Tagline DIV -->
   
           <!-- Start Main Content -->
           <div id="main"><!-- Start Main DIV -->
           	<div id="column_left"><!-- Start Left Column DIV -->
              		<!-- Your Subheader Goes Here -->
             		<h2>Web Hosting Instructions</h2>
   
              		<!-- Your Paragraph Of Text Goes Here -->
             		<p>This is your index.html page
       Please replace this when you upload your website
       If you are experiencing difficults with your account
       or require any another related technical support.
       <br /><br />
       Please contact Customer Support: +44 (0)208 1236532</p><!-- End Paragraph Of Text -->
   
   
               </div><!-- End Left Column DIV -->
   
               <div class="separator"></div> <!-- This is the separator between the two columns -->
   
               <div id="column_right"><!-- Start Right Column DIV -->
                 <!-- End Contact Form -->
       </div>
               <!-- End Right Column DIV -->
   
               <br class="clear" />
           </div><!-- End Main DIV -->
           <!-- End Main Content -->
   
           <div id="footer"><!-- Start Footer DIV -->
           <div id="copyright_notice"><span>© 2015 copyright</span> Hosting Console. All rights reserved.</div><!-- Copyright Notice -->
           </div><!-- End Footer DIV -->
       </div><!-- End Container DIV -->
       </body>
       </html>
            0K ..                                                    100%  219M=0s
   
       2019-06-10 23:31:53 (219 MB/s) - written to stdout [2262/2262]
   
       =================================
       ```
   
    -  This topic was modified 7 years ago by [Andrew Nevins](https://wordpress.org/support/users/anevins/).
    -  This topic was modified 7 years ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmysterious-redirection-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [7 years ago](https://wordpress.org/support/topic/mysterious-redirection-2/#post-11626932)
 * 1. Contact your host. This is most likely a hosting issue.
 * 2. Delete “index.hmtl” in the root of your site, if it’s there. index.php is 
   the critical file for WP.
 * 3. What’s in your .htaccess file?
 *  Thread Starter [g00se](https://wordpress.org/support/users/g00se/)
 * (@g00se)
 * [7 years ago](https://wordpress.org/support/topic/mysterious-redirection-2/#post-11626997)
 * Thanks. Distinct progress. Number 2 was the significant move. ‘Plain’ permalink
   will work but not ‘Post name’.This is my .htaccess:
 * ==================
    # Switch rewrite engine off in case this was installed under
   HostPay. RewriteEngine Off
 * SetEnv DEFAULT_PHP_VERSION 53
 * DirectoryIndex index.cgi index.php
 * # BEGIN WordPress
    <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule
   ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME}!-
   d RewriteRule . /index.php [L] </IfModule>
 * # END WordPress
    ==================================
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [7 years ago](https://wordpress.org/support/topic/mysterious-redirection-2/#post-11627535)
 * That error with the permalinks indicates that your host is not processing .htaccess
   correctly.
 * 1. Upgrade PHP. PHP 5.3 is *not acceptable*.
    2. Ask your host about .htaccess.
 * Or are you hosting this yourself?
 *  Thread Starter [g00se](https://wordpress.org/support/users/g00se/)
 * (@g00se)
 * [7 years ago](https://wordpress.org/support/topic/mysterious-redirection-2/#post-11627559)
 * > Or are you hosting this yourself?
 * Yes. It’s running on Debian Stretch.
    I’m using PHP 7.0
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [7 years ago](https://wordpress.org/support/topic/mysterious-redirection-2/#post-11627572)
 * First, try removing the stuff outside of the BEGIN/END WORDPRESS block. If that
   doesn’t fix it, then try the following.
 * If you’re using Apache, find the config file for your VirtualHost for this site
   and add
 *     ```
       <Directory /path/you/where/you/installed/WordPress>
          AllowOverride All
       </Directory>
       ```
   
 * then restart Apache. The default is “None”, which cases Apache to ignore what’s
   in .htaccess.
 *  Thread Starter [g00se](https://wordpress.org/support/users/g00se/)
 * (@g00se)
 * [7 years ago](https://wordpress.org/support/topic/mysterious-redirection-2/#post-11627615)
 * `AllowOverride All`
    needed setting in my vhost config. Thanks

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Mysterious redirection(?)’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 2 participants
 * Last reply from: [g00se](https://wordpress.org/support/users/g00se/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/mysterious-redirection-2/#post-11627615)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
