Messed Up Install of WP on OS X
-
Hi everyone,
I decided to run WP off of my OS X Panther (10.3.9) machine while using DynDNS because I am using DSL. I followed the instructions from https://nerdvittles.com (along with a couple of other sites including WP) and everything seemed to work out great. The only problem being that my url was going to my “Hello World” index.html webpage.
That was solved by changing the content of the index.html document with the following:
<html>
<head>
<meta http-equiv=”refresh” content=”0; url=/blog/”>
</head>
<body>
Click here if you are not automatically redirected.
</body>
</html>That worked out fine except that someone pointed out that they could see my computer’s name:
“***-****-***s-computer.local.”
That was a bit of a problem so someone else suggested that I change the file in Apache with the following:
sudo cp -p /etc/httpd/httpd.conf{,.orig}
sudo vi /etc/httpd/httpd.confType everything exactly as it is here. <Ret> means “hit return”, <ESC> hit escape, <n> hit lower case n, <N> enter capital N.
/DocumentRoot<Ret>
<n> till you are on the appropriate line listed above. If you go too far, <N> to go back. Press <$> (shift-4). Then type the following:
i/blog<ESC>/Documents<Ret>
This should put you on the second line above, if not, <n> till you are there.
<$>i/blog<ESC>:wq!
Ok, so I typed in his instructions but, now, there are two issues. In his words:
(1) Content links
A number of your links are absolute with a host of ‘127.0.0.1’ – this means that your blog will work right when you view it from your machine, but looks broken to everyone else.
(2) Theme links
Your theme links still include the ‘/blog/’ directory. You’ll need to update them to get rid of that.
I’ve never used WordPress, but there is probably a simple config to fix both of these. For example, look for a config entry that is:
http: //127.0.0.1/
or
http: //127.0.0.1/blogSorry for this long post but can anyone tell me what is going on? I’m sooooo close to getting this done!!! Thanks!
- The topic ‘Messed Up Install of WP on OS X’ is closed to new replies.