Possible solutions of your questions

  hosting
<< Previous       301 redirect

Question: Hello.Email me a code please for .htaccess to 301 redirect all pages type http://www.useron.ru/blog-na-zakaz.html all pages of type http://useron.ru/blog-na-zakaz.html (with www, without www).That is, all pages with the www must be routed to without www.Сейчас I have only redirects the main page, and I want redirecting all pages.Write and where to put the code, but rather in what place in the code in the file.And even better if you have made changes to .htaccess.
Answer:

Hello.

the Redirect has been already specified in your file .htaccess:

RewriteCond %{HTTP_HOST} ^www\\.site\\.ru$ [NC]
RewriteRule ^(.*)$ http://site.ru/$1 [R=301,L]

what you have difficulties?

Answer:

you Have also specified the redirect on file index.php what is it To you?

Answer:

Here is a guide to 301 redirect in Joomla: http://lelik.org.ua/seo/56-nastrojka-v-cms-joomla-301-redirekta-www-i-bez-www.html

Question: Redirect index.php - it`s probably a plugin which removes thus the 404 error that would have no duplicate pages.This guide is written how to do a redirect only home page. I need when typing the page address with www, there was a redirection to the same page but without www.
Answer:

You redirect is working, check: http://www.useron.ru/zarabotok-v-internete.html

Question: Yes, it works, just do not understand why do not work?Here is given a 404 http://www.useron.ru/blog-na-zakaz.html
Answer:

Clear the cache of the brother.

Question: Exactly worked.Thank you very much.What did you do?
Answer:

we did you cleared cache?

Question: Yes.
Question: Everything works, thank you.
Answer:


OK

Answer:

I was salmeterol you in the file .htaccess block part:

## Begin - Rewrite rules to block out some common exploits.
# If you experience problems on your site block out the operations listed below
# This attempts to block the most common type of worm `attempts` to Joomla!
#

...

#
## End - Rewrite rules to block out some common exploits.

Without it, the redirect works.


<< Previous