V
V
valeriy_good2020-08-24 09:38:07
htaccess
valeriy_good, 2020-08-24 09:38:07

How to remove '/wordpress' from the domain and so that the site opens without errors?

I made a WordPress site using the elementor plugin on the local openserver server. When I open a site by domain, the path contains "site_name/wordpress". How can I make the path just "site_name"?

File structure:
5f43602fd5693786382914.png

In the root .htaccess everything is standard. All changes - logically - are overwritten.
5f435e8527fb5988117363.png

Answer the question

In order to leave comments, you need to log in

4 answer(s)
V
Vladimir Druzhaev, 2020-08-24
@OtshelnikFm

Throw out the openserver. Transfer to normal hosting. Do not upload the engine to the wordpress folder

A
aidarDev, 2020-08-24
@aidarDev

Remove /wordpress/ from RewriteBase and put just /
Same for RewriteRule: /index.php [L]

V
valeriy_good, 2020-08-24
@valeriy_good

Solution:
1) In the general settings of the admin panel, specify the desired path
5f43672b0ea5e782166750.png
2) Move the site from the wordpress folder to the root, delete the folder
3) Clear the hard cache in the browser

O
Orkhan Hasanli, 2020-08-24
@azerphoenix

Read this documentation - https://wordpress.org/support/article/giving-wordp...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question