• Resolved g00se

    (@g00se)


    There seems to be some sort of mysterious redirection going on when i try to access the site at
    https://fostamells.technojeeves.com/

    A static file, such as https://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 = a€?UTF-8a€?
    --2019-06-10 23:31:53--  https://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: https://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 = a€?UTF-8a€?
    Location: https://fostamells.technojeeves.com/ [following]
    ] done.
    URI content encoding = None
    --2019-06-10 23:31:53--  https://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: a€?STDOUTa€?
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="https://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="https://www.falcoda.co.uk/css/hpreset.css" type="text/css" />
    <!-- Link to the style CSS sheet -->
    <link rel="stylesheet" href="https://www.falcoda.co.uk/css/hpstyle.css" type="text/css" />
    
    	<!-- Unit PNG Fix -->
        <!--[if lt IE 7]>
            <script type="text/javascript" src="https://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]
    
    =================================

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    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

    (@g00se)

    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)

    (@sterndata)

    Volunteer Forum Moderator

    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

    (@g00se)

    Or are you hosting this yourself?

    Yes. It’s running on Debian Stretch.
    I’m using PHP 7.0

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    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

    (@g00se)

    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.