Redirect

Home › Forums › All Other Themes › Redirect

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #238808
    FORMAFORMA
    Participant
    • Topics: 12
    • Replies: 16
    • Total: 28
    Member since: January 2, 2016

    Hi
    i would like to permanetly redirect all the traffic to the page https://seasolargroup/it to the website https://seasolar.it
    Someone suggested me to modify the htaccess file.
    Can you suggest the correct way to do it.
    Thanks in advance

    solar-energy-pro-6.0
    website seasolargroup.com
    qTranslate-XT Version 3.8.1

    #238812
    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31751
    • Total: 31751
    Member since: August 16, 2013

    Hi,

    Kindly add given code in .htaccess file to redirect your old site url “https://seasolargroup/it” to “https://seasolar.it”

    RewriteEngine On

    RewriteCond %{HTTP_HOST} ^(www\.)?seasolargroup\.com$ [NC]
    RewriteRule ^it/?(.*)$ https://seasolar.it/$1 [R=301,L]

    NOTE: First, create a backup of the .htaccess file.

    Regards,
    Dave

    #238841
    FORMAFORMA
    Participant
    • Topics: 12
    • Replies: 16
    • Total: 28
    Member since: January 2, 2016

    Well done. Redirect is working

    #238842
    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31751
    • Total: 31751
    Member since: August 16, 2013

    🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.