Page 1 of 1

broken links

PostPosted: Sat Apr 23, 2011 1:40 pm
by jbogs1
I just ran a site map generator and found broken links in my custom shopping cart template.

The broken links are below....

It seems the links are broken because for some reason the links add www.horsemomssupplements.com in front of the link so the link (after you click it) appears in the url TWICE

Heres 1 example of the broken link as it appears in the site map report.


https://www.horsemomssupplements.com/cgi-sys/cgiwrap/jbogs/sc/order.cgi?rd=1&storeid=*1674e0166903e0bb0729bd4896&sbid=SSMSB1303590760.59020&redirect=yes

If you click the link above this is what appears in the url box in the browser

http://www.horsemomssupplements.com/https://www.horsemomssupplements.com/cgi-sys/cgiwrap/jbogs/sc/order.cgi?rd=1&storeid=*1674e0166903e0bb0729bd4896&sbid=SSMSB1303590760.59020&redirect=yes

Thats why I'm getting a broken link.

Can you tell me how to correct that?

thanks
John




3

https://www.horsemomssupplements.com/cgi-sys/cgiwrap/jbogs/sc/order.cgi?rd=1&storeid=*143791860b2640e70b0d94cf&sbid=SSMSB1303590760.59020&redirect=yes

cgi-sys/cgiwrap/jbogs/sc/order.cgi?storeid=*143791860b2640e70b0d94cf&dbname=products&itemnum=139&function=add, cgi-sys/cgiwrap/jbogs/sc/order.cgi?storeid=*143791860b2640e70b0d94cf&dbname=products&itemnum=140&function=add



4

https://www.horsemomssupplements.com/cgi-sys/cgiwrap/jbogs/sc/order.cgi?rd=1&storeid=*0ee0b4900376290b61&sbid=SSMSB1303590760.59020&redirect=yes

cgi-sys/cgiwrap/jbogs/sc/order.cgi?storeid=*0ee0b4900376290b61&dbname=products&itemnum=131&function=add, cgi-sys/cgiwrap/jbogs/sc/order.cgi?storeid=*0ee0b4900376290b61&dbname=products&itemnum=156&function=add



5

https://www.horsemomssupplements.com/cgi-sys/cgiwrap/jbogs/sc/order.cgi?rd=1&storeid=*0c0410eb6796b0fa&sbid=SSMSB1303590760.59020&redirect=yes

cgi-sys/cgiwrap/jbogs/sc/order.cgi?storeid=*0c0410eb6796b0fa&dbname=products&itemnum=132&function=add, cgi-sys/cgiwrap/jbogs/sc/order.cgi?storeid=*0c0410eb6796b0fa&dbname=products&itemnum=138&function=add



6

https://www.horsemomssupplements.com/cgi-sys/cgiwrap/jbogs/sc/order.cgi?rd=1&storeid=*18bf600961c2ae0b3978be5d408a&sbid=SSMSB1303590760.59020&redirect=yes

cgi-sys/cgiwrap/jbogs/sc/order.cgi?storeid=*18bf600961c2ae0b3978be5d408a&dbname=products&itemnum=133&function=add, cgi-sys/cgiwrap/jbogs/sc/order.cgi?storeid=*18bf600961c2ae0b3978be5d408a&dbname=products&itemnum=153&function=add



7

https://www.horsemomssupplements.com/cgi-sys/cgiwrap/jbogs/sc/order.cgi?rd=1&storeid=*182690b86075d10ba973be4c402a&sbid=SSMSB1303590760.59020&redirect=yes

cgi-sys/cgiwrap/jbogs/sc/order.cgi?storeid=*182690b86075d10ba973be4c402a&dbname=products&itemnum=134&function=add, cgi-sys/cgiwrap/jbogs/sc/order.cgi?storeid=*182690b86075d10ba973be4c402a&dbname=products&itemnum=155&function=add



8

https://www.horsemomssupplements.com/cgi-sys/cgiwrap/jbogs/sc/order.cgi?rd=1&storeid=*12047eb93066027bd94066&sbid=SSMSB1303590760.59020&redirect=yes

cgi-sys/cgiwrap/jbogs/sc/order.cgi?storeid=*12047eb93066027bd94066&dbname=products&itemnum=142&function=add, cgi-sys/cgiwrap/jbogs/sc/order.cgi?storeid=*12047eb93066027bd94066&dbname=products&itemnum=137&function=add



9

https://www.horsemomssupplements.com/cgi-sys/cgiwrap/jbogs/sc/order.cgi?rd=1&storeid=*1ab6814ac0049d2603b97eef750bf5&sbid=SSMSB1303590760.59020&redirect=yes

cgi-sys/cgiwrap/jbogs/sc/order.cgi?storeid=*1ab6814ac0049d2603b97eef750bf5&dbname=products&itemnum=135&function=add, cgi-sys/cgiwrap/jbogs/sc/order.cgi?storeid=*1ab6814ac0049d2603b97eef750bf5&dbname=products&itemnum=169&function=add



10

https://www.horsemomssupplements.com/cgi-sys/cgiwrap/jbogs/sc/order.cgi?rd=1&storeid=*1667e081603290ba07d9b44b92&sbid=SSMSB1303590760.59020&redirect=yes

cgi-sys/cgiwrap/jbogs/sc/order.cgi?storeid=*1667e081603290ba07d9b44b92&dbname=products&itemnum=143&function=add, cgi-sys/cgiwrap/jbogs/sc/order.cgi?storeid=*1667e081603290ba07d9b44b92&dbname=products&itemnum=146&function=add



11

https://www.horsemomssupplements.com/cgi-sys/cgiwrap/jbogs/sc/order.cgi?rd=1&storeid=*120d4ebe0967037b294095&sbid=SSMSB1303590760.59020&redirect=yes

cgi-sys/cgiwrap/jbogs/sc/order.cgi?storeid=*120d4ebe0967037b294095&dbname=products&itemnum=144&function=add, cgi-sys/cgiwrap/jbogs/sc/order.cgi?storeid=*120d4ebe0967037b294095&dbname=products&itemnum=174&function=add



12

https://www.horsemomssupplements.com/cgi-sys/cgiwrap/jbogs/sc/order.cgi?rd=1&storeid=*10bbe443020760909df9&sbid=SSMSB1303590760.59020&redirect=yes

cgi-sys/cgiwrap/jbogs/sc/order.cgi?storeid=*10bbe443020760909df9&dbname=products&itemnum=145&function=add, cgi-sys/cgiwrap/jbogs/sc/order.cgi?storeid=*10bbe443020760909df9&dbname=products&itemnum=162&function=add



13

https://www.horsemomssupplements.com/cgi-sys/cgiwrap/jbogs/sc/order.cgi?rd=1&storeid=*0ee0b4e90076390b94&sbid=SSMSB1303590760.59020&redirect=yes

cgi-sys/cgiwrap/jbogs/sc/order.cgi?storeid=*0ee0b4e90076390b94&dbname=products&itemnum=157&function=add, cgi-sys/cgiwrap/jbogs/sc/order.cgi?storeid=*0ee0b4e90076390b94&dbname=products&itemnum=150&function=add



14

https://www.horsemomssupplements.com/cgi-sys/cgiwrap/jbogs/sc/order.cgi?rd=1&storeid=*10bbe5481b0760609a2a&sbid=SSMSB1303590760.59020&redirect=yes

cgi-sys/cgiwrap/jbogs/sc/order.cgi?storeid=*10bbe5481b0760609a2a&dbname=products&itemnum=158&function=add, cgi-sys/cgiwrap/jbogs/sc/order.cgi?storeid=*10bbe5481b0760609a2a&dbname=products&itemnum=152&function=add



15

https://www.horsemomssupplements.com/cgi-sys/cgiwrap/jbogs/sc/order.cgi?rd=1&storeid=*148c6e961bbf40e70b0a9591&sbid=SSMSB1303590760.59020&redirect=yes

cgi-sys/cgiwrap/jbogs/sc/order.cgi?storeid=*148c6e961bbf40e70b0a9591&dbname=products&itemnum=161&function=add, cgi-sys/cgiwrap/jbogs/sc/order.cgi?storeid=*148c6e961bbf40e70b0a9591&dbname=products&itemnum=176&function=add



16

https://www.horsemomssupplements.com/cgi-sys/cgiwrap/jbogs/sc/order.cgi?rd=1&storeid=*1a87164b509de23600b97fec4a0bf5&sbid=SSMSB1303590760.59020&redirect=yes

cgi-sys/cgiwrap/jbogs/sc/order.cgi?storeid=*1a87164b509de23600b97fec4a0bf5&dbname=products&itemnum=184&function=add

Re: broken links

PostPosted: Sat Apr 23, 2011 4:47 pm
by Jim
The links don't help see what the problem is. We need to see the page the links are on and the code in the template that is generating the page.

You might be using both a template tag and the actual url in the same line of the template or two template tags together, Something like
<form action="[-- SHOPPING_CART_URL BASE --][-- PRODUCT.AddToCartURL --]/order.cgi" method=post>
...
</form>

It could also be that you have nested forms so one form isn't completed before the next begins.

It could be that you have a webserver redirect that is changing the none secure url of
http://www.horsemomssupplements.com to the secure url https://www.horsemomssupplements.com but it was done incorrectly so it appends the two urls together.