2016-12-13, 11:48:05
Hello Carlos, I've been tinkering with this and the addon plugin for the past week or so and I can't for the life of me get the Fancy URLs to work correctly. Hate to bug you but I've read every post on this message board several times and dug through your documentation website over and over... My main blog page looks OK and the single post URLs are OK but the archives, tags and pagination ( < 1 2 3 4 >) do not work. I get "The requested post does not exist".
1) My Custom Permalink Structure is as follows. I would prefer to use %parents%/%slug%/ but I see you don't support that yet, can I up-vote that for a future release, please?):
2) I enabled NMNOPARAMPOST in gsconfig.php to remove /post/ from the urls:
3) The fancy URLs are as follows in my .htaccess:
4) I have checked the box for "Use Fancy URLs for posts, archives, etc." in NM. The auto-generated .htaccess option doesn't work for me, it says, "Failed to generate a .htaccess sample for the current site settings".
1) My Custom Permalink Structure is as follows. I would prefer to use %parents%/%slug%/ but I see you don't support that yet, can I up-vote that for a future release, please?):
Code:
%parent%/%slug%/
2) I enabled NMNOPARAMPOST in gsconfig.php to remove /post/ from the urls:
Code:
define('NMNOPARAMPOST',true);
3) The fancy URLs are as follows in my .htaccess:
Code:
<IfModule mod_rewrite.c>
RewriteEngine on
# Usually RewriteBase is just '/', but
# replace it with your subdirectory path
RewriteBase /
# News Manager
RewriteRule ^blog/([^/.]+)/?$ index.php?id=blog&post=$1 [L]
RewriteRule ^blog/tag/([^/.]+)/archive/([^/.]+)/?$ index.php?id=blog&tag=$1&archive=$2 [L]
RewriteRule ^blog/tag/([^/.]+)/page/([^/.]+)/?$ index.php?id=blog&tag=$1&page=$2 [L]
RewriteRule ^blog/tag/([^/.]+)/?$ index.php?id=blog&tag=$1 [L]
RewriteRule ^blog/page/([^/.]+)/?$ index.php?id=blog&page=$1 [L]
RewriteRule ^blog/archive/([^/.]+)/?$ index.php?id=blog&archive=$1 [L]
# end News Manager
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9_-]+)/?$ index.php?id=$1 [QSA,L]
</IfModule>
4) I have checked the box for "Use Fancy URLs for posts, archives, etc." in NM. The auto-generated .htaccess option doesn't work for me, it says, "Failed to generate a .htaccess sample for the current site settings".