2017-01-15, 12:37:55
Hi all. I try to disable /post/ tag for single post. I added
in config and
in my htaccess file.
But when i open site.com/news/mypostname i get Oops! Page not found!. Pls help.
All posts still open with /post/ tag (site.com/news/post/mypostname)
Code:
define('NMNOPARAMPOST',true);
Code:
RewriteRule ^news/([^/.]+)/?$ index.php?id=news&post=$1 [L]
in my htaccess file.
But when i open site.com/news/mypostname i get Oops! Page not found!. Pls help.
All posts still open with /post/ tag (site.com/news/post/mypostname)