Permalink problem if pagename contains slug value
-
Hello,
I created a page that displays an extended basic album. The selected album itself again contains two albums.
Whenever the slug for this page contains (or at least begins with) the slug that’s set in the NextGen Gallery options, the page itself can be shown, but any displayed album gets a corrupted link. Here’s an example:
Page name: Galerien
Page slug: galerien
Slug in NextGen-Options: galerie
Created URL for the albums that are displayed on this page:
/galerien/galerie/n/<albumname>These URL’s will not work and immediately redirect to the front page of the site.
For the moment, I changed the NextGen Slug to “gallery”. Then, the links are created correctly and everything works fine. But originally I’d like to have the slug in German, because it’s a German-only page.
For your tests, I created a “misspelled” page displaying the same content as the original page:
URL: http://fotovereinpassau.de/gallerys
This page slug “gallerys” now again contains the NextGen slug “gallery”. This leads to album links like http://fotovereinpassau.de/gallerys/gallery/s/fotosequenzen-2010.The correct links should look like this one:
http://fotovereinpassau.de/gallerys/gallery/fotosequenzen-2010Regards,
StefanMy installation:
Site address: http://www.fotovereinpassau.de
Wordpress 4.4.1 is installed on an Apache server in a subfolder, site address is the root folder.
NextGen Gallery 2.1.23
Other plugins (all at the newest version available):
Add Meta Tags
Antispam Bee
Easy FancyBox
Event Organiser
Google XML Sitemaps
MiniMeta Widget
Page Builder by SiteOrigin
Secret Content
SecSign
SendPress Newsletters
Simple Image Sizes
WordPress Importer
WP Dashboard Notes
- The topic ‘Permalink problem if pagename contains slug value’ is closed to new replies.