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.

2.5.2 Channel URL Problem -- Live Pages Not Found

September 20, 2012 10:49am

Subscribe [1]
  • #1 / Sep 20, 2012 10:49am

    JohnGribben

    111 posts

    We recently upgraded a rather old site from 1.6.9 to 2.5.2.  Each section of the site had it’s own channel, and each channel pointed to it’s own template group.  For instance, the “About Us” channel was configured, in the Channel Preferences “Channel URL” field, to map to the “About Us” channel group.

    There was one channel, “General Content,” that didn’t have it’s own template group.  It was mapped to the default template group (called “site”); the value for the “Channel URL” field was just <site domain>/index.php. 

    This worked in the 1.6.9 version of the site, but since the upgrade links to the General Content entries are broken: a 404 error occurs.

    Here is an example:

    http://www.womenagainstabuse.org/index.php/contact-us

    The page can be accessed by appending “site” to the Channel URL field:

    http://www.womenagainstabuse.org/index.php/site/contact-us

    We would like, however, to preserve the original URLs.

    Thanks,
    John

  • #2 / Sep 24, 2012 1:03am

    Kevin Smith

    4784 posts

    Hi John,

    Hmm, that doesn’t look right. Your original URLs should still work as long as you don’t have Strict URLs enabled. Do you have the ‘site’ template group set up as your site default?

  • #3 / Sep 24, 2012 2:54pm

    JohnGribben

    111 posts

    Hi Kevin,

    I checked and we don’t have Strict URLs enabled. 

    Yes, the “site” template group is set up as the site default. So the problem appears to be that this setting is being ignored.

    It’s very odd. Pages were working before the upgrade.  The entries are stored in the database.

    Thanks for getting back to me!

    John

  • #4 / Sep 25, 2012 12:25pm

    Kevin Smith

    4784 posts

    Hi John,

    I’m sure I’m missing something here, but when I click on this link [http://www.womenagainstabuse.org/index.php/contact-us], I don’t get a 404. It looks like the page works as intended. Where am I going wrong?

  • #5 / Sep 25, 2012 12:56pm

    JohnGribben

    111 posts

    Hi Kevin,

    Thanks for checking!  Actually I made a separate template group for that page because the client needed it to work right away.  Sorry I didn’t tell you.

    Here is an example of a page that does throw a 404:

    http://www.womenagainstabuse.org/index.php/terms-of-use

    It’s a dummy page.  The content can be viewed here:

    http://www.womenagainstabuse.org/index.php/site/terms-of-use

    So it does appear that the default status of the “site” template is just being ignored.

  • #6 / Sep 25, 2012 1:12pm

    Kevin Smith

    4784 posts

    Ah yes, I can see that now. I just ran a test in my installation running 2.5.3, and I’m able to pull up entries using either:

    http://example.com/index.php/site/url-title

    or

    http://example.com/index.php/url-title

    I’m wondering if this isn’t a bug that’s been fixed (one of over 100) in 2.5.3. Would you be able to update this site to 2.5.3 and let me know if that takes care of it?

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

ExpressionEngine News!

#eecms, #events, #releases