Problem of redirection 302

Hello,
When I check my website in http://redirectcheck.com/ , I have this :

http://philippines-gate.com

HTTP/1.1 302 Moved Temporarily
Date: Fri, 03 Oct 2014 16:35:52 GMT
Server: Apache/2.2.26 (Unix) mod_ssl/2.2.26 OpenSSL/1.0.1e-fips mod_bwlimited/1.4
X-Powered-By: PHP/5.3.28
Set-Cookie: memberSession=YRQFENCvtghR%2Bpj8i%3Fj4%3FwzBZ%21fDUuGj; path=/; httponly
Set-Cookie: countryLONG=United+States; expires=Sat, 04-Oct-2014 02:35:53 GMT; path=/
Set-Cookie: countrySHORT=US; expires=Sat, 04-Oct-2014 02:35:53 GMT; path=/
Set-Cookie: lang=en; path=/
location: /
Content-Length: 215570
Content-Type: text/html; charset=utf-8

http:///

I dont use redirection in my control panel and I dont know this problem: /
I dont want this redirection 302 because its very bad for the seo.
If someone can help me, I will be very glad!
thanks in advance

Quote · 3 Oct 2014

Handled by host or whoever is handling the domains DNS.

You will need to contact your host. This is a dolphin community. Complex hosting problems such as that are best directed to your host. The company that's provides the hosting for your site. Apparently the domain name has not been properly setup.

https://www.deanbassett.com
Quote · 3 Oct 2014

Thanks, I already contacted TMD hosting but they said :

Hello,

Thank you for the update.

For such question it is best to check in the Dolphin official forums:

http://www.boonex.com/forums/

there are quite a lot of redirects in the default Dolphin .htaccess file and if you would like to add some they may interfere with the already existing ones. You should check the forums for assistance or with the developers of Dolphin.

Please do not hesitate to contact us if you have any further questions or comments.

Best Regards,

So, now I dont know what I can do...

Quote · 3 Oct 2014

Lovely. Have you made any changes to your site's .htaccess file?

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 3 Oct 2014

Yes because I added few mods.
You can see my htaccess:
Options -MultiViews -Indexes

<IfModule mod_php4.c>
    php_flag register_globals Off
</IfModule>
<IfModule mod_php5.c>
    php_flag allow_url_include Off
    php_flag register_globals Off
</IfModule>

<IfModule mod_rewrite.c>
RewriteEngine on

