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.

Pagination URL Funky-ness

August 26, 2009 12:29pm

Subscribe [2]
  • #1 / Aug 26, 2009 12:29pm

    lifeenergycenter

    26 posts

    I’ve got some funky-ness going on with my pagination links:

    They contain pretty standard EE link syntax, my path setting in the weblog are set & normal but the URL is pretty weird. Can anyone troubleshoot this one?

    My site is zeerakhan.com and my blog is named weblog:
    http://www.zeerakkhan.com/S=959ada04059d42caa53f91e1465ecdc64e437c4b/weblog/P5/

    What is this: ‘S=959ada04059d42caa53f91e1465ecdc64e437c4b’ ?

    ————————-

    Hey guys, I just realized this was not the tech support forum, my bad. And I can’t change categories or delete it for that matter. Sorry!

  • #2 / Aug 26, 2009 12:32pm

    Ingmar

    29245 posts

    It’s a session id, and as such expected behavior and nothing to worry about. If you don’t want it, switch to using cookies exclusively in your Session & Security Preferences.

  • #3 / Aug 26, 2009 12:39pm

    lifeenergycenter

    26 posts

    Thanks Ingmar. Again sorry for posting in the wrong forum.

    You’re totally right about the ID. I switched it back and forth in the CP. But I may eventually need to use session ID. My question is if it’s nothing to worry about why is it going to a 404 page? It was working with ID enabled and not showing it in the URL. What did I do?

  • #4 / Aug 26, 2009 3:22pm

    Ingmar

    29245 posts

    Are you removing index.php from your URL? Looks like that’s the issue. It should be something like
    http://www.zeerakkhan.com/index.phpS=959ada04059d42caa53f91e1465ecdc64e437c4b/weblog/P5/

  • #5 / Aug 26, 2009 5:30pm

    lifeenergycenter

    26 posts

    Ingmar,

    I am removing the index.php via Levy’s .htaccess module. Is removing the index and using pagination mutually incompatible? Like I said, it was working after I removed the index. So it seems like it maybe something else?

  • #6 / Aug 26, 2009 5:36pm

    Ingmar

    29245 posts

    Is removing the index and using pagination mutually incompatible?

    Not necessarily, not as such, no. I don’t think this is pagination issue.

    So it seems like it maybe something else?

    You can, of course, try again without removing index.php, but I am prepared to bet the issues lies there.

  • #7 / Aug 26, 2009 5:52pm

    lifeenergycenter

    26 posts

    Ingmar,

    It seems you are right. I took the syntax in the .htaccess file out, the code that removes the index.php and flipped the ‘session id and cookies’ option back on in the security section of the CP.

    It worked! But my question remains. If the two are mutually compatible how do we make them play nice together?

    Here is the .htaccess code from Levy:

    # Remove index.php
    # Uses the "include method"
    # <a href="http://expressionengine.com/wiki/Remove_index.php_From_URLs/#Include_List_Method">http://expressionengine.com/wiki/Remove_index.php_From_URLs/#Include_List_Method</a>
    RewriteCond %{REQUEST_URI} !(\.[a-zA-Z0-9]{1,5})$
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_URI} ^/(site|embeds|weblog|styles|events|right_rail|templates|book|life_energy_process|awakened_sexuality|charity|about|privacy_policy|contact|signup|search|members|P[0-9]{2,8}) [NC]
    RewriteRule ^(.*)$ /index.php?/$1 [L]
  • #8 / Aug 27, 2009 6:42am

    Ingmar

    29245 posts

    Your rewrite rule only applies in certain cases, and that does not seem to include session ids. Perhaps you might want to take this up with Levi and/or start a new thread in Extensions?

  • #9 / Aug 27, 2009 8:01pm

    lifeenergycenter

    26 posts

    OK, if that is the case, then taking it up with Levi is a good idea. Thank you for your efficient and accurate troubleshooting. You can close the thread.

  • #10 / Aug 28, 2009 2:42am

    Ingmar

    29245 posts

    It’s in “Howto” already, so no worries there 😊

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

ExpressionEngine News!

#eecms, #events, #releases