M
M
miadiva2018-02-01 07:39:48
Joomla
miadiva, 2018-02-01 07:39:48

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>

Please, help! How to fix?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
Hosting Yaroslavl, 2018-02-06
@yarhosting

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 question

Ask a Question

731 491 924 answers to any question