Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 22 Sep 2015, 18:03
Kesha Kesha is offline
 
Join Date: Apr 2010
non-www redirect to www

Hi all,

I know that this should be a trivial issue with simple resolution, however we're not completely sure what's going on at the moment. I'm also not sure if this belongs on vB.org or vB.com, but I figured I'd start here and move if necessary.

We run vBulletin 4.2.3 + vBSEO. We upgraded to 4.2.3 the day it was released. There have been no reported instances of this occurring until now... That I'm aware of.

It's recently been brought to my attention that when a user visits our site via http://example.com/forums, it does not redirect to http://www.example.com as it is supposed to. I was under the impression that all the URL rewriting was done by vBSEO (and to an extent, it is), however it no longer seems to be rewriting just /forums/. vBSEO still happily rewrites anything non-www like http://example.com/forums/valid-forum-name to www.example.com/forums/valid-forum-name/ without issue.

I tried adding this line to .htaccess to fix the issue:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

... When I visit http://example.com/forums with that line in .htaccess, it redirects to http://www.example.com/ but removes the forums part. When I go to something like http://example.com/forums/asdfghjklasdfghjkl, it redirects to http://www.example.com/asdfghjklasdfghjkl (removes /forums/)

When we log into the forums using the non-www URL, it posts the login to http://www.example.com/forums/login.php but then redirects back to non-www.

I'm absolutely perplexed as to why this is happening, as it hasn't been an issue until very recently. To my knowledge, nothing server-side has been changed save for a few system packages being upgraded (none affecting apache or PHP) so I'm running out of explanations as to why this might be happening.
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Add-On Releases vt.Lai VBB Redirect Link 4.1 For vBB 4-Make Redirect page with outbound link VuThanhLai vBulletin 4.x Add-ons 13 14 Apr 2015 21:18
Move threads with leave no redirect as default or Expired redirect as default Hornstar vBulletin 3.6 Template Modifications 17 23 Dec 2013 14:54
Mini Mods Login Redirect - Redirect your users to their User CP or Profile when logging on sockwater vBulletin 3.7 Add-ons 29 19 Jun 2012 19:07
Redirect to Register Hack - Redirect from newreply.php, newthread.php & usercp.php... Chris M vBulletin 2.x Full Releases 27 04 Oct 2003 22:02



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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


New To Site? Need Help?

All times are GMT. The time now is 07:14.

Layout Options | Width: Wide Color: