By elearn
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)?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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_urlThe options can be found in the
wp_optionstable. Let me know if you require anything else.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.