How to change links in header and footer?

Hi,

I have a blog here: http://www.hotelsindie.com/discover-india/ which we are about to launch, but for some reason I am unable to change the link to correct url like this one:back-to-hotelsindie-button, this button currently points to http://www.hotelsindie.com/beta, but I want it to point to http://www.hotelsindie.com. I have tried and edited the header-extensions file in structure folder of the theme but no luck.

Header code:

<div class="container clearfix">
		<div class="hgroup-wrap clearfix">
					<section class="hgroup-right">
						<div>
							<?php travelify_socialnetworks( $flag ); ?>
						</div>
						<div>
							<a class="pull_right see_blog" href="http://www.hotelsindie.com/">	
								<i></i>Back to Hotelsindie.com
							</a>
						</div>
					</section><!-- .hgroup-right -->
					<div class="header-add">
						
					</div>

And I am facing the problem with the footer, where I am trying to edit the footer links to correct urls but same problem you look at this image: hotels-indie-discover-india-blog-footer-links. Here also I edited the footer-extensions file in structure folder of the theme but no luck.

Footer code:

function travelify_footer_rightinfo() {
		echo '<div class="footer-right">';
		echo "<div class='legal'>
						<ul>
							<li><a href='http://www.hotelsindie.com/about-us.html'>About Us</a></li>
							<li><a href='http://www.hotelsindie.com/contact-us.html'>Contact Us</a></li>
							<li><a href='http://www.hotelsindie.com/privacy-and-cookie-policy.html'>Privacy & Cookie Policy</a></li>
							<li><a href='http://www.hotelsindie.com/terms-and-conditions.html'>Terms & Conditions</a></li>
							<li><a href='http://www.hotelsindie.com/sitemap.html'>Sitemap</a></li>
							<li><a href='http://search.hotelsindie.com/?mobile=1' target='_blank'>Mobile</a></li>
							<li class='last'><a href='javascript:void( window.open('https://secure.jotform.me/form/42400871407448', 'blank','scrollbars=yes,toolbar=no,width=700,height=500'))'>Add Your Hotel</a></li>
						</ul>
						</div>";
		echo '</div>';

Could someone please help in solving this issue, I will be really grateful.

Best,

Ankit Yadav

There might be two things:

  1. Cache. Make sure to clean Super Cache and also try to open any post/page for editing and just hit update to clean WordPress default cache.
  2. This one is might sound stupid but I have been there, so it does happen. Make sure that you are editing this theme on the right server or you are editing files on the right folder. The thing is that maybe you are accessing server where is the same folder structure or the same theme installed and you are just trying to make changes on one site but you are actually editing completely different one. Believe me this does happen :slight_smile:

I would vote that this is cache issue but I wouldn’t be surprised that you are editing the right files but in the wrong place either :slight_smile:

There can’t be other thing involved as you have wrote a plain HTML which can be edited on the fly only with some JavaScript but there aren’t any on your website.