Community @ The Turning Gate

Support community for TTG plugins and products.

You are not logged in.

#1 2015-10-16 06:27:10

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 12,559
Website

Error 404 when clicking on permalink in Publisher managed albums

If you encounter the problem of clicking on the permalink icon in your Publisher managed albums and receiving a 404 Page Not Found error, here's a fix to try from Ben:

fix this by changing the file /ttg-be/publisher/application/skeleton/gallery/htaccess to:

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_URI}::$1 ^(.*?/)(.*)::\2$
    RewriteRule ^(.*)$ - [E=BASE:%1]
    RewriteRule ^(.*)-single.*php$ %{ENV:BASE}/single.php?id=$1 [L]
</IfModule>

Then run 'Update Album Files' from the Publisher Dashboard.  This has the effect of updating the .htaccess file in every gallery.
If we update Publisher, then you may need to re-edit /ttg-be/publisher/application/skeleton/gallery/htaccess with the above contents.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight test site

Offline

Board footer

Powered by FluxBB