Site redirection

Status
Not open for further replies.

nathan634282

New Member
Messages
10
Reaction score
0
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:
 

Derek

Community Support Force
Community Support
Messages
12,882
Reaction score
186
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".
 
Status
Not open for further replies.
Top