Closed Thread
Results 1 to 2 of 2

Thread: Site redirection

  1. #1
    nathan634282 is offline x10Hosting Member nathan634282 is an unknown quantity at this point
    Join Date
    Dec 2011
    Posts
    6

    Exclamation Site redirection

    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 Code:
    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

  2. #2
    Derek is offline Community Support Force Derek is a splendid one to beholdDerek is a splendid one to behold
    Join Date
    May 2005
    Location
    cossacks
    Posts
    6,354

    Re: Site redirection

    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".

Closed Thread

Similar Threads

  1. Site redirection
    By illuminati_2k in forum Free Hosting
    Replies: 5
    Last Post: 03-21-2011, 07:11 AM
  2. Problem redirection to default web site page
    By erniet in forum Free Hosting
    Replies: 6
    Last Post: 08-03-2010, 01:28 AM
  3. Redirection...
    By emedia.jake33 in forum Free Hosting
    Replies: 3
    Last Post: 06-13-2010, 01:38 AM
  4. Redirection!
    By amruthp09 in forum Free Hosting
    Replies: 2
    Last Post: 11-08-2009, 12:06 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers