Jump to content

Redirectionare 301 Director Catre Root Domain Cu .htaccess


Recommended Posts

Posted

Daca doriti sa redirectionati un director catre domeniul root (ex: www.domeniu.ro) cu ajutorul fisierului .htaccess, ca de exemplu: pctroubleshooting.ro/forum catre pctroubleshooting.ro, introduceti liniile de mai jos in fisierul dumneavoastra .htaccess:

RedirectMatch 301 ^/forum/$ http://pctroubleshooting.ro/

sau, in folder-ul forum, creati un fisier .htaccess care sa contina urmatoarele linii:

RewriteEngine On

RewriteRule ^.*$ / [R=301,L][/code]

Succes :pct2: !

Te-ai inregistrat? Ne-ar placea sa te prezinti.

Cum pot sustine forumul?
Cumpara de la eMag folosind acest link.
--------------------
oG2BN9d.gifse1WdXd.gifQG6MtmI.gifRHYjDzD.gifG5p1wui.gif

  • 3 years later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.