Noob, relative paths, images, and subdomains
-
Newbie seeks advice. I only have a minimum of WP jargon so far, which may be the problem.
My first test blog has a couple of postings. The blog is located at
<https://macflair.com/blog/>The postings have some embedded images, using relative paths, a la:
<img src=”/blog/wp-content/uploads/2006/05/MyPix.png” etc >This worked just fine. Now comes the trouble. I created a subdomain on this server with good ol’ cpanel: <blog.macflair.com>. This resolves to <https://macflair.com/blog/>
Now the ‘front’ page created by WP has an extra, unecessary ‘blog/’ in the path. The individual posting pages are fine. I can remove the ‘blog/’ part of the tags and reverse the results. My question is then, do people use absolute paths (that seems odd), or is there another level of manipulation that must be performed in order to use a subdomain? I also realize that going into the individual postings results in the default URL of (for example) <https://macflair.com/blog/?p=9>, which I need to deal with anyway.
TIA!
- The topic ‘Noob, relative paths, images, and subdomains’ is closed to new replies.