Title: Template paths
Last modified: August 21, 2016

---

# Template paths

 *  [Austin Ginder](https://wordpress.org/support/users/austinginder/)
 * (@austinginder)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/template-paths/)
 * I’m using a custom template with the current version of NextGen gallery (v2.0.33).
   Apparently NextGen selects the template based on it’s absolute path name not 
   a relative path. It then stores this absolute path in the database. Which means
   whenever the folders on the server change it doesn’t know where to find the custom
   template even tho nothing technically moved (wp-content/themes/custom-theme-name/
   nggallery/singlepic.php). This has happened to me twice now where I move servers
   or upgrade my current server and it breaks all of my images and requires me to
   reselect the custom theme. Is there anyway NextGen could load these templates
   a little smarter to prevent this from breaking in the future?
 * [http://wordpress.org/plugins/nextgen-gallery/](http://wordpress.org/plugins/nextgen-gallery/)

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

 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/template-paths/#post-4330064)
 * [@austin](https://wordpress.org/support/users/austin/) Ginder – Just for clarification,
   nothing at all is changing except the hardware where your site is being hosted
   from and you see this issue?
 * – Cais.
 *  Thread Starter [Austin Ginder](https://wordpress.org/support/users/austinginder/)
 * (@austinginder)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/template-paths/#post-4330091)
 * Yep. That is correct. When I move my website to a new server the template says
   missing. Then it shows the old absolute path something like /var/www/webhost/
   cluster01/website/wp-content/themes/. This happens on this screen: [http://note.io/17Gv6Ue](http://note.io/17Gv6Ue).
 *  [Jorihlen](https://wordpress.org/support/users/jorihlen/)
 * (@jorihlen)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/template-paths/#post-4330279)
 * I have a similar question/problem. When I switch to the final direction of the
   site under Dashboard > General Settings, everything is lost; Galleries are broken
   in pages, and absolutely white an disabled GG edit modal window.
    This happens
   in two different websites, working with Ultimatum Framework 2.3.7 (ineslopezportfolio.
   com.ar) and 2.5.102 ([http://artivista.com.ar/](http://artivista.com.ar/)).
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/template-paths/#post-4330281)
 * **[@jorihlen](https://wordpress.org/support/users/jorihlen/)**: If you require
   assistance then, as per the [Forum Welcome](http://codex.wordpress.org/Forum_Welcome#Where_To_Post),
   please post your own topic.
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/template-paths/#post-4330282)
 * [@autin](https://wordpress.org/support/users/autin/) Ginder – Please submit a
   Bug Report ([http://www.nextgen-gallery.com/report-bug/](http://www.nextgen-gallery.com/report-bug/)…
   please reference this topic) so we can try to help you get this sorted out.
 * We may need log in and FTP credentials to have a closer look at what’s going 
   on, please include those with the Bug Report.
 * Thanks!
 * – Cais.

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

The topic ‘Template paths’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [photocrati](https://wordpress.org/support/users/photocrati/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/template-paths/#post-4330282)
 * Status: not resolved