• I created a subdomain dev.mydomain.com.
  • I then created an application... wordpress
  • I linked up the application to my subdomain and mapped it to /wp.

However, when I visit the dev.mydomain.com/wp, all the CSS and images don't seem to load correctly. There's no styling or images on the page.

asked 03 Jan '11, 12:30

milesmeow's gravatar image

milesmeow
169
accept rate: 0%


Have you tried setting the Site URL manually? The process is outlined here,

http://codex.wordpress.org/Changing_The_Site_URL

This solves 99% of Wordpress's URL related issues.

link

answered 03 Jan '11, 12:56

johns's gravatar image

johns ♦♦
4.1k28
accept rate: 23%

What worked for me was to edit the functions.php file of the active theme. Follow the instructions on the page...here's just a summary:

Put this right after the opening <?php tag.

update_option('siteurl','http://example.com/blog');
update_option('home','http://example.com/blog');

Refresh the page and login as admin. Check settings and make sure that the paths are correct. Then remove those lines from functions.php

(03 Jan '11, 18:16) milesmeow milesmeow's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×173

Asked: 03 Jan '11, 12:30

Seen: 2,123 times

Last updated: 03 Jan '11, 18:17

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited