How to change default port 80 to some other port in wordpress


Changing word press URL from port 80 to another port

Sometimes it becomes necessary to change the site ULR from the default http port which is port 80 to some other port number, for example if port 80 is used by some other applications.

To do this in word press, first we have to change the port number of our webserver/apache (if you are using apache)as it should be similar to the one used by word press.

To change port number in apache, go to directory C:\wamp\bin\apache\apache2.4.9\conf and open httpd.conf, then  edit the following entries









To




And also






To

 
  

Next you need to change the same in word press, for word press to use the same port.
1. Open phpmyadmin
2. Go to wordpress database and click on the table









3. Change the following two rows and you are done!



Thank you!



No comments:

Post a Comment