Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Restricted area redirect problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Restricted area redirect problem

 Post Reply Post Reply
Author
pedalcars View Drop Down
Senior Member
Senior Member


Joined: 12 August 2002
Location: United Kingdom
Status: Offline
Points: 268
Post Options Post Options   Thanks (0) Thanks(0)   Quote pedalcars Quote  Post ReplyReply Direct Link To This Post Topic: Restricted area redirect problem
    Posted: 16 September 2003 at 4:28am
My forum has a restricted area (Committee members only), while the site can be accessed via either of two domains and the server is set to cope with people entering the wrong number of "w"s in the URL (eg, w.pedalcars.info, wwww.pedalcars.info, etc).

I've recently introduced a site-wide script that detects a wrong number of "w"s (ie, other than three!) or the use of the secondary domain and immediately bounces the user to the primary domain (www.pedalcars.info). The script also retains the remainder of the URL including any query string, so you still get the page you were after. This is so any bookmarks set or links emailed are of the primary domain.

It works perfectly, with the exception of the committee area, where, if you type in an address that gets bounced in the manner above, you get told you aren't allowed to view the page - even if you were looking at it before and, say, deleted a "w" from the start of the URL.

It's almost as if it logs you out (but it doesn't - and you can get back in with two clicks).

Any ideas?
www.pedalcars.info

The most fun on four wheels

Back to Top
God_Struth View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 August 2003
Location: United Kingdom
Status: Offline
Points: 218
Post Options Post Options   Thanks (0) Thanks(0)   Quote God_Struth Quote  Post ReplyReply Direct Link To This Post Posted: 16 September 2003 at 11:14am
Not without seeing any code no.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.