나는 내 웹 사이트의 장바구니로 prestashop을 사용하고 있습니다. 나는 문제가있다. 동적 URL에 있던 웹 사이트. 나는 친절한 URL 쓰기를 가능하게했다. 문제는 한 페이지에 두 개 이상의 URL이 있다는 것입니다. 동적 URL 및 고정 URL에서 동일한 페이지에 액세스 할 수 있습니다. 사실 한 페이지에는 9 개의 다른 URL이 있습니다. 이것은 seo에 대한 문제를 분명하게 만듭니다. 검색 엔진은 내 웹 사이트에 불이익을줍니다.한 페이지에 두 개 이상의 URL이 있습니다. 검색 엔진은 형벌을줍니다. 나를 도와주세요.
이 문제를 해결하려면 어떻게해야합니까? 프로그래밍에 대한 지식이 없습니다.
다음은 웹 사이트의 htaccess입니다. 모든 샘플 코드 또는 도움말은 정말 감사하겠습니다.
# URL rewriting module activation
RewriteEngine on
# URL rewriting rules
RewriteRule ^([a-z0-9]+)\-([a-z0-9]+)(\-[_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)\.jpg$ /img/p/$1-$2$3.jpg [L,E]
RewriteRule ^([0-9]+)\-([0-9]+)/([_a-zA-Z0-9-]*)\.jpg$ /img/p/$1-$2.jpg [L,E]
RewriteRule ^([0-9]+)(\-[_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)\.jpg$ /img/c/$1$2.jpg [L,E]
RewriteRule ^lang-([a-z]{2})/([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$3&isolang=$1$5 [L,E]
RewriteRule ^lang-([a-z]{2})/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$2&isolang=$1$4 [L,E]
RewriteRule ^lang-([a-z]{2})/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /category.php?id_category=$2&isolang=$1 [QSA,L,E]
RewriteRule ^([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$2$4 [L,E]
RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$1$3 [L,E]
RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /category.php?id_category=$1 [QSA,L,E]
RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /cms.php?id_cms=$1 [QSA,L,E]
RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*)(.*)$ /supplier.php?id_supplier=$1$3 [QSA,L,E]
RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*)(.*)$ /manufacturer.php?id_manufacturer=$1$3 [QSA,L,E]
RewriteRule ^lang-([a-z]{2})/(.*)$ /$2?isolang=$1 [QSA,L,E]
# Catch 404 errors
ErrorDocument 404 /404.php
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^***.com [NC]
RewriteRule ^(.*)$ http://www.***.com/$1 [L,R=301]
Options +FollowSymLinks
RewriteEngine on
# index.php to/
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /.*index\.php\ HTTP/
RewriteRule ^(.*)index\.php$ /$1 [R=301,L]
Header set Cache-Control: "no-store, no-cache, must-revalidate, pre-check=0, post-check=0, max-age=0"
여기서 htaccess 코드를 살펴보십시오. 이 전체 버전을 표시하므로 http://stackoverflow.com/questions/3042025/one-page-has-more-than-one-url-search-engines-give-penalty-please-help-me-out –