.htaccess - one page over 9 different urls -


I am using Prestashop as a cart for my site. I have a problem; Website is used in dynamic url. I enabled friendly URL writing. The problem is that one page has more than one URL, you can access the same URL from the dynamic url and static url. Actually there are 9 different URLs in one page. It clearly creates problems for SEO because search engines punish my website for it.

Here are examples of more than 2 URLs

() () ()

You can see here that the static url has 2 languages ​​defined and the other Has been defined unconditionally. Right below is one for the top three urls.

What can I do to solve this problem? I have no knowledge of programming.

Here is the HTAC for the website. Any sample code or help is actually appreciated.

550 pages and each page is published in 17 different languages. I want to use a 301 auto redirect. What is the easiest way to do this? I have no idea of ​​coding. Rewrite # URL (^ [a-z0- 9] +) \ - ([a-z0- 9] +) (\ - [_ a-zA] - Rewrite # URL to rewrite the URL # -Z0-9 -] *) / ([_ a-zA-Z0-9 -] *). Jpg $ /img/p/$1-$2$3.jpg ^ [[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] revised rules ^ lang - ([az] {2}) / ([a-zA-Z0-9 -] *) / ([0- 9] +) \ - ([A-zA-Z0-9 -] *). Html (. *) $ /product.php?id_product=$3&isolang=$1$5 [L, E] revised rules ^ lang - ([az] {2}) / ([0- 9] +) \ - ( [A-zA-Z0-9 -] *). Html (. *) $ /product.php?id_product=$2&isolang=$1$4 [l, e] rewriting ^ lang - ([az] {2} ) / ([0-9] +) \ - ([a-zA-Z0-9 -] *) (. *) $ / Category.php? Id_category = $ 2 & Amp; 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] revised rule ^ ([0- 9] +) \ - ([a-zA-Z0-9 -] *) \. HTML (. *) $ /product.php?id_product=$1$3 [L, E] Rev. Raul ^ ([0- 9] +) \ - ([A-GA-Z-9-] *) (. *) $ /category.php?id_category = $ 1 [QSA, L, E] revised rules ^ content / ([0- 9] +) \ - ([a-zA-Z0-9 -] *) (. *) $ / Cms.php? Id_cms = $ 1 [QSA, L, E] REVIRATE RULES ^ ([0- 9] +) __ ([a-zA-Z0-9 -] *) (. *) $ / Supplier.php? Id_supplier = $ 1 $ 3 [QSA, L, E] revised rule ^ ([0- 9] +) _ ([a-zA-Z0-9 -] *) (. *) $ / Manufacturer.php? Id_manufacturer = $ 1 $ 3 [Ksa, l, e] revised rules ^ lang- ([ag] {2}) / (. *) $ / $ 2? Isolong = $ 1 [QSA, L, E] # Catch 404 errors error document 404 / 404.php option + follow link reverted on to revoke% {HTTP_HOST} ^ ** *. Com [NC] revised rule ^ (. *) $ Http: [AGED] {3} Index \ .php \ HTTP / RewriteRule ^ (. *) Index \ .php $ / $ 1 [R = 301, L] Header Set Cache-Control: "No-Store, No-Cash, Re-Modified, Pre-Check = 0, post-check = 0, max-age = 0 "


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -