Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linking to stylesheets #65

Open
jennschlick opened this issue Dec 14, 2012 · 1 comment
Open

Linking to stylesheets #65

jennschlick opened this issue Dec 14, 2012 · 1 comment

Comments

@jennschlick
Copy link

Running MAMP on port 80. My localhost is accessible through http://localhost (http://localhost:80 redirects to http://localhost).

Using WordPress, all js/css are dynamically linked. E.G.:

http://localhost/my-site/wp-content/themes/theme-name/style.css

Viewing the local tunnel URL on another computer/iOS device does not load any of these external files. Only works when I hard code the url to include localhost:80, E.G.:

http://localhost:80/my-site/wp-content/themes/theme-name/style.css

Changing the WordPress URL (Settings --> General) to localhost:80 does not work.

Any thoughts on a workaround?

@progrium
Copy link
Owner

Wow. Hmm, I'm surprised Wordpress is so picky about the host. I'm not sure about a workaround without trying Wordpress and MAMP. If you figure something out before I do, let me know. Thanks for the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants