3
I would like to change the directory name /wp-admin/
for example /admin/
in Wordpress, however I have no idea how to do this the right way. I see that this type of change is not very common.
I would also like to change some Wordpress Urls that are in English and pass them to Portuguese.
Ex:
To create a new Post:
meusite.com/wp-admin/post-new.php
To create a new Page:
meusite.com/wp-admin/post-new.php?post_type=page
These are some examples.
The right thing would be:
To create a new Post:
meusite.com/wp-admin/novo-post.php
To create a new Page:
meusite.com/wp-admin/novo-post.php?post_tipo=pagina
I wanted some solution that would allow me such functionality, preferably Plugins.
Short answer: give up, it is impossible. A long answer needs a lot of research; something you can do, but not too much and not without a headache.
– brasofilo
Because it is @brasofilo I also thought it would not be very easy.
– Alexandre Lopes
At least the
/wp-admin/
is already good size, :/– Alexandre Lopes
If I remember correctly, if you are using Apache and have full control of vhost, it is possible if you get something like this using Redirects. One of the possible types of redirects does so on the server itself, without sending any HTTP code to the client and therefore without changing the displayed URL. The problem then would be to link the pages generated by wordpress to the translated version. My only suggestion in this sense is to include a Javascript in every page that "scans" the entire HTML replacing the destination of the links according to a mapping. Possible, yes, but not recommend...
– mgibsonbr
You can create a rule with HTACCESS to access the url
/admin/
keeping the folder/wp-admin/
, but renaming the folder I think complicates by the 'mechanics' of WP, as well as changing the Urls.– Papa Charlie