1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

RewriteBase and RewriteRule for a subdirectory and SEO

Discussion in 'White Hat SEO' started by bobrock4, Dec 28, 2012.

  1. bobrock4

    bobrock4 Newbie

    Feb 11, 2012
    Likes Received:
    I have used a test subdirectory to install a wordpress platform. When I have asked to move everything to the root they have made some in rewrite urls

    [COLOR=#ffff00]<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /test_sito/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /test_sito/index.php [L] 
    The rules are working but I'm not sure this is the good way for SEO.

    Have you an idea about it?

    Thanks and ciao