ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Does Pages Module work with Hidden Templates? Want to avoid double indexing. Tech Support help?

December 12, 2011 5:56pm

Subscribe [2]
  • #16 / Dec 21, 2011 3:27pm

    Kevin Smith

    4784 posts

    You’re on the right track here, Bryan. If you’ll want your users to create pages with more than one segment in the URI, don’t use

    {if segment_2!=""} {redirect="404"} {/if}

    in your template. I would just stick with it as it is in the first code sample of your latest post. I don’t foresee any issues with it, but if any edge cases arise, then I would simply deal with them directly when they come up. No need to overcomplicate things from the beginning.

    Is there anything else I can do to help?

  • #17 / Dec 21, 2011 3:38pm

    bgarrant

    356 posts

    You’re on the right track here, Bryan. If you’ll want your users to create pages with more than one segment in the URI, don’t use

    {if segment_2!=""} {redirect="404"} {/if}

    in your template. I would just stick with it as it is in the first code sample of your latest post. I don’t foresee any issues with it, but if any edge cases arise, then I would simply deal with them directly when they come up. No need to overcomplicate things from the beginning.

    Is there anything else I can do to help?

    Thanks Kevin.  I have it setup that way and it is working well.  The only other thing I am wondering is what standard EE folders should be excluded in a robots.txt file so they are not indexed?

  • #18 / Dec 23, 2011 4:47am

    John Henry Donovan

    12339 posts

    Hi Bryan,

    The only other thing I am wondering is what standard EE folders should be excluded in a robots.txt file so they are not indexed?

    Normally I just add the system and themes folders to my robots.txt Does that help?

  • #19 / Dec 23, 2011 7:39pm

    bgarrant

    356 posts

    Hi Bryan,

    The only other thing I am wondering is what standard EE folders should be excluded in a robots.txt file so they are not indexed?

    Normally I just add the system and themes folders to my robots.txt Does that help?

    Thanks John. I appreciate the advice.

    Bryan

  • #20 / Dec 27, 2011 1:10pm

    Kevin Smith

    4784 posts

    Glad we could help, Bryan! Let us know if we can help again in the future!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases