• Hello,

    I changed the site url from lepinia.it/home to lepinia.it

    the site is working fine, but the links on google that refer to lepinia.it/home are now broken and gives me error 404

    I followed the wordpress guide copying the index.php in /home to the root directory

    this is my actual htacess on the root , (wordpress is installed on /home folder)

    RewriteEngine On #created by aruba do not touch this file!
    #ATTENTION: Remove file index.(php|html|htm)
    RewriteCond %{REQUEST_URI} !^/realestate
    RewriteCond %{REQUEST_URI} !^/home
    RewriteCond %{REQUEST_URI} !^/agenzia
    RewriteRule ^(.*)$ home/$1 [L]

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘from lepinia.it/home to lepinia.it , how to redriect existing links on google?’ is closed to new replies.