Not signed in ( Sign In)

Categories

Welcome, Guest

Want to take part in these discussions? Sign in if you have an account, or apply for one below

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

    •  
      CommentAuthorfencer
    • CommentTimeJan 4th 2009 edited
     permalink
    I want to completely remove the index.php from my single posts like zeuder did, here is my link and I activated the prettyurls and i have .htaccess file as well, so where do I twist things to fix it up? http://flatblog.hosteando.org/index.php/2009/01/04/welcome-to-flatpress/
    •  
      CommentAuthorNoWhereMan
    • CommentTimeJan 4th 2009 edited
     permalink
    open up fp-plugins/prettyurls/plugin.prettyurls.php and set
    define('PRETTYURLS_PATHINFO', false);
    •  
      CommentAuthorfencer
    • CommentTimeJan 4th 2009
     permalink
    wow it worked like a charm, one last question and how do i do to remove the date from the prettyurl???

    I mean instead of having this: http://flatblog.hosteando.org/2009/01/04/welcome-to-flatpress/

    have this: http://flatblog.hosteando.org/welcome-to-flatpress/

    and thanx in advanced for your help, I will promote you in my free hosting service xD (people is always complaining about few mysql bandwidth) hosteando.org
    •  
      CommentAuthorNoWhereMan
    • CommentTimeJan 4th 2009 edited
     permalink
    Posted By: fencerhave this:http://flatblog.hosteando.org/welcome-to-flatpress/


    unfortunately you can't do that at the moment. Static pages can be reached that way, though.

    e.g.: 'about' page

    and thanx in advanced for your help, I will promote you in my free hosting service xD


    :)
    •  
      CommentAuthorlugano
    • CommentTimeFeb 26th 2010
     permalink
    Posted By: NoWhereManopen up fp-plugins/prettyurls/plugin.prettyurls.php and set
    define('PRETTYURLS_PATHINFO', false);


    Version: FlatPress 0.909.1 -> Change:

    /**
    * Place where the index is stored
    */
    define('PRETTYURLS_TITLES', true);
    define('PRETTYURLS_PATHINFO', !file_exists(ABS_PATH . '.htaccess'));
    define('PRETTYURLS_CACHE', CACHE_DIR . '%%prettyurls-index.tmp');
    define('PRETTYURLS_CATS', CACHE_DIR . '%%prettyurls-cats.tmp');

    /**
    * File existance check
    */


    How remove the index.php?.
    Thanks.
    •  
      CommentAuthorNoWhereMan
    • CommentTimeFeb 27th 2010
     permalink
    go to the plugin config page and choose "save" to save a .htaccess file which will remove the /index.php/ from the URL; if the button is not available copy & paste the text to a file named htaccess.txt upload it to your blog root via ftp and then rename it to .htaccess (leading dot required)