dvir Posted December 11, 2018 Share Posted December 11, 2018 hi , i have a problem that i can't find solution to it, hope someone could help me here : my homepage is https://www.cdsoft.co.il , but it redirects to https://www.cdsoft.co.il/index.php. That's fine but the problem is https://www.cdsoft.co.il/index.php has a canonical tag pointing to https://www.cdsoft.co.il/... i've looked in my header.tpl file , and i have found this : {if isset($canonical_url) && $canonical_url}<link rel="canonical" href="{$canonical_url}" />{/if} what to do ? how can i exclude my homepage ? Link to comment Share on other sites More sharing options...
El Patron Posted December 13, 2018 Share Posted December 13, 2018 most often we do not want to display domain/index.php but just domain... also we often do not want to display .html at end of a URL I recommend modifying your hosting environment to suppress /index.php display. this might solve issue there are various ways to do this, easiest is to contact hosting else google how to suppress index.php from url Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now