elearn
By:
elearn

Why 127.0.0.1:8080/wp jump into 127.0.0.1/wp automatically?

September 19, 2015 1.3k views
Apache WordPress

My wordpress was built on 80 port of apache2.
Now i change apache2 configuration file,to make port 80 into 8080, everytime i input 127.0.0.1:8080/wp in the firefox ,it jump into 127.0.0.1/wp automatically, in order to visit my post,i have to input url in the form of http://127.0.0.1:8080/wp/?p=1938 ,it will not jump into http://127.0.0.1/wp/?p=1938,i wander what result in the jump from 127.0.0.1:8080/wp into 127.0.0.1/wp .
it is the cache in apache or cache in firefox?If it is the cache in apache that result in the fact,how to close the cache function in apache2(in debian8)?

1 comment
  • Hi there,

    There shouldn't be a need to edit ports. In your database, you simply need to update:

    site_url
    home_url 
    

    The options can be found in the wp_options table. Let me know if you require anything else.

    edited by asb
1 Answer

This question was answered by @Archie22is:

Hi there,

There shouldn't be a need to edit ports. In your database, you simply need to update:

site_url
home_url 

The options can be found in the wp_options table. Let me know if you require anything else.

View the original comment

Have another answer? Share your knowledge.