Site: https://www.tphsupply.com
I'm having issue with one of the pages in my top navigation. Note: Use Web Server Rewrites in configurations is set to Yes. I've tried the .htacess fixes with no cigar.
All the other pages are working fine, the Contact Us link in the top nav is linking to tphsupply.com/index.php/contacts. The link is broken and redirects me back to the homepage. However, if you look at the footer - Contact Us is working fine. It looks like it's because of the /index.php/ in the url. I like to set the top nav link path to https://www.tphsupply.com/contacts.
I can't seem to find the location to where I can edit the url.
Thanks in advance.
J
It might be a cache issue so clear that first.
The reason it is redirecting you back to the homepage is because it is not a https link, it is http so magento is detecting this and then forwarding to the secure version. By default this sends you to the homepage. It is likely then that the link has been added manually with a hard coded link. You will need to find where this is and update it.
Thanks Iweb_Smartie
Thanks for clarifying. I was thinking that maybe it was hardcoded, but having trouble finding where this file would be located. I'll keep looking.
Tried caching and did not work. Seems like caching was blocked. I looked into some resources and found mentions about the cache_lifetime. It's currently set to false. This is what I see:
protected function _construct() { $this->addData(array('cache_lifetime' => false)); $this->addCacheTag(array( Mage_Catalog_Model_Category::CACHE_TAG, Mage_Core_Model_Store_Group::CACHE_TAG )); } /** * Get Key pieces for caching block content * * @return array */ public function getCacheKeyInfo() { $shortCacheId = array( 'CATALOG_NAVIGATION', Mage::app()->getStore()->getId(), Mage::getDesign()->getPackageName(), Mage::getDesign()->getTheme('template'), Mage::getSingleton('customer/session')->getCustomerGroupId(), 'template' => $this->getTemplate(), 'name' => $this->getNameInLayout(), $this->getCurrenCategoryKey() ); $cacheId = $shortCacheId; $shortCacheId = array_values($shortCacheId); $shortCacheId = implode('|', $shortCacheId); $shortCacheId = md5($shortCacheId); $cacheId['category_path'] = $this->getCurrenCategoryKey(); $cacheId['short_cache_id'] = $shortCacheId; return $cacheId; }
Is this relevant?