Topic: Need help with rewrite, pagination and news id
Hi,
1.
RewriteBase /
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^noticia/(\w+)/?$ index.php?subaction=showcomments&id=$1
That works really well for me and I changed the templates to /noticia/{news-id} so on index.php it shows mywebsi.te/noticia/813724numbers
Now I want the same with pagination
RewriteRule ^page/(\w+)/?$ index.php?start_from=$1
As in templates I use [prev-link], index.php still shows start_from and &ucat, I don't like it.
If I enter manually to mywebsi.te/page/3 it works, but how can I make that the numbers of the bottom pagination <pre> 1 2 3 <post> link directly to /page/2?
2. Speaking of pages, when I browse through pages the static headlines disappear. If I'm in an article mywebsi.te/noticia/173231727 the headlines are still where they have to, but when I go to the second page there's blank. So, I want the headlines to show up while in any page, not only the first.
3. The news ID are too big numbers and difficult to remember, how can I change the articles ID numbers to smaller ones? mywebsi.te/noticia/982362464 to /noticia/4 and when I create a new article then it's gonna be noticia/5.
Any help is very welcome.
Thank you so much.