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