bdkjones / CodeKit2

CodeKit 2 Beta
98 stars 4 forks source link

Port 80 still getting redirected to 5757 after turning codekit off #582

Open tolgaek opened 8 years ago

tolgaek commented 8 years ago

I need to access my old rules but since installing and using codekit, my port is always getting redirected to 5757

bdkjones commented 8 years ago

Unless you edited your hosts file to set that up, there is no way for that to happen.

CodeKit never redirects anything; if you go to http://localhost:80 in your browser, CodeKit has nothing to do with that. CodeKit is a proxy server only.

Whatever is causing this is not CodeKit.

Sent from my iPhone

On Sep 16, 2015, at 13:52, Tolga Ekmen notifications@github.com wrote:

I need to access my old rules but since installing and using codekit, my port is always getting redirected to 5757

— Reply to this email directly or view it on GitHub.

tolgaek commented 8 years ago

Very strange. I have just installed codekit at which point my 'blog.site.com' started getting redirected to 5757 (which is codekit's port) and after turning it off, it was still happening.

It had to have something to do with codekit installation, is there anything that codekit does to configure redirections?

bdkjones commented 8 years ago

As I said above: no, there is not.

If you set up a WordPress site through CodeKit's proxy server, that might explain it. WordPress stores absolute URLs and redirects them for SEO purposes.

Sent from my iPhone

On Sep 16, 2015, at 14:16, Tolga Ekmen notifications@github.com wrote:

Very strange. I have just installed codekit at which point my 'blog.site.com' started getting redirected to 5757 (which is codekit's port) and after turning it off, it was still happening.

It had to have something to do with codekit installation, is there anything that codekit does to configure redirections?

— Reply to this email directly or view it on GitHub.

joshsmith01 commented 8 years ago

@tolgaek open your database and change WordPress' URLs back to what they're supposed to be.

Anytime you open the dashboard and save something wordpress will change your url to whatever's in your browser.