A
A
Ambal892017-03-15 14:33:52
htaccess
Ambal89, 2017-03-15 14:33:52

Can't navigate to created pages in WordPress?

Good afternoon! Please tell me, the situation is as follows:
There was a website on WordPress, I needed an English version, I took the site and copied it to the folder namesite.ru/en. But the created pages are no longer visible on the new site. The main page works as it should, but when you go to other pages, it says: page not found. Everything is displayed in the admin panel, all links to pages with the en/ subdirectory, everything is as it should be, I click "go" - the page was not found. What can be wrong? .htaccess is standard WordPress.
upd: Now I checked on the records - everything is fine with them, it goes as it should. It turns out the problem is only with the pages.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Ambal89, 2017-03-15
@Ambal89

Understood. You need to add the name of the subdirectory to .htaccess.
if it was originally

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

# END WordPress

what needs to be done
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /en/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /en/index.php [L]
</IfModule>

# END WordPress

V
Vasya Petrov, 2017-03-15
@VasyaPertrov

need english version

There are multilingual plugins for this.
But to do so - to have problems.
If you really want another site, you create a subdomain OUTSIDE the main directory.
And the site is not only files, but also a base. Naturally, you need to edit the configs, but did not copy everything.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question