Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 11-21-2013, 03:59 AM
saini1987 saini1987 is offline
 
Join Date: Jul 2010
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone here please help me to solve this problem please.....
Reply With Quote
  #12  
Old 11-21-2013, 04:21 AM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check in vboptions/Site Name and URL, make sure all is correct.

BACKUP YOUR .htaccess file before you edit it

Check your .htaccess file for the following. Add this if it does not have it.

Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^webmasterforumuk\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.webmasterforumuk\.com$
RewriteRule ^/?$ "http\:\/\/webmasterforumuk\.com\/" [R=301,L]
I tried logging in with and without WWW without success on your site with the test account you posted.

--------------- Added [DATE]1385011625[/DATE] at [TIME]1385011625[/TIME] ---------------

IN vboptions, Site Name & URL, remove WWW, that should correct your issue.
Reply With Quote
  #13  
Old 11-21-2013, 05:32 AM
saini1987 saini1987 is offline
 
Join Date: Jul 2010
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The htaccess file has following content:

Code:
# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On

# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
#RewriteBase /

#RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
#RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]

RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap|api\.php)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]
Where to add that code, eddie ?

--------------- Added [DATE]1385016016[/DATE] at [TIME]1385016016[/TIME] ---------------

Have edited the htaccess and removed the www...but now firefox is saying:

The page isn't redirecting properly

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

--------------- Added [DATE]1385016572[/DATE] at [TIME]1385016572[/TIME] ---------------

This is the htaccess now:

Code:
# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On

# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
#RewriteBase /

RewriteEngine On
RewriteCond %{HTTP_HOST} ^webmasterforumuk\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.webmasterforumuk\.com$
RewriteRule ^/?$ "http\:\/\/webmasterforumuk\.com\/" [R=301,L]

RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap|api\.php)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]
--------------- Added [DATE]1385024870[/DATE] at [TIME]1385024870[/TIME] ---------------

I have also noticed that this problem is coming on index page......is there anything wrong in index.PHP?
Reply With Quote
  #14  
Old 11-21-2013, 10:32 PM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In vboptions, Site Name & URL, are you using www? If so, remove it.
Reply With Quote
  #15  
Old 11-22-2013, 11:47 AM
saini1987 saini1987 is offline
 
Join Date: Jul 2010
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When i added that .htaccess code and removed www in site url, i was getting error in firefox that :
Code:
The page isn't redirecting properly

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
In chrome the error was:
Code:
The site has a Rediretion loop
After that i restored the last htaccess file and added www in site url in vb options...

Eddie, Please tell me a better solution, if possible can we have a team viewer session please..?
Reply With Quote
  #16  
Old 11-22-2013, 01:07 PM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Don't remove www from the .htaccess, that needs to stay.
In your admincp/vbulletin options/Site Name & URL, you are using www in the URL, remove www.
Reply With Quote
  #17  
Old 11-23-2013, 03:02 AM
saini1987 saini1987 is offline
 
Join Date: Jul 2010
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I haven't removed www from htaccess, i had removed it from vbulletin options>>site url

Can you tell if this htaccess code is ok:

Code:
# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On

# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
#RewriteBase /

RewriteEngine On
RewriteCond %{HTTP_HOST} ^webmasterforumuk\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.webmasterforumuk\.com$
RewriteRule ^/?$ "http\:\/\/webmasterforumuk\.com\/" [R=301,L]

RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap|api\.php)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]
--------------- Added [DATE]1385179787[/DATE] at [TIME]1385179787[/TIME] ---------------

Now i have removed www from vbulletin options>>site url
and have this code in htaccess file:
Code:
# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.

# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)

RewriteEngine on

#RewriteBase /

RewriteCond %{HTTP_HOST} ^webmasterforumuk\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.webmasterforumuk\.com$
RewriteRule ^/?$ "http\:\/\/webmasterforumuk\.com\/" [R=301,L]

RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap|api\.php)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]
And the site showing this message in firefox:
Code:
The page isn't redirecting properly

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

    This problem can sometimes be caused by disabling or refusing to accept cookies.
--------------- Added [DATE]1385180314[/DATE] at [TIME]1385180314[/TIME] ---------------

Eddie is offline,
Why no vbulletin official replying here? I was told in the ticket that i will be helped on the forums.....
Reply With Quote
  #18  
Old 11-23-2013, 03:35 AM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It all looks good and will work fine as soon as you delete your cookies & edit your shortcut to your site on your desk top removing www from it.

I have no issues using FF or IE logging in and out.
Reply With Quote
  #19  
Old 11-23-2013, 03:42 AM
saini1987 saini1987 is offline
 
Join Date: Jul 2010
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So it will not work with WWW...?

--------------- Added [DATE]1385181872[/DATE] at [TIME]1385181872[/TIME] ---------------

its not working and giving the same error on firefox....
I deleted the cookies and tried to hard refresh ctrl+f5 but that redirection error is still coming...
Reply With Quote
  #20  
Old 11-23-2013, 03:47 AM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It will work with both but will redirect to site without www.

Check your navbar template to see if you used full URL in links & remove www from them, in fact search all templates & remove www if you have it in them.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:06 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09155 seconds
  • Memory Usage 2,285KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (8)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete