2012-02-03, 08:42:35
Not sure if this question should be in plugin section or general so apologies in advance if it's in the wrong place.
I installed the News Manager plugin, and after tweaking with the language file I managed to get some test posts on a page. My problem is with pretty URLs for the individual posts and I don't know if it's the htaccess rewrites or something in the plugin functions.
Basically the url is missing a slash between the parent page and the post page so I'm getting this:
http://localhost/mysite.co.uk/myblogpost/test-new-post
instead of this:
http://localhost/mysite.co.uk/myblog/post/test-new-post
After going round in circles for most of last night and a couple of hours tonight I figured it was time to ask for help. I changed the htaccess as suggested on the plugin but have not idea if it's something in there or in the functions file that I need to fix? Pretty urls work fine on the rest of the site.
Can anyone help with this?
Thanks!
[Moved the topic to the plugin section. This post should belong to the newsmanager plugin thread, but the system only allows moving stuff to top-level sections in the forum. - polyfragmented]
I installed the News Manager plugin, and after tweaking with the language file I managed to get some test posts on a page. My problem is with pretty URLs for the individual posts and I don't know if it's the htaccess rewrites or something in the plugin functions.
Basically the url is missing a slash between the parent page and the post page so I'm getting this:
http://localhost/mysite.co.uk/myblogpost/test-new-post
instead of this:
http://localhost/mysite.co.uk/myblog/post/test-new-post
After going round in circles for most of last night and a couple of hours tonight I figured it was time to ask for help. I changed the htaccess as suggested on the plugin but have not idea if it's something in there or in the functions file that I need to fix? Pretty urls work fine on the rest of the site.
Code:
RewriteRule ^myblog/tag/([^/.]+)/?$ index.php?id=myblog&tag=$1 [L]
RewriteRule ^myblog/post/([^/.]+)/?$ index.php?id=myblog&post=$1 [L]
RewriteRule ^myblog/page/([^/.]+)/?$ index.php?id=myblog&page=$1 [L]
RewriteRule ^myblog/archive/([^/.]+)/?$ index.php?id=myblog&archive=$1 [L]
Can anyone help with this?
Thanks!
[Moved the topic to the plugin section. This post should belong to the newsmanager plugin thread, but the system only allows moving stuff to top-level sections in the forum. - polyfragmented]