Allabouthemoney Posted March 21, 2011 Share Posted March 21, 2011 Salutare,Tocmai am instalat ultima versiunde de prestashop si am 2 probleme pe care nu am reusit sa le rezolv:1. home page url este domeniu.net/en - as dori sa fie www.domeniu.net2. in toate url urile fie ele pagina de produs sau categorie se regaseste "en" (de la language pack) aveti idee cum as putea scapa definitiv de el? (nu doresc sa traduc site ul in romana este ok sa ramana in engleza dar fara "en" in url uri)Va multumesc anticipat pentru suport! Link to comment Share on other sites More sharing options...
teo_g Posted March 22, 2011 Share Posted March 22, 2011 Modifica in .htaccess:RedirectMatch 301 /en(.*) //$1 Link to comment Share on other sites More sharing options...
Allabouthemoney Posted March 23, 2011 Author Share Posted March 23, 2011 Am cautat in fisier si nu exista nicio expresie de forma RedirectMatch ... Am adaugat RedirectMatch 301 /en(.*) //$1 in fisier si nu s-a mai incarcat site-ul deloc Multumesc pentru ajutor dar se pare ca ori nu functioneaza ori fac eu ceva gresit... Link to comment Share on other sites More sharing options...
Abh Posted March 23, 2011 Share Posted March 23, 2011 pe versiunile mai vechi de 1.4.x.x nu poti scapa de chestia asta. fa upgrade la 1.4 Stable si acolo daca nu ai decat o limba iti scoate automat acel /ro/ din cate tin minte. In cel mai rau caz exista ceva optiune prin BO. Link to comment Share on other sites More sharing options...
Allabouthemoney Posted March 24, 2011 Author Share Posted March 24, 2011 Am 1.4 stable si a mers sa sterg toate celelalte limbi si automat a scos "en" - ul din urluri.A mai ramas de redirectat de la domeniu.net - la - www.domeniu.net...Multumesc pentru sprijin si poate ma poti ajuta si cu asta iti raman recunoscator oricum.O zi frumoasa! Link to comment Share on other sites More sharing options...
Abh Posted March 24, 2011 Share Posted March 24, 2011 RewriteCond %{HTTP_HOST} ^example.comRewriteRule (.*) http://www.example.com/$1 [R=301,L] Link to comment Share on other sites More sharing options...
Allabouthemoney Posted March 24, 2011 Author Share Posted March 24, 2011 Nu vrea nici de-al dracu sa mearga.... se vede in browser ca redirecteaza catre www.domeniu.net dar nu se incarca pagina... am sters cookie urile am incercat cu browsere diferite tot nu vrea Link to comment Share on other sites More sharing options...
Abh Posted March 24, 2011 Share Posted March 24, 2011 incearca asta:Options +FollowSymlinksRewriteCond %{http_host} ^example.com [nc]RewriteRule ^(.*)$ http://www.example.com/$1 [r=301,nc] Link to comment Share on other sites More sharing options...
Allabouthemoney Posted March 24, 2011 Author Share Posted March 24, 2011 nop nici de data asta nu a luat-o te ar ajuta daca ti-as arata continutul fisierului .htaccess? Multumesc seara buna! Link to comment Share on other sites More sharing options...
Abh Posted March 25, 2011 Share Posted March 25, 2011 mai bine imi dai un mesaj pe privat cu adresa siteului si un id de instant messenger. Link to comment Share on other sites More sharing options...
contractor Posted June 11, 2011 Share Posted June 11, 2011 Cam tarziu, dar se pare ca si eu am aceeasi problema cu redirect 301 de la site.ro/ro la site.ro. Ajutati-ma cu o regula de redirect fiabila . Link to comment Share on other sites More sharing options...
DarkLucas Posted June 15, 2011 Share Posted June 15, 2011 Incearca si scrie in .htacces codul de mai jos, si inlocuieste cu adresa site-ului tau.La mine merge, asa e trecut, si functioneaza perfect. RewriteCond %{HTTP_HOST} ^www.autopyramis.ro$ [NC] RewriteRule ^(.*)$ http://autopyramis.ro/$1 [R=301,L] De preferabil punel inate de linia asta: # URL rewriting rules. Link to comment Share on other sites More sharing options...
contractor Posted June 16, 2011 Share Posted June 16, 2011 Am rezolvat cu urmatorul codRedirectMatch 301 /ro/(.*) //$1Mersi oricum! Link to comment Share on other sites More sharing options...
seoromania Posted June 18, 2011 Share Posted June 18, 2011 ma ajuta si pe mine cineva sa fac link frendly la url din .htaccess ? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now