Go Back   Pligg CMS Forum > Pligg Development > Bug Report

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-03-2006, 11:30 AM
Casual Pligger
 
Join Date: Jan 2006
Posts: 56
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation URLMethod = 2 pagination bug

if we use URLMethod = 2 the pagination in users profile (history,published,shaken) not work, if i click page 2 or 3 or 4 still in page one can't move to next pages, i think something missing in .htaccess
Reply With Quote
  #2 (permalink)  
Old 02-08-2006, 12:35 AM
Casual Pligger
 
Join Date: Jan 2006
Posts: 56
Thanks: 0
Thanked 0 Times in 0 Posts
pumb

it's not good for SEO to have same content in different urls !!
Reply With Quote
  #3 (permalink)  
Old 02-08-2006, 09:50 PM
Casual Pligger
 
Join Date: Jan 2006
Posts: 56
Thanks: 0
Thanked 0 Times in 0 Posts
category pagination also the same bug !

http://www.site.com/category/1/?page=2&category=1

just first page show

it should be

http://www.site.com/?page=2&category=1

test it here

http://www.pligg.com/category/18/?page=2&category=18

Last edited by fwebz; 02-08-2006 at 09:57 PM..
Reply With Quote
  #4 (permalink)  
Old 02-08-2006, 10:23 PM
AshDigg's Avatar
Coder
 
Join Date: Dec 2005
Posts: 1,574
Thanks: 235
Thanked 345 Times in 206 Posts
I quick fix is to open /libs/html1.php

find function do_pages($total, $page_size=25) {

In this function there will be 5 lines that start like this...
echo '<a href="?page='.$i.$query

Change them to start like this....
echo '<a href="/?page='.$i.$query

I can't think of a permanent fix at the moment, so I'll come back to it again.
__________________
- Ash

Last edited by AshDigg; 02-08-2006 at 10:30 PM..
Reply With Quote
  #5 (permalink)  
Old 02-08-2006, 10:43 PM
Casual Pligger
 
Join Date: Jan 2006
Posts: 56
Thanks: 0
Thanked 0 Times in 0 Posts
thank you Ash, this fix category pagination but not pagination in users profile ,cus users use other file "user.php" so i add new function in /libs/html1.php "do_pages_users" for users profile only ! and change

<a href="?page='.$i.$query

to

<a href="/user/?page='.$i.$query

and in user.php i change

do_pages($rows, $page_size);

to

do_pages_users($rows, $page_size);
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
No pagination with tag page in v9.8 deeplygreen Bug Report 12 07-31-2008 10:42 AM
Search pagination with urlmethod 2 (HOWTO) peppolone General Help 2 11-25-2007 06:16 AM
Seo Friendly Urls - Urlmethod 2 canadianguy33 General Help 15 05-12-2007 09:57 PM
URLMethod for links changes between pages micropat General Help 4 01-25-2007 06:08 AM
True URL Method2 pagination for ALL multi pageviews riggd Bug Report 7 01-01-2007 05:17 PM


Search Engine Friendly URLs by vBSEO 3.2.0