Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

  1.  
    Is there a mod to create SEO friendly urls?

    http://www.domain.com/imagery/?level=album&id=134 and http://www.domain.com/imagery/?level=picture&id=2290 looks pretty ugly.

    If there's no mod, is this something that's going to be implemented into the next version?
    •  
      CommentAuthorkimparsell
    • CommentTimeSep 4th 2008
     
    Hello Cornelius -

    That is already part of Plogger3. Log into your admin panel, go to Options, and click the box next to Generate cruft-free URLs - that "turns on" the SEO-friendly URLs.
    • CommentAuthorCorneliusW
    • CommentTimeSep 12th 2008
     
    When I click the box and save, the new options show up but the box is unclicked. Mod_rewrite was enabled. Is there something I need to add to the .htaccess file or a new one I can upload?
    •  
      CommentAuthorsidtheduck
    • CommentTimeSep 12th 2008
     
    Which version of Plogger are you running Cornelius? The standard 1.0b3 or a newer version from the SVN?
    • CommentAuthortamilrain
    • CommentTimeNov 20th 2008
     
    I am Version 3.0 Beta.. but when i enable it, even it is not working...

    do i need to flush something?
    • CommentAuthortamilrain
    • CommentTimeNov 20th 2008
     
    i also see the htaccess file to have its content...

    # BEGIN Plogger

    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} -d [OR]
    RewriteCond %{REQUEST_FILENAME} -f
    RewriteRule ^.*$ - [S=2]
    RewriteRule feed/$ plog-rss.php?path=%{REQUEST_URI} [L]
    RewriteRule ^.*$ index.php?path=%{REQUEST_URI} [L]
    </IfModule>
    # END Plogger



    plz let me know what else i need to do?
    •  
      CommentAuthorkimparsell
    • CommentTimeNov 21st 2008
     
    Does your host have mod_rewrite enabled on your server? If not, the cruft-free URLs won't work. Check with them on this issue and then let us know what they say.
    • CommentAuthortamilrain
    • CommentTimeNov 21st 2008
     
    yes i run another site in the same server and i use SEO friendly urls in that site!!!!
    • CommentAuthorwhimper
    • CommentTimeDec 15th 2008
     
    same prob with me :(
    pls fix it =(
    •  
      CommentAuthorsidtheduck
    • CommentTimeDec 17th 2008
     
    whimper, tamilrain, and CorneliusW,

    Can you provide a link to your installations? Are you on a shared hosting or are you hosting it yourself and have access to the http.conf file?

    Another possible issue may be if Plogger is or thinks it is embedded in another page that is not on the same folder level (i.e. you have it inserted in http://www.domain.com/gallery.php and your Plogger installation is at http://www.domain.com/plogger/ then it will not be able to work without a workaround). tamilrain's .htaccess file looks correct for the mod_rewrite URLs
    • CommentAuthorwhimper
    • CommentTimeDec 17th 2008
     
    my pro is not about hosting and folders,
    i know what i do ;)
    but i find an answer in a different page in this forum,
    i ll try it in a few mins. then i ll write the result.

    thnx for interest ;)
    now im trying..
    • CommentAuthorCorneliusW
    • CommentTimeDec 21st 2008
     
    mod_rewrite is installed and I am on shared hosting. SEF urls works on server for my other domain names.

    Here is link to imagery http://pwrestlingnews.com/imagery/. When I click on Generate Cruft-Free URLs and then update options, the page refreshes and says "You have updated your settings successfully." but the Generate Cruft-Free URLs is now unselected.
    • CommentAuthorCorneliusW
    • CommentTimeJan 27th 2009
     
    can someone please help. I have been trying forever to get SEF for my imagery.
    • CommentAuthora2plogger
    • CommentTimeJan 28th 2009 edited
     
    edit the plog-load_config.php .
    change it like below


    $config["embedded"] = 0;

    // try to figure out whether we are embedded (for example running from Wordpress)
    // on windows/apache $_SERVER['PATH_TRANSLATED'] uses "/" for directory separators,
    // __FILE__ has them the other way, realpath takes care of that.
    if (dirname(__FILE__) != dirname(realpath($_SERVER["PATH_TRANSLATED"])) && strpos($_SERVER["PATH_TRANSLATED"],"admin") === false) {
    $config["embedded"] = 1;
    // disable our own cruft-free urls, because the URL has already been processed
    // by WordPress
    $config["use_mod_rewrite"] = 0;
    } else {
    // if mod_rewrite is on, make sure to remove the file basename
    if ($config["use_mod_rewrite"] == 1) {
    $config["baseurl"] = "http://".$_SERVER["HTTP_HOST"]. substr($_SERVER["PHP_SELF"],0,strrpos($_SERVER["PHP_SELF"],"/")) . "/";
    }
    }


    into
    $config["embedded"] = 0;

    if ($config["use_mod_rewrite"] == 1)
    $config["baseurl"] = "http://".$_SERVER["HTTP_HOST"]. substr($_SERVER["PHP_SELF"],0,strrpos($_SERVER["PHP_SELF"],"/")) . "/";
    Thankful People: bedroom1001
    • CommentAuthorCorneliusW
    • CommentTimeJan 29th 2009
     
    thank you, it worked
    •  
      CommentAuthormotz
    • CommentTimeFeb 8th 2009
     
    i don't know if it can help but i am using DreamHost and it works just fine. :)
    • CommentAuthortamilrain
    • CommentTimeApr 9th 2009
     
    i did changed the code given by a2plogger...

    it worked!!!

    one issue is: when viewing the image, the url becomes: http://www.domain.net/directory/sub-directory/image-file.jpg

    the url should not be like that,,

    it should look like

    http://www.domain.net/directory/sub-directory/Title-of-the-image

    how can i change this?