• 301 on my wordpress but no htaccess

    From francis.marielle@gmail.com@21:1/5 to All on Thu Nov 3 04:27:30 2016
    Hello,

    After moving my site to a new apache server, i'm not able to access to

    curl -v http://www.followmytrack.net
    * Rebuilt URL to: http://www.followmytrack.net/
    * Hostname was NOT found in DNS cache
    * Trying 164.132.197.229...
    * Connected to www.followmytrack.net (164.132.197.229) port 80 (#0)
    GET / HTTP/1.1
    User-Agent: curl/7.38.0
    Host: www.followmytrack.net
    Accept: */*

    < HTTP/1.1 301 Moved Permanently
    < Date: Thu, 03 Nov 2016 11:18:30 GMT
    * Server Apache is not blacklisted
    < Server: Apache
    < Location: http://www.instantanes-alphonse.fr/
    < Content-Length: 0
    < Content-Type: text/html; charset=UTF-8
    <
    * Connection #0 to host www.followmytrack.net left intact
    root@vps330357:~# curl -v http://www.followmytrack.net
    * Rebuilt URL to: http://www.followmytrack.net/
    * Hostname was NOT found in DNS cache
    * Trying 164.132.197.229...
    * Connected to www.followmytrack.net (164.132.197.229) port 80 (#0)
    GET / HTTP/1.1
    User-Agent: curl/7.38.0
    Host: www.followmytrack.net
    Accept: */*

    < HTTP/1.1 301 Moved Permanently
    < Date: Thu, 03 Nov 2016 11:25:37 GMT
    * Server Apache is not blacklisted
    < Server: Apache
    < Location: http://www.instantanes-alphonse.fr/
    < Content-Length: 0
    < Content-Type: text/html; charset=UTF-8
    <
    * Connection #0 to host www.followmytrack.net left intact

    On all my wordpres, my htaccess are clean and i don't have any 301 redirection.

    How i can remove this 301 ?

    Thank you

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eli the Bearded@21:1/5 to ivan@siamics.net on Fri Nov 4 20:49:24 2016
    XPost: alt.apache.configuration

    In comp.infosystems.www.servers.unix, Ivan Shmakov <ivan@siamics.net> wrote: [huge snip]
    Also, is there a chance that the redirect is produced by the
    application (WordPress) itself rather than Apache?

    There's a very good chance of that. Wordpress seems to like to have a
    single domain name and to force all traffic to use that name.

    Look in http.../wp-admin/options-general.php

    Elijah
    ------
    enjoy the fun of trying to use the same config for dev, qa, and staging

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ivan Shmakov@21:1/5 to All on Fri Nov 4 18:45:53 2016
    XPost: alt.apache.configuration

    francis marielle <francis.marielle@gmail.com> writes:

    [Cross-posting to news:alt.apache.configuration, because, well,
    why not?]

    After moving my site to a new apache server, i'm not able to access
    to

    curl -v http://www.followmytrack.net
    * Rebuilt URL to: http://www.followmytrack.net/
    * Hostname was NOT found in DNS cache
    * Trying 164.132.197.229...
    * Connected to www.followmytrack.net (164.132.197.229) port 80 (#0)
    GET / HTTP/1.1
    User-Agent: curl/7.38.0
    Host: www.followmytrack.net
    Accept: */*

    < HTTP/1.1 301 Moved Permanently
    < Date: Thu, 03 Nov 2016 11:18:30 GMT
    * Server Apache is not blacklisted
    < Server: Apache
    < Location: http://www.instantanes-alphonse.fr/
    < Content-Length: 0
    < Content-Type: text/html; charset=UTF-8
    <
    * Connection #0 to host www.followmytrack.net left intact

    [Duplicate transcript removed.]

    On all my wordpress, my htaccess are clean and i don't have any 301 redirection.

    Well, the question then will be, what /do/ you have? Do you use
    mod_alias or mod_rewrite? Do the command like the one below
    show anything of relevance to the redirect you get?

    $ grep -irE -- 'Redirect|instantanes-alphonse\.fr' /etc/apache2 /var/www

    Also, is there a chance that the redirect is produced by the
    application (WordPress) itself rather than Apache?

    How i can remove this 301 ?

    By disabling the part of the configuration that results in the
    redirect, I presume.

    --
    FSF associate member #7257 58F8 0F47 53F5 2EB2 F6A5 8916 3013 B6A0 230E 334A

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)