Site redirection

Discussion in 'Free Hosting' started by nathan634282, Dec 11, 2011.

Thread Status:
Not open for further replies.
  1. nathan634282

    nathan634282 New Member

    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    I'm trying to redirect http://www.serv.x10.bz to http://www.serv.x10.bz/wp.

    I already used the .htacess file like this

    HTML:
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^(www.)?serv.x10.bz$
    RewriteCond %{REQUEST_URI} !^/wp/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ /wp/$1
    RewriteCond %{HTTP_HOST} ^(www.)?serv.x10.bz$
    RewriteRule ^(/)?$ wp/index.php [L]
    ErrorDocument 404 /wp/?page_id=5
    but it doesn't show pages like http://www.serv.x10.bz/wp-login and stuff like that.
    Is there a way to do it via .htacess? or do I have to upload wordpress to the root?

    BTW my 404 redirection isn't working either :confused:
     
  2. Derek

    Derek Community Support Force Community Support

    Messages:
    12,882
    Likes Received:
    186
    Trophy Points:
    63
    Have you tried using the redirection option in the cPanel? There should be a button once you have logged into your cPanel that says "Redirection".
     
Thread Status:
Not open for further replies.

Share This Page