Guest Posted September 15, 2010 Posted September 15, 2010 Hi guys ! long time no see ! When I setup my shop I installed on the nav bar 3 additional items : Blog, About and Newsletter. These are pointing to my blog platform (wordpress)and therefore have different URLs (www.augustinparis/blog for example; when my shop is under a "shop"directory and the main url is www.augustinparis.com/shop. I have succesfully added these to header.php and filenames.php. At first it worked.... but for an unknown reason it stopped to work ! Now, the site gives me a link like : http://augustinparis.com/shop/http://augustinparis.com/about/ ... and therefore a 404 error. Can you help ? Header.php goes like this <td class="headerNavigation"> <?php echo $breadcrumb->trail(' » '); ?></td> <td align="right" class="headerNavigation"><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?></a> | <?php } ?><a href="<?php echo tep_href_link(FILENAME_ABOUT); ?>" class="headerNavigation"><?php echo HEADER_TITLE_ABOUT; ?></a> | <a href="<?php echo tep_href_link(FILENAME_BLOG); ?>" class="headerNavigation"><?php echo HEADER_TITLE_BLOG; ?></a> | <a href="<?php echo tep_href_link(FILENAME_NEWSLETTER); ?>" class="headerNavigation"><?php echo HEADER_TITLE_NEWSLETTER; ?></a> | <a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a> | <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a> | <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a> </td> </tr> filenames goes like this : define('FILENAME_BLOG', 'http://augustinparis.com/blog'); define('FILENAME_ABOUT', 'http://augustinparis.com/about/'); define('FILENAME_NEWSLETTER', 'http://augustinparis.com/newsletter/'); thanks ! flo
Recommended Posts
Archived
This topic is now archived and is closed to further replies.