Pages: [1]
Author Topic: closed category url  (Read 592 times)
Customers
Full Member
*

Karma: 0
Posts: 32


on: May 08, 11, 06:42 AM

HI,

How i can closed category page url ?
I've this :

http://www.mysite.com/games/arcade/page3

and i would like :

http://www.mysite.com/games/arcade/page3/
Logged
Administrator
Sr. Member
*

Karma: 7
Posts: 486


Email
Reply #1 on: May 13, 11, 04:41 AM

in the template /templates/your_theme/helper_pagination.html replace the code
Code:
<a href="!PAGELINK!" class="!PAGEACTIVE!">!PAGE!</a>

by code
Code:
<a href="!PAGELINK!" class="!PAGEACTIVE!">!PAGE!/</a>
Logged
Customers
Full Member
*

Karma: 0
Posts: 32


Reply #2 on: May 13, 11, 06:00 AM

Thks but i've already test this one :

Code:
<a href="!PAGELINK!/" class="!PAGEACTIVE!">!PAGE!</a>

and rewriting mod send !PAGELINK!/ on homepage
Logged
Administrator
Sr. Member
*

Karma: 7
Posts: 486


Email
Reply #3 on: May 22, 11, 06:13 AM

that's strange, I've just changed the code at my http://arcadeous.com/ just like you described, and take a look at the result
Logged
Customers
Full Member
*

Karma: 0
Posts: 32


Reply #4 on: May 24, 11, 01:52 PM

You have

http://arcadeous.com/category/Sports/page5

And iw ould like

http://arcadeous.com/category/Sports/page5/

with "/" after 5, and its not working. -> redirect on http://arcadeous.com
Logged
Administrator
Sr. Member
*

Karma: 7
Posts: 486


Email
Reply #5 on: May 25, 11, 10:19 AM

here is the missed modification necessary to make links like /pageXX/ working, see attached screenshot. It's the '\' char in the main .htaccess


* closed_cat.jpg (4.17 KB, 486x62 - viewed 59 times.)
Logged
Customers
Full Member
*

Karma: 0
Posts: 32


Reply #6 on: Jun 22, 11, 03:31 AM

for category pagination, in my htacess i have :

RewriteRule ^cat/(.*[^/])/(page([0-9]*)/?)?/?$ cat.php?cat=$1&page=$3 [QSA,L]
Logged
Pages: [1]
 
Jump to: