My earlier post got cut off for some reason. Anchor is: ><a>/browse-shirts/emk/">
Both browse-shirts and emk are WP pages.
Unfortunately, the site I’m working on was created by someone else. This particular section is a “shopping cart” of sorts. Product is t-shirts. The entire site was created from WP, which included a blog section, this shopping cart section and general info that you’d find in any brochure-ware site. The shopping cart section was created from a combination of WP pages and static HTML pages for the product detail pages.
I’m in the process of recreating the site with static XHTML pages for the general info, contact form, etc., a real shopping cart for the cart section, and ultimately I’ll probably try to preserve the content from the blog section.
Long story short, I took a DB backup, moved the site to a new hosting company, upgraded WP from 1.5 to 2.51 and I’m now trying to use the existing shopping cart section so my client can continue sales while I build and enter data into the new shopping cart (I’d rather put my effort into the new cart, but that means it’s down for the interim). I put WP in the root of the site as it was before, so paths would work.
In the process of backing up, restoring, and upgrading the database, I think some code got twisted. The browse-shirts page ended up with:
<a>/browse-shirts/cheese/"><img class="centered" src="https://www.mydomain.com/wp-content/<?php bloginfo('url'); ?>/wp-content/shirts/cheese/cheese-browse.gif" alt="Cheese" /></a>
This, of course duplicated the URL. I’m now trying to correct it.
The physical directory hierarchy is: root/wp-content/shirts/emk
browse-shirts is a WP page with links to emk and other sub-directories that represent various shirt designs and contain images for each design’s various styles, colors, etc.
So there is a WP page called emk and a physical directory called emk.
I’ve probably confused you more at this point. I think I’m ready for a micro-brew at my favorite watering hole. But I’ll check back in the AM to see if anyone had further thoughts. Appreciate it.