Support Forums


Go Back   68 Classifieds Forums > Legacy Help & Support > v3.1 Questions & Support

 
LinkBack Thread Tools Display Modes
Old 04-25-2008, 02:39 AM   #1
Senior Member
 
SkGold's Avatar
 
Join Date: Mar 2006
Location: Best city in the World � Calgary, Canada
Posts: 466
Rep Power: 23
SkGold has a spectacular aura about
Exclamation 2 different URLs are pointing to one category - bad SEO

There are 2 different URLs pointing to the same category-page if you have more than one level of categories.

I guess that is easier to explain by using example.

Please visit this page http://resume.allaboutcalgary.com/categories/1.html
Than click on “Street Bikes” link in the “Browse Categories” table and you will arrive to this page http://resume.allaboutcalgary.com/categories/1/3.html

Now on this page if you click on “Street Bikes” link in breadcrumbs you will arrive to this page http://resume.allaboutcalgary.com/categories/3.html

Also if you view “Street Bikes Listing” you can see that breadcrumbs link on viewlisting page is pointing to this URL again http://resume.allaboutcalgary.com/categories/3.html

From this example you can see that “Street Bikes” category has 2 different URLs
http://resume.allaboutcalgary.com/categories/1/3.html and http://resume.allaboutcalgary.com/categories/3.html

I guess that there could be 2 possibilities to fix this.
1. To fix the links on category page in “Browse Categories” table by pointing them to http://resume.allaboutcalgary.com/categories/3.html
2. To fix breadcrumbs links by pointing them to http://resume.allaboutcalgary.com/categories/1/3.html

I prefer #1 as it make pages less deep.
However I was playing for several hrs with category.php (for solution #1) and with includes/functions.php (for solution #2) but cannot find the fix to any of them.

I really appreciate any help.
__________________
Thanks,
Sergey

Bargain Finder in Calgary, Alberta, Canada.
Calgary Business Directory V3.1.10 Dev - Calgary Classifieds V3.1.10 Dev - Calgary Real Estate V3.1.10 Dev - Calgary Used Cars V3.1.10 Dev - Calgary Rent V3.1.10 Dev - Calgary Dating V3.1.5 Dev

A website without well-done Internet Marketing and Search Engine Optimization is as good as non-existent.

Last edited by SkGold; 04-25-2008 at 02:44 AM.
SkGold is offline   Reply With Quote
Old 04-25-2008, 12:04 PM   #2
civ
Senior Member
 
civ's Avatar
 
Join Date: Mar 2006
Location: Greer, SC
Posts: 666
Rep Power: 26
civ will become famous soon enough
Default

We fixed this awhile back as well, but we don't use the SEO URLs so our solution was a bit different. The problem is that both the type# and section# show up in the URL but only the type is needed, but it is needed as the section#, lol. I realize that makes little sense, but it's true. Just take the section# from the URL and use it as the type# (and then remove the section declaration altogether). For example:

category.php?type=10&sec=50

should become

category.php?type=50
__________________
Civ's Modules (____NOW v4 COMPATIBLE____):

Stop Incomplete Listings! (proven revenue booster!)
Scam Filter (Just say no to Nigerians!) updated
Similar Listings (keep visitors longer)
Feedback Mod (testimonial builder)
Listing Status Reminder free!
civ is offline   Reply With Quote
Old 04-26-2008, 05:02 PM   #3
Senior Member
 
SkGold's Avatar
 
Join Date: Mar 2006
Location: Best city in the World � Calgary, Canada
Posts: 466
Rep Power: 23
SkGold has a spectacular aura about
Default

Thanks CIV.
I guess that I fix it. For people who want to know here is what I did:
In category.php approximately on line 152 I changed this:
Code:
else
{
$rs['start_link']='<a href="category.php?type='.$type.'&sec='.$rs['id'].'">';
}
To this:
Code:
else
{
$rs['start_link']='<a href="category.php?type='.$rs['id'].'">';
}
It seems like it is working fine. Just have a couple questions.
Quote:
Originally Posted by civ View Post
...and then remove the section declaration altogether...
I am not really a big friend with coding.
What exactly need to remove? Do I really need to remove it and why?
__________________
Thanks,
Sergey

Bargain Finder in Calgary, Alberta, Canada.
Calgary Business Directory V3.1.10 Dev - Calgary Classifieds V3.1.10 Dev - Calgary Real Estate V3.1.10 Dev - Calgary Used Cars V3.1.10 Dev - Calgary Rent V3.1.10 Dev - Calgary Dating V3.1.5 Dev

A website without well-done Internet Marketing and Search Engine Optimization is as good as non-existent.

Last edited by SkGold; 04-26-2008 at 05:05 PM.
SkGold is offline   Reply With Quote
Old 04-28-2008, 11:47 AM   #4
civ
Senior Member
 
civ's Avatar
 
Join Date: Mar 2006
Location: Greer, SC
Posts: 666
Rep Power: 26
civ will become famous soon enough
Default

Judging by your code above, you did remove it.
__________________
Civ's Modules (____NOW v4 COMPATIBLE____):

Stop Incomplete Listings! (proven revenue booster!)
Scam Filter (Just say no to Nigerians!) updated
Similar Listings (keep visitors longer)
Feedback Mod (testimonial builder)
Listing Status Reminder free!
civ is offline   Reply With Quote

Bookmarks

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
SEO friendly URLs - support in external.php and sitemap seymourjames v4 Modules / Modifications 7 06-02-2008 03:50 PM
Mass Move listings of a category to another category Success v4 Questions & Support 3 04-10-2008 10:01 AM
Hide a category on public pages? HotAir v3.1 Questions & Support 6 12-05-2007 10:17 AM
Branding each Category BABBSELA v3.1 Modules & Modifications 0 02-10-2007 01:17 PM
Category problem dawyatt v3.1 Questions & Support 2 05-24-2006 03:58 PM


All times are GMT -4. The time now is 02:33 PM.


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