|
|
#1 |
|
Senior Member
Join Date: Mar 2006
Location: Best city in the World � Calgary, Canada
Posts: 466
Rep Power: 23 ![]() |
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. |
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Mar 2006
Location: Greer, SC
Posts: 666
Rep Power: 26 ![]() |
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! |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Mar 2006
Location: Best city in the World � Calgary, Canada
Posts: 466
Rep Power: 23 ![]() |
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'].'">';
}
Code:
else
{
$rs['start_link']='<a href="category.php?type='.$rs['id'].'">';
}
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. |
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Mar 2006
Location: Greer, SC
Posts: 666
Rep Power: 26 ![]() |
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! |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
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 |