Jump to:

383 Posts in 211 Topics by 197 members

Connect With Other SilverStripe Members

SilverStripe Forums » Connect With Other SilverStripe Members » google indexing pdf uploads on secure pages

For all SilverStripe-related topics that don't fit into any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1 2
Go to End
Author Topic: 2744 Views
  • Jojo
    Avatar
    Community Member
    16 Posts

    Re: google indexing pdf uploads on secure pages Link to this post

    I installed the securepages module to 2.2.2 but am getting an error message in the CMS file uploads section beyond the first directory level of files. Am thinking I should just upgrade 2.2.2 to the latest version of Silverstripe. Is this straightforward? Should I uninstall the securepage module first before upgrading and install it again after the upgrade? If so how do I uninstall the module? Thanks for your help.

  • Hamish
    Avatar
    Community Member
    712 Posts

    Re: google indexing pdf uploads on secure pages Link to this post

    The simplest way to uninstall should be to:

    1. Un-mark any folders that you set as secure (ie, uncheck 'folder is secure')

    2. Remove the securefiles directory

    3. Run a db/build?flush=1

    It might pay to just check that any .htaccess files generted in your assets folders have been removed. Step 1 should have done that, but it's an alpha module, so who knows.

    Upgrade info is here http://doc.silverstripe.org/doku.php?id=upgrading

  • Jojo
    Avatar
    Community Member
    16 Posts

    Re: google indexing pdf uploads on secure pages Link to this post

    Hey thanks for the help guys,
    I'm in the process of updating to 2.3 but it doesnt seem to be working when I switching over to the new files. All i get is an empty html document. Im wondering if its because the web host isn't allowing me to add a .htaccess file (atleast they dont show up on 2 different ftp programs I've used) its currently hosted on freeparking so I'm not sure if this could be causing issues with upgrading?

  • Hamish
    Avatar
    Community Member
    712 Posts

    Re: google indexing pdf uploads on secure pages Link to this post

    You should probably start a new thread for this issue.

    .htaccess files are often hidden, but you should still be able to override them.

    Also, are you in dev mode? It is possible that you're not seeing the error messages. Try adding this to your _config.php

    Directory::set_environment_type('dev');

    But don't reply to this thread - start a new one in the upgrading forum.

  • Jojo
    Avatar
    Community Member
    16 Posts

    Re: google indexing pdf uploads on secure pages Link to this post

    Yes, I will start a new thread in the upgrading section. The problem turned out to be that the site needed more hosting space! However there are still problems with the template not working and I will take that question to Upgrades.

    On this original topic though, is there a module I can add to version 2.2.2 for secure file uploads as that would be a simpler solution! I don't need the upgrade for any other reason as the website works fine for the client apart from Google indexing the pdfs.

    2744 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.