Help with htaccess and news manager - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: Plugins (http://get-simple.info/forums/forumdisplay.php?fid=13) +--- Thread: Help with htaccess and news manager (/showthread.php?tid=2684) |
Help with htaccess and news manager - kate - 2012-02-03 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] 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] Help with htaccess and news manager - Connie - 2012-02-03 Kate, well, at the german getsimple-site, we have the news in a page called "blog": http://www.get-simple.de/blog/ the URL of the news are f.e.: http://www.get-simple.de/blog/post/getsimple-31beta so for us it is working. Our .htaccess-rules for the newsmanager are these: Code: # Newsmanager-Regeln für Fancy URLs I do not see a difference, so we need more info which PHP-Version what Host, Apache? which GetSimple-Version? which NewsManager-Version? what do you mean with fixing the "function-file"? Help with htaccess and news manager - kate - 2012-02-03 Hi Connie, I'm using Wamp for testing and the versions below. I was referring to the functions.php file of the news manager plugin as I saw a reference to the function nm_get_url mentioned somewhere else in the forum. PHP Version : 5.3.8 Apache Version : 2.2.21 GS 3.0 News Manager 2.2.4 Help with htaccess and news manager - Connie - 2012-02-03 Kate, this sounds good but I would better test this on a host I experienced problems with .htaccess on WAMP which did not happen in "real life" ;=) so make a short test on a life sistem and check whether it is ok there Help with htaccess and news manager - kate - 2012-02-05 I tried installing News Manager on a live testing site, but still have the same problem with pretty URLs. They're still missing a slash between the parent page and post so instead of parent/post/slug I still get parentpost/slug. My rewrite rules are exactly as Connie suggested above, directly copied and pasted from the News Manager settings for htaccess. Does anyone else have any suggestions? I really like the plugin but this is driving me mad! Thanks once again Kate Help with htaccess and news manager - jeckyl - 2012-02-16 @kate : I have the same problem Help with htaccess and news manager - agittens - 2012-10-06 having similar problem, i have a website running GS3.0 with news manager plugin and it is working fine. Now, im building a new website for a new client and just download GS3.1 and same news manager plugin and doesnt work correctly, when i click a news it doesnt open the page with complete news. Help with htaccess and news manager - Carlos - 2012-10-07 Do you have a custom permalink structure set in GetSimple? Help with htaccess and news manager - agittens - 2012-10-07 Carlos Wrote:Do you have a custom permalink structure set in GetSimple? No i dont. Just basic setup Help with htaccess and news manager - Carlos - 2012-10-07 What do you get when you click on a news post? Have you enabled canonical redirect in gsconfig? Help with htaccess and news manager - agittens - 2012-10-07 Carlos Wrote:What do you get when you click on a news post? Ohh! my bad, thank you, that was the problem. Now, why the news date is not showing up? Help with htaccess and news manager - Carlos - 2012-10-09 agittens Wrote:why the news date is not showing up? Are you using WAMP/XAMPP? See this: http://get-simple.info/forum/post/31331/#p31331 (Anyway, here we're offtopic; better using that thread for News Manager-related issues.) |