1
bjuti
fmcontent (news) url rewrite problem
  • 2012/3/8 16:28

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


Hi there

I really like and support fmcontent module, but te main reason why i don't use it on live site is because I didn't manage url rewrite to work.

Url rewrite is working on the same site in Publisher, but when I install fmcontent (news) and try to do rewrite as it say in docs, I got 404.

Quote:
The requested URL /website/news/article/neka-tema/1/test-vesti.html was not found on this server.


Also I don't understand the logic of shorting urls.

Quote:
http://localhost/website/news/article/some-theme/1/test-news.html


^ doesn't work, and the .htaccess say, like in docs:

Quote:
RewriteRule ^([a-zA-Z0-9_-]*)/([a-zA-Z0-9_-]*)/([a-zA-Z0-9_-]*)\.html$ content.php?id=$2&page=$3 [L]
RewriteRule ^fmcontent/([a-zA-Z0-9_-]*)/([a-zA-Z0-9_-]*)/([a-zA-Z0-9_-]*)\.html$ modules/fmcontent/content.php?id=$2&page=$3 [L]



Apache log say

Quote:
[Thu Mar 08 17:01:57 2012] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/website/news, referer:http://localhost/prekoramena/modules/news/index.php
[Thu Mar 08 17:07:57 2012] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/website/news, referer:http://localhost/website/modules/news/admin/article.php?topic=1


I'm having this problem since first version of fmcontent

2
bjuti
Re: fmcontent (news) url rewrite problem
  • 2012/3/24 10:16

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


bump?

Login

Who's Online

163 user(s) are online (104 user(s) are browsing Support Forums)


Members: 0


Guests: 163


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits