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 EE2 have a different maximum segment or URL length than EE1?

January 24, 2012 3:32pm

Subscribe [2]
  • #1 / Jan 24, 2012 3:32pm

    Blue Coast Web

    32 posts

    Upgraded a client to EE2 recently, and we are finding a lot of 404 errors which seem to be caused by the URLs no longer pointing to the correct page. All of the errors consist of the EE1 URL (specifically the last segment) having a few more words/characters than the new EE2 versions.

    Did something happen in the code or the DB structure that would truncate long segments?

    We are using Structure to spit everything out, but I don’t believe that has anything to do with the issue.

    Example:

    This was the original (EE1) entry URL that was working fine:

    <a href="http://www.domain.com/news/this_is_a_really_long_segment">http://www.domain.com/news/this_is_a_really_long_segment</a>

    And now that link 404s, and instead the new (EE2) URL for that entry is something like:

    <a href="http://www.domain.com/news/this_is_a_really_long">http://www.domain.com/news/this_is_a_really_long</a>

    This happened all over the place, and the URLs have not been manually edited by anyone.

     

  • #2 / Jan 25, 2012 5:56pm

    Shane Eckert

    7174 posts

    Hello Blue Coast Web,

    I am sorry to hear that you are running into a problem. This is probably very frustrating.

    There are no changes from EE1 to EE2 that would account for what you are seeing. This is the first I have heard of this particular problem.

    What version of ExpressionEngine 2 are you now running?

    What version of Structure is installed?

    Can you please check with Jack and Travis and see if they have an idea about the apparent shortening of the last segment? Structure changes a lot in regards to how ExpressionEngine works, this would be the best place to start. I think they will be able to help you.

    I hope this gets resolved quickly, if you have any more questions please feel free to ask.

    Regards,

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

ExpressionEngine News!

#eecms, #events, #releases