RewriteRule ^blogs/{0,1}$   modules/boonex/blogs/blogs.php [QSA,L]
RewriteRule ^blogs/all/{0,1}$  modules/boonex/blogs/blogs.php?action=all  [QSA,L]
RewriteRule ^blogs/all/([0-9]+)/([0-9]+)/{0,1}$  modules/boonex/blogs/blogs.php?page=$2&per_page=$1  [QSA,L]
RewriteRule ^blogs/top/{0,1}$   modules/boonex/blogs/blogs.php?action=top_blogs [QSA,L]
RewriteRule ^blogs/top/([0-9]+)/([0-9]+)/{0,1}$   modules/boonex/blogs/blogs.php?action=top_blogs&page=$2&per_page=$1 [QSA,L]
RewriteRule ^blogs/top_posts/{0,1}$   modules/boonex/blogs/blogs.php?action=top_posts [QSA,L]
RewriteRule ^blogs/top_posts/([0-9]+)/([0-9]+)/{0,1}$   modules/boonex/blogs/blogs.php?action=top_posts&page=$2&per_page=$1 [QSA,L]
RewriteRule ^blogs/tag/([^/.]+)/{0,1}$   modules/boonex/blogs/blogs.php?action=search_by_tag&tagKey=$1 [QSA,L]
RewriteRule ^blogs/tag/{0,1}$   modules/boonex/blogs/blogs.php?action=search_by_tag&tagKey= [QSA,L]
RewriteRule ^blogs/posts/([^/.]+)/tag/([^/.]+)/{0,1}$   modules/boonex/blogs/blogs.php?action=search_by_tag&tagKey=$2&ownerName=$1 [QSA,L]
RewriteRule ^blogs/posts/([^/.]+)/category/([^/.]+)/{0,1}$   modules/boonex/blogs/blogs.php?action=show_member_blog&ownerName=$1&categoryUri=$2 [QSA,L]
RewriteRule ^blogs/entry/([^/.]+)/{0,1}$   modules/boonex/blogs/blogs.php?action=show_member_post&postUri=$1 [QSA,L]
RewriteRule ^blogs/entry/{0,1}$    modules/boonex/blogs/blogs.php?action=show_member_post&postUri= [QSA,L]
RewriteRule ^blogs/posts/([^/.]+)/{0,1}$   modules/boonex/blogs/blogs.php?action=show_member_blog&ownerName=$1 [QSA,L]
RewriteRule ^blogs/posts/{0,1}$   modules/boonex/blogs/blogs.php?action=show_member_blog&ownerName= [QSA,L]
RewriteRule ^blogs/posts/([^/.]+)/([0-9]+)/([0-9]+)/{0,1}$   modules/boonex/blogs/blogs.php?action=show_member_blog&ownerName=$1&page=$3&per_page=$2 [QSA,L]
RewriteRule ^blogs/posts/([^/.]+)/category/([^/.]+)/([0-9]+)/([0-9]+)/{0,1}$   modules/boonex/blogs/blogs.php?action=show_member_blog&ownerName=$1&categoryUri=$2&page=$4&per_page=$3 [QSA,L]
RewriteRule ^blogs/home/{0,1}$   modules/boonex/blogs/blogs.php?action=home [QSA,L]
RewriteRule ^blogs/all_posts/{0,1}$   modules/boonex/blogs/blogs.php?action=all_posts [QSA,L]
RewriteRule ^blogs/all_posts/([0-9]+)/([0-9]+)/{0,1}$   modules/boonex/blogs/blogs.php?action=all_posts&page=$2&per_page=$1 [QSA,L]
RewriteRule ^blogs/popular_posts/{0,1}$   modules/boonex/blogs/blogs.php?action=popular_posts [QSA,L]
RewriteRule ^blogs/popular_posts/([0-9]+)/([0-9]+)/{0,1}$   modules/boonex/blogs/blogs.php?action=popular_posts&page=$2&per_page=$1 [QSA,L]
RewriteRule ^blogs/featured_posts/{0,1}$   modules/boonex/blogs/blogs.php?action=featured_posts [QSA,L]
RewriteRule ^blogs/tags/{0,1}$   modules/boonex/blogs/blogs.php?action=tags [QSA,L]
RewriteRule ^blogs/show_calendar/{0,1}$   modules/boonex/blogs/blogs.php?action=show_calendar [QSA,L]
RewriteRule ^blogs/my_page/{0,1}$   modules/boonex/blogs/blogs.php?action=my_page&mode=main [QSA,L]
RewriteRule ^blogs/my_page/add/{0,1}$   modules/boonex/blogs/blogs.php?action=my_page&mode=add [QSA,L]
RewriteRule ^blogs/my_page/manage/{0,1}$   modules/boonex/blogs/blogs.php?action=my_page&mode=manage [QSA,L]
RewriteRule ^blogs/my_page/pending/{0,1}$   modules/boonex/blogs/blogs.php?action=my_page&mode=pending [QSA,L]
RewriteRule ^blogs/my_page/edit/([0-9]+)/{0,1}$  modules/boonex/blogs/blogs.php?action=edit_post&EditPostID=$1 [QSA,L]
RewriteRule ^blogs/member_posts/([0-9]+)/{0,1}$   modules/boonex/blogs/blogs.php?action=show_member_blog&ownerID=$1 [QSA,L]
RewriteRule ^blogs/category/([^/.]+)/{0,1}$   modules/boonex/blogs/blogs.php?action=category&uri=$1 [QSA,L]

