Title: wppa_get_permalink 404 error
Last modified: August 22, 2016

---

# wppa_get_permalink 404 error

 *  Resolved [Cornelia Villeneuve](https://wordpress.org/support/users/codedogs/)
 * (@codedogs)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/wppa_get_permalink-404-error/)
 * Plugin: WP Photo Album Plus
    Found in Version: 5.3.8 Still in Version: 5.4.11
 * Problem:
    1. Create a post with [wppa type=”cover” album=”8″][/wppa] as the content
   2. Publish it 3. Look at link Home >> My Post Name >> My Album Name 4. Click 
   the “My Post Name” link 5. A 404 error page appears
 * Error: If you hover over the WordPress post title it shows [http://www.xx/?p=60](http://www.xx/?p=60)
   
   If you hover over the WPPA post link it shows [http://www.xx/?page_id=60](http://www.xx/?page_id=60)
 * Solution:
    wppa-links.php: function wppa_get_permalink The default clause for
   the switch statement should call ‘get_permalink’ instead of ‘get_page_link’
 * [https://wordpress.org/plugins/wp-photo-album-plus/](https://wordpress.org/plugins/wp-photo-album-plus/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Jacob N. Breetvelt](https://wordpress.org/support/users/opajaap/)
 * (@opajaap)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/wppa_get_permalink-404-error/#post-5396645)
 * Although i could not reproduce this on my test site ( theme 2013 ) you are right
   that the links should be the same.
    Fixed in 5.4.14
 *  Thread Starter [Cornelia Villeneuve](https://wordpress.org/support/users/codedogs/)
 * (@codedogs)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/wppa_get_permalink-404-error/#post-5396685)
 * Verified in WP Photo Album Plus version 5.4.14
 * Thank you, Jacob

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘wppa_get_permalink 404 error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-photo-album-plus.svg)
 * [WP Photo Album Plus](https://wordpress.org/plugins/wp-photo-album-plus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-photo-album-plus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-photo-album-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-photo-album-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-photo-album-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-photo-album-plus/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Cornelia Villeneuve](https://wordpress.org/support/users/codedogs/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/wppa_get_permalink-404-error/#post-5396685)
 * Status: resolved