Support Forums

About pagination...

This is a discussion on About pagination... within the Technical Support forums, part of the Technical Support Forums category; Hi, I'm really happy with v4.0.9 but there's something wrong according to me. As I explained in http://www.68classifieds.com/forums/...uggestion.html , I ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

This topic is resolved.

If you have a similar issue that this thread does not address, open a new related support topic.

 
Thread Tools Display Modes
Old 12-12-2008, 03:00 AM   #1
Customer
 
 
Join Date: Mar 2006
Location: Lille (France)
Posts: 112
Rep Power: 24
frommarcq is on a distinguished road
Talking About pagination...

Hi,

I'm really happy with v4.0.9 but there's something wrong according to me.
As I explained in http://www.68classifieds.com/forums/...uggestion.html, I think the "Dash" is bad for the SEO (understood by the spiders as directories). I changed slashes with hyphens, and I have resolved most of the 404 errors caused by the spiders.

The problem is still present with pagination. In fact, there are two problems :

The pagination is using slashes (baaaaaaaaaad !) :
PHP Code:
http://www.mywebsite.com/category-slug-of-the-category/page/2.html 
How can I convert that (for example) to :
PHP Code:
http://www.mywebsite.com/category-slug-of-the-category+p2.html 
The second problem is about the first page : the code is causing duplicate content (very baaaaaaaad !). When it contains a lot of listiongs, the same page will have two URLS :

PHP Code:
http://www.mywebsite.com/category-slug-of-the-category.html 
and
PHP Code:
http://www.mywebsite.com/category-slug-of-the-category/page/1.html 
It would be great, in pagination, that the first page doesn't have any pagination. But how to do that ?

Regards

Pascal
__________________
68classifieds (V4.2.1 Developer)

Last edited by frommarcq; 12-12-2008 at 03:04 PM. Reason: Slash, not dash !!!
frommarcq is offline  
Old 12-12-2008, 03:22 AM   #2
Customer
 
 
Join Date: Mar 2006
Location: Lille (France)
Posts: 112
Rep Power: 24
frommarcq is on a distinguished road
Default

I found an other problem with the pagination :
When you are on the second page of the category, with the actual code ('/page/2.html'), the links to the javascripts aren't correct : the browser is searching for

PHP Code:
http://www.mywebsite.com/category-slug-of-the-category/page/javascript/calendar/calendar.js 
instead of :

PHP Code:
http://www.mywebsite.com/javascript/calendar/calendar.js 
The slashes again ! Argl ! It causes a 404 error

I think it would be really useful to ban the slashes from URLs, and replace that sign with hyphens or "+" symbol (not sure that underscore is appreciated by GoogleBot).

Regards

Pascal
__________________
68classifieds (V4.2.1 Developer)

Last edited by frommarcq; 12-12-2008 at 03:05 PM. Reason: slashes for dashes (song from D. Bowie ?)
frommarcq is offline  
Old 12-12-2008, 04:39 AM   #3
Staff
 
Join Date: Mar 2006
Posts: 587
Rep Power: 33
Blair will become famous soon enough
Default

Quote:
Originally Posted by google
Consider using punctuation in your URLs. The URL http://www.example.com/green-dress.html is much more useful to us than http://www.example.com/greendress.html. We recommend that you use hyphens (-) instead of underscores (_) in your URLs.
from URL structure - Webmaster Help Center

However, if you want to change the hyphen to an underscore, from memory...
I believe the address is built by one of the plug-ins.
__________________
Blair
68C Staff

68C Downloads | Report a Bug | Knowledge Base
If you have a current support subscription, you can Submit a Support Ticket
Blair is offline  
Old 12-12-2008, 05:40 AM   #4
Customer
 
 
Join Date: Mar 2006
Location: Lille (France)
Posts: 112
Rep Power: 24
frommarcq is on a distinguished road
Default

Thanks for your answer, Blair.
The problems I have with pagination, are to replace dashes with hyphens, and not to display /page/1.html for the first page of the results.
Regards
Pascal
__________________
68classifieds (V4.2.1 Developer)
frommarcq is offline  
Old 12-12-2008, 01:31 PM   #5
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,263
Rep Power: 67
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

Quote:
Originally Posted by frommarcq
Thanks for your answer, Blair.
The problems I have with pagination, are to replace dashes with hyphens, and not to display /page/1.html for the first page of the results.
Regards
Pascal
Pascal,

I understand that you are French so I wanted to point out to you that people may be confused by what you are saying.

A "dash" is "-", a hyphen is "-" the same thing. I believe you mean a "slash" which is "/", yes?

-Mike
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline  
Old 12-12-2008, 03:03 PM   #6
Customer
 
 
Join Date: Mar 2006
Location: Lille (France)
Posts: 112
Rep Power: 24
frommarcq is on a distinguished road
Default

Mike,
You're right ! I'm confused...
It is a problem with slashes ! lol
I've asked for a new brain for Xmas !!!
Regards
Pascal
__________________
68classifieds (V4.2.1 Developer)
frommarcq is offline  
Old 12-14-2008, 05:21 AM   #7
Customer
 
 
Join Date: Mar 2006
Location: Lille (France)
Posts: 112
Rep Power: 24
frommarcq is on a distinguished road
Default

Hi !
For the problem with the 'first' page (remove '/page/1.htm' from URL, in order to avoid duplicate content), I found the variable '$first' in Pagination.php.
How can I do to change it, in order to have no pagination URL (only for the first page) ?
Thanks !
Regards
Pascal
__________________
68classifieds (V4.2.1 Developer)
frommarcq is offline  
Closed Thread

Tags
duplicate content , page , pagination , seo

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Add pagination bar outlook Technical Support 3 06-30-2008 05:39 PM
Pagination: Rows per page ksuralta Technical Support 1 03-07-2008 12:00 PM


All times are GMT -4. The time now is 12:18 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0