RewriteRule ^ads/{0,1}$  modules/boonex/ads/classifieds.php?Browse=1 [QSA,L]
RewriteRule ^ads/my_page/{0,1}$  modules/boonex/ads/classifieds.php?action=my_page [QSA,L]
RewriteRule ^ads/my_page/add/{0,1}$  modules/boonex/ads/classifieds.php?action=my_page&mode=add [QSA,L]
RewriteRule ^ads/my_page/edit/([0-9]+)/{0,1}$  modules/boonex/ads/classifieds.php?action=my_page&mode=add&EditPostID=$1 [QSA,L]
RewriteRule ^ads/my_page/edit/([0-9]+)/dimg/([0-9]+)/{0,1}$  modules/boonex/ads/classifieds.php?action=my_page&mode=add&EditPostID=$1&dimg=$2 [QSA,L]
RewriteRule ^ads/my_page/manage/{0,1}$  modules/boonex/ads/classifieds.php?action=my_page&mode=manage [QSA,L]
RewriteRule ^ads/my_page/pending/{0,1}$  modules/boonex/ads/classifieds.php?action=my_page&mode=pending [QSA,L]
RewriteRule ^ads/my_page/expired/{0,1}$  modules/boonex/ads/classifieds.php?action=my_page&mode=expired [QSA,L]
RewriteRule ^ads/my_page/disapproved/{0,1}$  modules/boonex/ads/classifieds.php?action=my_page&mode=disapproved [QSA,L]
RewriteRule ^ads/cat/([^/.]+)/{0,1}$  modules/boonex/ads/classifieds.php?catUri=$1 [QSA,L]
RewriteRule ^ads/all/cat/([0-9]+)/([0-9]+)/([^/.]+)/{0,1}$  modules/boonex/ads/classifieds.php?catUri=$3&page=$2&per_page=$1 [QSA,L]
RewriteRule ^ads/subcat/([^/.]+)/{0,1}$  modules/boonex/ads/classifieds.php?scatUri=$1 [QSA,L]
RewriteRule ^ads/all/subcat/([0-9]+)/([0-9]+)/([^/.]+)/{0,1}$  modules/boonex/ads/classifieds.php?scatUri=$3&page=$2&per_page=$1 [QSA,L]
RewriteRule ^ads/entry/([^/.]+)/{0,1}$  modules/boonex/ads/classifieds.php?entryUri=$1 [QSA,L]
RewriteRule ^ads/tag/([^/.]+)/{0,1}$  modules/boonex/ads/classifieds_tags.php?tag=$1 [QSA,L]
RewriteRule ^ads/calendar/{0,1}$  modules/boonex/ads/classifieds.php?action=show_calendar [QSA,L]
RewriteRule ^ads/categories/{0,1}$  modules/boonex/ads/classifieds.php?action=show_categories [QSA,L]
RewriteRule ^ads/tags/{0,1}$  modules/boonex/ads/classifieds.php?action=tags [QSA,L]
RewriteRule ^ads/all_ads/{0,1}$  modules/boonex/ads/classifieds.php?action=show_all_ads [QSA,L]
RewriteRule ^ads/top_ads/{0,1}$  modules/boonex/ads/classifieds.php?action=show_top_rated [QSA,L]
RewriteRule ^ads/popular_ads/{0,1}$  modules/boonex/ads/classifieds.php?action=show_popular [QSA,L]
RewriteRule ^ads/featured_ads/{0,1}$  modules/boonex/ads/classifieds.php?action=show_featured [QSA,L]
RewriteRule ^ads/member_ads/([0-9]+)/{0,1}$  modules/boonex/ads/classifieds.php?UsersOtherListing=1&IDProfile=$1 [QSA,L]

RewriteRule ^search/tag/([^/.]+)/{0,1}$  search.php?Tags=$1 [QSA,L]

RewriteRule ^browse/([^/.]+)/([^/.]+)/([^/.]+)$ browse.php?sex=$1&age=$2&country=$3 [QSA,L]

RewriteRule ^m/(.*)$  modules/index.php?r=$1 [QSA,L]
RewriteRule ^forum/classified/(.*)$  modules/boonex/forum/$1?orca_integration=classified [QSA,L]
RewriteRule ^forum/lodging/(.*)$  modules/boonex/forum/$1?orca_integration=lodging [QSA,L]
RewriteRule ^forum/restaurant/(.*)$  modules/boonex/forum/$1?orca_integration=restaurant [QSA,L]
RewriteRule ^forum/location/(.*)$  modules/boonex/forum/$1?orca_integration=location [QSA,L]
RewriteRule ^forum/property/(.*)$  modules/boonex/forum/$1?orca_integration=property [QSA,L]
RewriteRule ^forum/groups/(.*)$  modules/boonex/forum/$1?orca_integration=groups [QSA,L]
RewriteRule ^forum/events/(.*)$  modules/boonex/forum/$1?orca_integration=events [QSA,L]
RewriteRule ^forum/store/(.*)$  modules/boonex/forum/$1?orca_integration=store [QSA,L]
RewriteRule ^forum/$  modules/boonex/forum/index.php [QSA,L]
RewriteRule ^forum/(.*)$  modules/boonex/forum/$1 [QSA,L]
RewriteRule ^faq\.php$ m/faq [QSA,L]
RewriteRule ^page/(.*)$  viewPage.php?ID=$1 [QSA,L]

