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

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

But i am getting this error on main page: http://webmasterforumuk.com
when i add /index.php to the url means http://webmasterforumuk.com/index.php it works...
The users are also reporting this redirection error....

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

Now even opera mini giving this error:
Code:
This webpage has a redirect loop
Please give a solution that the site won't show this error to users...

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

The site is still giving error.....can you please tell me what to do ..?

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

I asked about this from the host and they added the following code extra:
Code:
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
Now the htaccess file is like this:

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]
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
Means two redirection codes....

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

Eddie,

I added
Code:
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^canadianwebmasters\.com [NC]
RewriteRule (.*) http://www.canadianwebmasters.com/$1 [L,R=301]
to htaccess and now the domain is redirecting from non-www to www which want.

Is it ok?
Reply With Quote
  #22  
Old 12-13-2013, 04:08 PM
saini1987 saini1987 is offline
 
Join Date: Jul 2010
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

problem solved by host. Now you can login logout without any problem

many thanks to blind-eddie who help me a lot.

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

now they replied that

We had only deleted the session files from the corresponding "session.save" , we had not made any other changes. We had checked and verified that there is no issue with session save path with these domains. So please contact the vBulletin support team to fix this issue, because we do not have much support on application.

means the issue is with vBulletin. please the officials reply here. please.

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

The problem again started on the forum lol.
I have turned "Add No-Cache HTTP Headers" option to "yes". Is it wise to turn this option yes? The other forum users don't have this option turned on to save bandwidth but i have to turn it on to make my site working fine. Is it wise to turn it to yes? Officials reply.
Reply With Quote
  #23  
Old 12-14-2013, 09:47 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

"Official" support is provided on www.vbulletin.com/forum/ and the first step will be to deactivate VBSEO and rename the .htaccess file to something else to see if you still have the problem. VBSEO will need to stay disabled while trouble-shooting.
Reply With Quote
  #24  
Old 12-14-2013, 01:14 PM
ShawneyJ's Avatar
ShawneyJ ShawneyJ is offline
 
Join Date: Jul 2006
Location: Australia
Posts: 1,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

to me it looks all wrong while using vbseo.
try this mate!
completely remove all your .htaccess and add (copy and paste) all this:
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\.webmasterforumuk\.net
#RewriteRule (.*) http://www.webmasterforumuk.com/$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)
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]

next make sure in "Site Name / URL / Contact Details" look like in attachment below all with www.
and last...i use this small addon which works a treat when i was using vbulletin. i would give it a go mate, its awesome. https://vborg.vbsupport.ru/showthrea...=222898&page=4

Quote:
I have turned "Add No-Cache HTTP Headers" option to "yes". Is it wise to turn this option yes?
IMO no. but if you find your forum slower loading posts turn it back off.

its the only thing i can come up with to fix this issue.
Attached Images
File Type: jpg URL.JPG (130.7 KB, 0 views)
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 05:16 AM.


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.03753 seconds
  • Memory Usage 2,224KB
  • Queries Executed 14 (?)
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
  • (5)bbcode_code
  • (1)bbcode_quote
  • (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
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (1)postbit_attachment
  • (4)postbit_onlinestatus
  • (4)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_postinfo_query
  • fetch_postinfo
  • 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
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete