WordPress.org

Ready to get started?Download WordPress

Forums

Archive
[resolved] Not able to view archived post (8 posts)

  1. Birdy10
    Member
    Posted 1 year ago #

    Hello, I ran into a problem using the 'Archive' plugin, as I'm not able to view the archived post/page at the frontend.

    See http://www.vriendenhovoutrecht.nl/archief/, they all redirect to http://www.vriendenhovoutrecht.nl/archiv/post-name, which gives a 'Not found' (of course I tried /archive/, but that doesn't matter).

    Also when I edit an archived post an click 'View this Post' I end up with the same URL (../archiv/post-name) that apparently is not working.

    What is going wrong here, and what can I do to fix it?

    http://wordpress.org/extend/plugins/archive/

  2. Frank
    Member
    Plugin Author

    Posted 1 year ago #

    DO you have update the permalinks after activation?

  3. Birdy10
    Member
    Posted 1 year ago #

    Well, I don't know if it is called 'updating' but I saved the permalink settings again (which haven't changed), and indeed it is working now!!

    And is there a way to change/translate the word 'archiv' in the URL?

    Thank you!
    Harold

  4. Frank
    Member
    Plugin Author

    Posted 1 year ago #

    Yes, its possible; but not with the plugin; only via custom plugin to change rewrite.

  5. Birdy10
    Member
    Posted 1 year ago #

    Hmm, I'm not really familiar with rewriting rules.

    Could you give me a hint what the rewrite in .htaccess would look like if I want to change /archiv/ to /archief/ ?

    thanx, Harold

  6. Frank
    Member
    Plugin Author

    Posted 1 year ago #

    On default set the post /archiv/archive-post/
    For change this; go in the plugin, file archive.php
    Serach for 'has_archive' => TRUE; Line 933
    Change to

    'has_archive'        => TRUE,
    				'rewrite'            => array( 'slug' => 'archief' )

    and then refresh the permalink settings. Thats all.

  7. Birdy10
    Member
    Posted 1 year ago #

    Yes, that is working excellent!

    thank you very much,
    Harold

  8. Frank
    Member
    Plugin Author

    Posted 1 year ago #

    welcome.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic