Drupal Secure Pages - Homepage Bug

Kevin's picture

[b]Q:[/b] I am using the drupal [url=http://drupal.org/project/securepages]Secure Pages[/url] module to SSL/SHTTP some of my website's pages. It seems to work well, but for some reason my website's home page is now always secured, visitors are always redirected to its https://blahblah.com version, even though I haven't specified that they should be. How can I fix this?

[b]A:[/b] The drupal [url=http://drupal.org/project/securepages]Secure Pages[/url] module is great if you want to ensure that a specified set of your websites pages are always secured, and that visitors are always redirected their https:// version. It has a strange bug however which can cause visitors to the site's homepage to be always redirected to the secured version of the home page.

If this is happening to you, the good news is that it is easy to fix. It seems that it can arise if there is a 'newline' at the end of the list of the URLs to secure on the module's settings pages.

So go to the settings page (admin/build/securepages) and make sure that there aren't any newlines after the last URL in the 'Pages:' text area. If there are newlines, delete them and save the settings - hopefully the problem should go away, it did for us! ;-)

Share this post: 

Recent Work

Some of Ireland's biggest brands use Pride Design to Design, Build, Manage, Market and Maintain their websites.

Website design for St.Patricks Credit Union in Dublin, Including Loan Calculators.

Website design and development for a step by step wedding and other stationary ordering website f

New website designed and developed for Cork's newest café, which is based in Merchants Quay in Co

New Website design for Pain Relief clinic based in Cork City.

Website for a busy Dublin city centre pub.

We redrafted the Ballymaloe house website to modernise the look and feel of the site and to also

We revamped the website for the Ballymaloe Cookery School.

We revamped the Cully & Sully website onto Drupal.

Rachel Allen was brought up in Dublin and left home at eighteen to study at the world-famous Ball

Clóna Dairy Products are a Dairy Company based in Clonakilty, Co. Cork, since 1919.

Project Arts Centre is Ireland’s leading centre for the presentation and development of c