Jump to content
Sign in to follow this  
mad23e_marius

[REZOLVAT] Cu sau fara www.

Recommended Posts

As dori sa stiu cum ati rezolvat problema cu prestashop pentru adresa site-ului, mai exact cum se poate modifica .htaccess-ul pentru a putea accesa site-ul numai cu www.domeniu.x sau numai domeniu.x eventual o redirectare 301 pentru domeniu.x catre www.domeniu.x pentru a putea scapa de penalizarea motoarelor de cautare.

Share this post


Link to post
Share on other sites

introduci asta in htaccess

si schimbi domeniu cu al tau

astfel "fortezi" linkurile sa afiseze www


# URL rewriting module activation
RewriteEngine on
RewriteCond %{HTTP_HOST} ^domeniu.ro
RewriteRule ^(.*)$ http://www.domeniu.ro/$1 [R=301,L]

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More