Jump to content

Recommended Posts


Столкнулся с проблемой, после переезда (смены настроек, редактирования категорий и др) появилось количество ошибок 404 в вебмастере Гоши персон на 100.. в общем уже часов 6 парюсь с Redirect'ом, посмотрел много тем тут, увы, ничего не помогает. Что делать? какие-то ссылки смог сделать сам редирект, а на некоторые никак.


Итак, какие ссылки надо перенаправить (несколько типов):

1) http://site.ru/chehly/kate-spade-3in1-plastic-case-for-iphone-4%2F4s.html/ на http://site.ru/chehly/covers-for-iphone4-4s/plastic-covers-for-iphone-4-4s/kate-spade-cover.html .

2) index.php?route=product/manufacturer/product&manufacturer_id=7 на site.ru/proizvoditel.html.


То есть:

1) html на html

2) производитель на производитель.html

3) site.ru/covers/covers-for-iphone на site.ru/chehly/covers-for-iphone


То есть, иногда я менял названия категорий, иногда товаров, так же производителей это коснулось. Может есть нормальные сайты? (или темы с решением), где всё нормально описано. В большинстве тем на бум угадывают. Или может модули есть соответствующие?


Мой htaccess:

ErrorDocument 404 http://buy-apple.org/error404/404.html'>http://buy-apple.org/error404/404.html

Options +SymLinksIfOwnerMatch

Options -Indexes

# Prevent Direct Access to files
<FilesMatch "\.(tpl|ini|log)">
 Order deny,allow
 Deny from all

<FilesMatch "alcotec\.log">
 Allow from all

# SEO URL Settings
RewriteEngine On

RewriteBase /

RewriteRule ^accessories-for-apple/accessories-for-iphone3g-3gs/$ http://buy-apple.org/aksessuary-apple/accessories-for-iphone3g-3gs'>http://buy-apple.org/aksessuary-apple/accessories-for-iphone3g-3gs [R=301,NC,L]
RewriteRule ^covers/covers-for-ipad-mini/$ http://buy-apple.org/chehly/covers-for-ipad-mini'>http://buy-apple.org/chehly/covers-for-ipad-mini [R=301,NC,L]
RewriteRule ^accessories-for-apple/accessories-for-iphone3g-3gs/chargers-for-iphone-3g-3gs/$ http://buy-apple.org/aksessuary-apple/accessories-for-iphone3g-3gs'>http://buy-apple.org/aksessuary-apple/accessories-for-iphone3g-3gs/chargers-for-iphone-3g-3gs [R=301,NC,L]
RewriteRule ^(.*)news$ http://buy-apple.org/ [R=301,L]
RewriteRule ^action/$ voprosy-otvety.htm [R=301,NC,L]
RewriteRule ^delivery/$ dostavka-oplata.htm [R=301,NC,L]
RewriteRule ^contacts/$ kontacty.htm [R=301,NC,L]

RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
RewriteRule ^download/(.*) /index.php?route=error/not_found [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]

### Additional Settings that may need to be enabled for some servers 
### Uncomment the commands by removing the # sign in front of it.
### If you get an "Internal Server Error 500" after enabling any of the following settings, restore the # as this means your host doesn't allow that.

# 1. If your cart only allows you to add one item at a time, it is possible register_globals is on. This may work to disable it:
# php_flag register_globals off

# 2. If your cart has magic quotes enabled, This may work to disable it:
# php_flag magic_quotes_gpc Off

# 3. Set max upload file size. Most hosts will limit this and not allow it to be overridden but you can try
# php_value upload_max_filesize 999M

# 4. set max post size. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
# php_value post_max_size 999M

# 5. set max time script can take. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
# php_value max_execution_time 200

# 6. set max time for input to be recieved. Uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
# php_value max_input_time 200

# 7. disable open_basedir limitations
# php_admin_value open_basedir none

Redirect 301 /kate-spade-3in1-plastic-case-for-iphone-4%2F4s.html http://buy-apple.org/chehly/covers-for-iphone4-4s/plastic-covers-for-iphone-4-4s/kate-spade-cover.html/

AddCharset utf-8 .js
addDefaultCharset utf-8 

Извиняюсь, что в сотый раз поднимаю эту тему, просто не нашёл толкового решения проблемы.


p.s. не против, если кто-то за деньги возьмётся за эту работу. Спасибо.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.


Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.