Answer the question
In order to leave comments, you need to log in
How to restore index.php on Joomla?
Hello. I wanted to add analytics code to the site and broke the site.
For some reason, when saving a file, a dash is added to the tags:
<l-ink href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template ?>/css/layout.css" rel="stylesheet" type="text/css" />
<s-cript type="text/j-avascript" src="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/superfish/js/hoverIntent.js"></script>
Answer the question
In order to leave comments, you need to log in
1. download the installation file from the official site joomla.org.
2. Extract index.php from there and replace your current file.
and what you do is usually done in the site template file
site.rf/templates/template/index.php
or added as a separate module
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question