RewriteRule .+ - [L]
RewriteRule ^([^/]+)$ profile.php?ID=$1 [QSA,L]

</IfModule>

AddType application/vnd.adobe.air-application-installer-package+zip .air
AddType application/x-shockwave-flash .swf
I have now a new message of TMD Hosting:
Thank you for the update.
The first thing I would like to mention is that redirect has nothing to do with domain name DNS pointing. The thing are completely irrelevant.
The seconds thing I would like to mention is that your domain name philippines-gate.com is correctly pointed to our server. You can verify that from here:
http://www.digwebinterface.com/?hostnames=philippines-gate.com&type=A&trace=on&ns=resolver&useresolver=8.8.4.4&nameservers=
Please provide us with a direct link to the forum theme which you have posted.
We are looking forward to your reply.
Maybe have you an idea ?

Quote · 3 Oct 2014

If you think the .htaccess file has something to do with it, rename it and see if you still get the redirect.

Dedicated servers for as little as $32 (28 euro) - See http://denre.com for more information
Quote · 3 Oct 2014

I don't have any suggestions.

the .htaccess file is fine as well. There are no redirects in there. Only the standard rewrites.

What is in the sites inc/header.inc.php for site url and have you made any changes to that file.

Something is causing a redirect and the url prefixed with www is even worse. There are redirect loops when using that one. http://www.philippines-gate.com is a redirect nightmare.

https://www.deanbassett.com
Quote · 3 Oct 2014

Also make a backup of your current .htaccess file and restore the original and test just in case it is the .htaccess. I don't see anything there that would cause it, but, you have to text it anyway just in case.

https://www.deanbassett.com
Quote · 3 Oct 2014

Ok, I will try tomorrow and post the results.
But me too I dont see a problem in the htaccess file...

Quote · 3 Oct 2014

If you'd like, I can take a look.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 3 Oct 2014

 

If you'd like, I can take a look.

Yes of course, I appreciate it very much.
Let me know what you need to access my site.

Quote · 3 Oct 2014

 

Yes of course, I appreciate it very much

Just shoot me a PM with your cPanel information.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 3 Oct 2014

The problem is still there...
If someone has an idea I will pay you for the work.

Quote · 4 Oct 2014

Please check if you have slash at the end of your site url in the inc/header.inc.php:

$site['url']               = "http://philippines-gate.com/";

clear all caches after this change

Rules → http://www.boonex.com/terms
Quote · 4 Oct 2014

Hello,
Yes I have the slash already

Quote · 4 Oct 2014

Yes, I'm afraid I couldn't find the root cause. I did narrow it down to Dolphin as the culprit and not a .htaccess file/server issue. As to what's actually causing it to act like this, not sure - stock Dolphin doesn't do that.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 4 Oct 2014

Before the website was in a subdirectory "dolph" but I had problems with the cronjob and tmd Hosting has changed the location of the site. Now, I dont have the subdirectory "dolph", the cronjob is ok but there is this new problem ...

Quote · 4 Oct 2014

 

Before the website was in a subdirectory "dolph" but I had problems with the cronjob and tmd Hosting has changed the location of the site. Now, I dont have the subdirectory "dolph", the cronjob is ok but there is this new problem ...

 Look.

You need to edit inc/header.inc.php  file

Find this:

//check correct hostname
$aUrl = parse_url( $site['url'] );
if ( isset($_SERVER['HTTP_HOST']) and 0 != strcasecmp($_SERVER['HTTP_HOST'], $aUrl['host']) and 0 != strcasecmp($_SERVER['HTTP_HOST'], $aUrl['host'] . ':80') ) {
    header( "Location:http://{$aUrl['host']}{$_SERVER['REQUEST_URI']}");
    exit;
}

And change to:

//check correct hostname
$aUrl = parse_url( $site['url'] );
if ( isset($_SERVER['HTTP_HOST']) and 0 != strcasecmp($_SERVER['HTTP_HOST'], $aUrl['host']) and 0 != strcasecmp($_SERVER['HTTP_HOST'], $aUrl['host'] . ':80') ) {
    header( "Location:http://{$aUrl['host']}{$_SERVER['REQUEST_URI']}", true, 301 );
    exit;
}

Now it should working correctly. Check it out.

Quote · 13 Nov 2015
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.