getting a redirest to a different URL
-
I have two test sites that are being redirected to a different url, one is a subdomain and the other a regular domain, both are getting redirected to a third domain of mine that is running a nulti site wordpress install http://rhmpano.org
All the domains add on domains and are through midphase and under my main account http://astimegoesby.us
I have done close to 100 wordpress installs but this has just driven me crazy. I don’t have any redirects set up in cpanel.
-
Have you checked to see if the redirection is caused by the .htaccess file?
Here are the redirection check results:
Checked link: http://bxbweb.com/
Type of redirect: 302 Moved Temporarily
Redirected to: http://rhmpano.org/wp-signup.php?new=bxbweb.comChecked link: http://5234wedgewood.redhillsmedia.com/
Type of redirect: 302 Moved Temporarily
Redirected to: http://rhmpano.org/wp-signup.php?new=5234wedg
ewood.redhillsmedia.comso might wanna search for “302” using grep tool on your site.
what I have out there is a clone of a working site, and their .htaccess files. When I tried to create NEW wordpress install, no .htaccess files where created. I could run install.php but the was moved to rhmpano.org when I tried to loin and when I went to their root. If I remove the index.php and replace it with a generic index.html the domains come up.
Also when I do the install.php I get verbiage in the new database files that have rhmpano.org in it. The cloned sites that are there now have no rhmpano.org verbiage.
midphase says all my dns records look correct.
Is the domain registrar also midphase? If your registrar is different, like GoDaddy.com or NameCheap.com, you can also control the redirect from there too.
For example that is what I do when I redirect my domains like:
http://domain-name.org —> http://domain-name.com
all done from the domain registrar, not the hosting company.
either midphase or wingsix, midpahse bought out wingsix but i will check on the dns entries from both. I do have both redhillsmedia.com and rhmpano.org set up for wildcard subdomains.
Where does wordpress install get it’s environment information. Installed to http://5234wedgewood.redhillsmedia.com and the byline says ‘Just another Rhmpano.org site’ but it got the site url correct but when I attempt to go to the site it attempts to take me to rhmpano.org (right now you get 500 errors because I renamed the rhmpano.org folder on the server to disable anything regarding it.
Rhmpano.org was disabled prior to the install attempt.
WordPress is PHP based, so it gets the info from PHP. Just create a phpinfo.php with the following code:
<?php phpinfo(); ?>
upload the file to your site, then access the info by visiting
http://yourdomain.com/phpinfo.php
but because you are having the redirection problem, you would have to access info via SSH, running the linux command line:
php -r "phpinfo();"
For more info, you can refer to:
http://www.commandlinefu.com/commands/view/818/phpinfo-from-the-command-line
here are links to the phpinfo files.
http://bxbweb.com/phpinfo.php
and
http://5234wedgewood.redhillsmedia.com/phpinfo.phpas far as the SSH, I don’t understand, is something I can do or should midphase support do it?
Should I move this thread to installation?
the SSH results
tidyTidy support => enabled
libTidy Release => 25 March 2009
Extension Version => 2.0 ($Id$)Directive => Local Value => Master Value
tidy.clean_output => 0 => 0
tidy.default_config => no value => no valuetimezonedb
Alternative Timezone Database => enabled
Timezone Database Version => 2012.5tokenizer
Tokenizer Support => enabled
uploadprogress
uploadprogress support => enabled
Version => 1.0.3.1Directive => Local Value => Master Value
uploadprogress.file.contents_template => /tmp/upload_contents_%s => /tmp/upload_ contents_%s
uploadprogress.file.filename_template => /tmp/upt_%s.txt => /tmp/upt_%s.txt
uploadprogress.get_contents => 0 => 0wddx
WDDX Support => enabled
WDDX Session Serializer => enabledxml
XML Support => active
XML Namespace Support => active
EXPAT Version => expat_1.95.8xmlreader
XMLReader => enabled
xmlrpc
core library version => xmlrpc-epi v. 0.51
php extension version => 0.51
author => Dan Libby
homepage => http://xmlrpc-epi.sourceforge.net
open sourced by => Epinions.comxmlwriter
XMLWriter => enabled
xsl
XSL => enabled
libxslt Version => 1.1.26
libxslt compiled against libxml Version => 2.7.8
EXSLT => enabled
libexslt Version => 1.1.26Zend Guard Loader
Zend Guard Loader => enabled
License Path =>
Obfuscation level => 3zip
Zip => enabled
Extension Version => $Id$
Zip version => 1.11.0
Libzip version => 0.10.1zlib
ZLib Support => enabled
Stream Wrapper support => compress.zlib://
Stream Filter support => zlib.inflate, zlib.deflate
Compiled Version => 1.2.3
Linked Version => 1.2.3Directive => Local Value => Master Value
zlib.output_compression => Off => Off
zlib.output_compression_level => -1 => -1
zlib.output_handler => no value => no valueAdditional Modules
Module Name
ionCube LoaderEnvironment
Variable => Value
HOSTNAME => slmp-550-35.slc.westdc.net
TERM => xterm
SHELL => /bin/bash
HISTSIZE => 1000
SSH_CLIENT => 50.53.176.195 50850 22
PERL5LIB => /home/MYURL/perl5/lib/perl5/x86_64-linux-thread-multi:/home/astij on5/perl5/lib/perl5
PERL_MB_OPT => –install_base /home/MYURL/perl5
SSH_TTY => /dev/pts/0
USER => MYURL
LS_COLORS => no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;3 3;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32: *.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00; 31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;3 1:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=0 0;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
MAIL => /var/spool/mail/MYURL
PATH => /home/MYURL/perl5/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin: /home/MYURL/bin
INPUTRC => /etc/inputrc
PWD => /home/MYURL
LANG => en_US.UTF-8
SHLVL => 1
HOME => /home/MYURL
PERL_LOCAL_LIB_ROOT => /home/MYURL/perl5
LOGNAME => MYURL
CVS_RSH => ssh
SSH_CONNECTION => 50.53.176.195 50850 174.127.108.11 22
LESSOPEN => |/usr/bin/lesspipe.sh %s
PERL_MM_OPT => INSTALL_BASE=/home/MYURL/perl5
G_BROKEN_FILENAMES => 1
_ => /usr/local/bin/phpPHP Variables
Variable => Value
_SERVER[“HOSTNAME”] => slmp-550-35.slc.westdc.net
_SERVER[“TERM”] => xterm
_SERVER[“SHELL”] => /bin/bash
_SERVER[“HISTSIZE”] => 1000
_SERVER[“SSH_CLIENT”] => 50.53.176.195 50850 22
_SERVER[“PERL5LIB”] => /home/MYURL/perl5/lib/perl5/x86_64-linux-thread-multi: /home/MYURL/perl5/lib/perl5
_SERVER[“PERL_MB_OPT”] => –install_base /home/MYURL/perl5
_SERVER[“SSH_TTY”] => /dev/pts/0
_SERVER[“USER”] => MYURL
_SERVER[“LS_COLORS”] => no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33 ;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:* .com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;3 1:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31 :*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00 ;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
_SERVER[“MAIL”] => /var/spool/mail/MYURL
_SERVER[“PATH”] => /home/MYURL/perl5/bin:/usr/kerberos/bin:/usr/local/bin:/bi n:/usr/bin:/home/MYURL/bin
_SERVER[“INPUTRC”] => /etc/inputrc
_SERVER[“PWD”] => /home/MYURL
_SERVER[“LANG”] => en_US.UTF-8
_SERVER[“SHLVL”] => 1
_SERVER[“HOME”] => /home/MYURL
_SERVER[“PERL_LOCAL_LIB_ROOT”] => /home/MYURL/perl5
_SERVER[“LOGNAME”] => MYURL
_SERVER[“CVS_RSH”] => ssh
_SERVER[“SSH_CONNECTION”] => 50.53.176.195 50850 174.127.108.11 22
_SERVER[“LESSOPEN”] => |/usr/bin/lesspipe.sh %s
_SERVER[“PERL_MM_OPT”] => INSTALL_BASE=/home/MYURL/perl5
_SERVER[“G_BROKEN_FILENAMES”] => 1
_SERVER[“_”] => /usr/local/bin/php
_SERVER[“PHP_SELF”] => –
_SERVER[“SCRIPT_NAME”] => –
_SERVER[“SCRIPT_FILENAME”] =>
_SERVER[“PATH_TRANSLATED”] =>
_SERVER[“DOCUMENT_ROOT”] =>
_SERVER[“REQUEST_TIME”] => 1345149299
_SERVER[“argv”] => Array
(
[0] => –
)_SERVER[“argc”] => 1
_ENV[“HOSTNAME”] => slmp-550-35.slc.westdc.net
_ENV[“TERM”] => xterm
_ENV[“SHELL”] => /bin/bash
_ENV[“HISTSIZE”] => 1000
_ENV[“SSH_CLIENT”] => 50.53.176.195 50850 22
_ENV[“PERL5LIB”] => /home/MYURL/perl5/lib/perl5/x86_64-linux-thread-multi:/ho me/MYURL/perl5/lib/perl5
_ENV[“PERL_MB_OPT”] => –install_base /home/MYURL/perl5
_ENV[“SSH_TTY”] => /dev/pts/0
_ENV[“USER”] => MYURL
_ENV[“LS_COLORS”] => no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01 :cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.co m=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:* .arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*. bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35 :*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
_ENV[“MAIL”] => /var/spool/mail/MYURL
_ENV[“PATH”] => /home/MYURL/perl5/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/ usr/bin:/home/MYURL/bin
_ENV[“INPUTRC”] => /etc/inputrc
_ENV[“PWD”] => /home/MYURL
_ENV[“LANG”] => en_US.UTF-8
_ENV[“SHLVL”] => 1
_ENV[“HOME”] => /home/MYURL
_ENV[“PERL_LOCAL_LIB_ROOT”] => /home/MYURL/perl5
_ENV[“LOGNAME”] => MYURL
_ENV[“CVS_RSH”] => ssh
_ENV[“SSH_CONNECTION”] => 50.53.176.195 50850 174.127.108.11 22
_ENV[“LESSOPEN”] => |/usr/bin/lesspipe.sh %s
_ENV[“PERL_MM_OPT”] => INSTALL_BASE=/home/MYURL/perl5
_ENV[“G_BROKEN_FILENAMES”] => 1
_ENV[“_”] => /usr/local/bin/phpPHP License
This program is free software; you can redistribute it and/or modify
it under the terms of the PHP License as published by the PHP Group
and included in the distribution in the file: LICENSEThis program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.If you did not receive a copy of the PHP license, or have any
questions about PHP licensing, please contact license@php.net.
-bash-3.2$now I get the error after turning on reporting for index.php
Warning: require(/wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/astijon5/public_html/5234wedgewood/index.php on line 17
Fatal error: require() [function.require]: Failed opening required ‘/wp-blog-header.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/astijon5/public_html/5234wedgewood/index.php on line 17
files are there and permissions are correct.
Humm… if the files are there, then I think you should let your hosting support to check on your site. Something doesn’t really seems right here.
They have spent hours and can not locate a problem. I have checked and re checked all my dns entries. I also disabled the rhmpano.org site and cleared my cache without solving anything.
I see. Maybe it’s something very simple that is overlooked… and this happens all the time. Have they checked on Apache server’s httpd.conf or similar files, to see if any kind of garbage was left there?
What specifically would i have them look for. Did you look over the phpinfo and the posted report? Its all Greek to me.
I don’t see anything wrong with php info. The hosting support knows what httpd.conf is, it’s the basic Apache web server settings file. It’s also possible to set virtual hosts from there. Just trying to narrow down the possibilities.
- The topic ‘getting a redirest to a different URL’ is closed to new replies.