1 (edited by matpan3 2016-07-09 18:51:11)

Topic: Rewriting the [full-story] link to friendly one

Hello my friends.
I've installed the Cutenews v2.0.4 without any problems. Configured it, modified templates and now using cutenews with one big problem.
I have website http://ukstechnik.zsl.org.pl and want to use .htaccess rewrite mod to make links more friendly. When i want to load news page i use link http://ukstechnik.zsl.org.pl/aktualnosci instead of http://ukstechnik.zsl.org.pl/index.php?page=aktualnosci. I didt rewriting inside .htaccess file and it looks:

Options -Indexes
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?strona=$1 [L]

When i post a new story with full story option i have Read more... button which links to full article. Link to that is: http://ukstechnik.zsl.org.pl/index.php? … i&id=9 (1 = news id). What should i do to rewrite this link to look like http://ukstechnik.zsl.org.pl/aktualnosci/9 ?

Tried many ways and nothing is working (even builtin rewrite). Is it ever possible to rewrite full story link?

Re: Rewriting the [full-story] link to friendly one

Thanks for sharing.