A
A
Anton Natarov2016-04-02 13:13:04
PHP
Anton Natarov, 2016-04-02 13:13:04

Wordpress how to configure htaccess on a subfolder?

Good afternoon, please tell me how you can set up Htaccess on a subfolder.
on the host, the files are in such a directory
www.site.ru/ demo/
or so on the local I moved to check how to work with under the folder.
localhost/ demo/
Initially put on this address
demo - is local.
I'm not very familiar with WP, but maybe when installing it, it prescribes its exact addresses? For if I enter www.site.ru/demo/wp-admin it redirects to the old address.
those. demo/wp-admin.
current htaccess

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /demo/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /demo/index.php [L]
</IfModule>
# END WordPress

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Ninja Mate, 2016-04-02
@HanDroid

here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question