Users being sent to the wrong taxonomy pages
samdeskin - June 3, 2009 - 20:39
| Project: | Taxonomy VTN |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | AlexisWilke |
| Status: | closed |
Jump to:
Description
Alexis,
Somehow, users seem to be getting directed to pages that they shouldn't. I am not sure how, but I thought you might have an idea.
I see in my cache that users are being sent to the URL Alias equivalent of this:
example.com/taxonomy_vtn/2/1
...
example.com/taxonomy_vtn/2/1302
example.com/taxonomy_vtn/3
example.com/taxonomy_vtn/4
example.com/taxonomy_vtn/f1d
example.com/taxonomy_vtn/f2d
etc.
Here is a sample link so you know what I am talking about:
http://openjurist.org/browse-open-jurist/2/1000
I would like them to be sent to the proper taxonomy vtn page
Any ideas why this is happening and how to get them to the right VTN page?
Sam

#1
Sam,
Do you see anything about a referer?
Thank you.
Alexis
#2
This is all the info I have from the syslog:
May 9 03:11:44 ip-97-74-195-36 drupal: http://xxx.org|1241863904|php|66.249.67.202|http://xxx.org/browse-open-jurist/2/1251?page=50||0||Got error 28 from storage engine query: SELECT t.* FROM term_node r INNER JOIN term_data t ON r.tid = t.tid INNER JOIN vocabulary v ON t.vid = v.vid WHERE r.vid = 364398 ORDER BY v.weight, t.weight, t.name in /var/www/vhosts/xxx.org/httpdocs/modules/taxonomy/taxonomy.module on line 618.
#3
Sam,
There is an advanced statistics module that would give you the info. Also you could look at your Apache logs.
Now, 66.249.67.202 is one of Mr GoogleBot. But without knowing where they came from, I'm not too sure how to debug this. GoogleBot does not always say where it came from also... I checked your sitemap.xml and you have nothing about taxonomy so that's not it.
Thank you.
Alexis
#4
I found it!
Go to this page:
http://openjurist.org/164/f3d/621/christopher-casal-v-robert-lund
Look at the string along the top:
Home › Federal Reporter, Third Series › 164 F.3d.
164 F.3d. points to:
browse-open-jurist/4/1451
Instead of:
164/f3d
and
Federal Reporter, Third Series
Points to the wrong page too...
#5
Hmmm... did you create a view for these pages? Or is that really a Taxonomy VTN page?!?
#6
I am not really sure what it means to "create a view." I think that is a breadcrumb that gets set up by default. I have seen it on other sites.
#7
A view as created by the Views module...
http://drupal.org/project/views
The breadcrumb is generated by the views and the Taxonomy VTN and the menu modules and many more... But the page just doesn't look like what I'd expect for the taxonomy VTN. Did you create aliases for taxonomy_vtn/voc|term/?
#8
I noticed this in the URL alias:
Alias:
1/f1d
System:
taxonomy_vtn/term/1960
#9
Alexis,
Just ot be clear, you think I should download views module to be able to work out this issue?
I don't have it currently installed and I only notice this issue on this site that has VTN installed on it.
Sam
#10
Sam,
Hmmm... Interesting! I'm not too sure what you use then for the current Browse capability. Is it the Wizard Search or something of the sort? I guess there is a conflict between the Taxonomy VTN changing links to terms and whatever other module you are using. Or do you simply use the core module and added some Alias URL?
If you don't mind to give me a complete list of all the modules used in link with taxonomies, maybe I'd figure something out.
Also, I think there is a way to turn that feature off... If you look here:
<yoursite>>/admin/settings/taxonomy_vtn
then you have an option named "Overwrite links". Uncheck that option and try again.
Thank you.
Alexis
#11
Alexis,
The following are the tax modules I use:
Taxonomy 6.12
Pathauto 6.x-1.1
Taxonomy Menu 6.x-1.02
Teaser by Content Type 6.x-1.0
Token 6.x-1.11
Token actions 6.x-1.11
Taxonomy VTN 6.x-1.x-dev
I simply use the core module and added some Alias URL.
I tried unchecking Overwrite Links to turn that off - didn't do anything.
By the way, I am not sure what several of the options do - some short descriptions might be helpful for others as well?
Sam
#12
This should now be fixed. Plus the Back to <some place> was replaced with the standard breadcrumb.
Feel free to reopen this bug if the navigation still has problems.
NOTE: There is a problem with navigating backward when a term has multiple parents. This may get fixed later but at this time it will remain that way.
Thank you.
Alexis Wilke
#13
Alexis,
I am not seeing breadcrumbs.
You can go to the D-NEW section of the website to see what I am getting. It seems like it is the same as it was before.
Sam
#14
Try clearing your cache. It may be showing you the cached version...
Admin -> Settings -> Tax VTN then click on the link "clear cache now" or something like that.
Thank you
Alexis
#15
Okay. This last problem was resolved: boost.
Thank you.
Alexis
#16
Automatically closed -- issue fixed for 2 weeks with no activity.