Tip:
Highlight text to annotate it
X
Positioning and optimization of websites based on Jooma 3
Part III, with www or without www
my company page has the prefix www.
For search engines, especially Google, the Web page with www is a very different page than without www
it is neccessairy to decide whether we use the prefix www or we don't
For SEO does not matter what you choose, do it as it is conventional in your country
I have chosen the address with www
Whenever somebody enters the address without www will be redirected to the proper site anyway
It will show you how to do it
unfortunately we do not do this in the background of our site, we need to edit the file dot htaccess
copy our file to your computer and open it for editing
This is the htaccess file after opening
Here we need to paste this code
It means that the domain with www
will be redirected to the domain without WWW
so if we do not want our website to have the www prefix , we need to replace the word domena.com with the name of our domain
It should look like in the case of domain youandjoomla.com
then we shall copy the changed file to the server
replace the old file
Let's see how it works
Super, now we have only one version of the site without www.
This is the look of the code in case when we withdraw the www prefix,
This is the code where you want to have the prefix www. Remember to enter your domain there
In the next section I will show you, where does this part of the address come from and I will answer how to change it