Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with htaccess and news manager
#1
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.

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]
Reply


Messages In This Thread
Help with htaccess and news manager - by kate - 2012-02-03, 08:42:35
Help with htaccess and news manager - by Connie - 2012-02-03, 16:44:06
Help with htaccess and news manager - by kate - 2012-02-03, 21:05:59
Help with htaccess and news manager - by Connie - 2012-02-03, 21:59:38
Help with htaccess and news manager - by kate - 2012-02-05, 18:06:19
Help with htaccess and news manager - by jeckyl - 2012-02-16, 20:32:45
Help with htaccess and news manager - by agittens - 2012-10-06, 22:49:53
Help with htaccess and news manager - by Carlos - 2012-10-07, 10:27:46
Help with htaccess and news manager - by agittens - 2012-10-07, 16:35:10
Help with htaccess and news manager - by Carlos - 2012-10-07, 20:50:27
Help with htaccess and news manager - by agittens - 2012-10-07, 23:58:39
Help with htaccess and news manager - by Carlos - 2012-10-09, 23:32:04



Users browsing this thread: 2 Guest(s)