Change directory wordpress

Hello, I am new to the forum.

I just launched a micro instance in aws with bitnami lamp.

Install wordpress and it works perfectly. but I want the wordpress to be in the main directory that is to say http://WORDPRESSHERE.COM

since the installation was done at http://myweb.com/wordpress and here I do not need it

regards
Thank you

Hi @oyeandres,

Thanks for using Bitnami. If the main reason to start the instance is to use wordpress, I would recommend using the wordpress cloud image as it is prepared to serve the site from the root of the domain and includes additional tools.

The wordpress you have installed over lamp, has been installed using a Bitnami installer?

Regards,

Andres R.

thank you for your answer, I commented, the installation of wordpress made from the ssh with the modules offered by bitnami … the reason why use lamp, is because install whmcs., and add ioncube to work at 100

thank you very much

Hi @oyeandres,

You can also move your WordPress installation to the root path using the bnconfig tool.

cd /opt/bitnami/apps/wordpress/
sudo ./bnconfig --appurl /

Take into account that this command only works one time to move the application from /wordpress to /.

I hope it helps,
Tomas

1 Like

Than you very much for you response

I’m new, I do not have much knowledge in bitnami

I have a question which is --appurl /

thank you for you time

best
Andres

Hi @oyeandres,

With --appurl / you specicify that the path of wordpress should root (/), which means it’s shown right when you request your domain name.

Regards,

Andres R.

Now I have another problem. When I change the wordpress to the root I can no longer access a subfolder that has nothing to do with wordpress.

What did I do wrong?

It is assumed that whcms should enter the system at the following address:
http://18.213.39.139/clientes/

check if the files were deleted but not deleted. are still on the server

Hi @oyeandres,

We will need to take a look at the configuration. We have a Support Tool that will gather relevant information for us to debug the issue. Could you please download and execute it on the machine where the stack is running by following the steps described in the guide below? You must click on the platform or cloud that you are using to find the correct instructions.

How to Run the Bitnami Support Tool

Please note that you need to paste the code outputted by the tool in your reply.

Regards,

Andres R.

Hi Andres, thak you very much for you help…next I write you the code that the system threw.

thank you.

6d52960c-e823-ca3c-c3a0-e17bcb968783

best
Andres

Hi @oyeandres,

To make the clientes apps routable you should edit the /opt/bitnami/apache2/conf/bitnami/bitnami-apps-prefix.conf and before the line Include "/opt/bitnami/apps/phpmyadmin/conf/httpd-prefix.conf", add the following:

    Alias /clientes/ "/opt/bitnami/apache2/htdocs/clientes/"
    Alias /clientes "/opt/bitnami/apache2/htdocs/clientes"

Regards,

Andres R.

wow great, perfection works …

I have just one more question. If I want to have access to another folder, do I have to do the same?

I just change the name of the folder ??

Thank you so much for all your help…

Hi @oyeandres,

Exactly, just add the equivalent two Alias lines.

Regards,

Andres R.

thank you very much.

you helped me a lot

GRACIAS AMIGO!!!

Hi @oyeandres,

Thank you. Do not hesitate to open another topic if you find any other issue.

Regards,

Andres R.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.