WP 3.0 on localhost (WAMP) with custom permalinks set to:
Using as cms (pages only)
Everything works using default permalinks, and with the custom permalink the static page selected to load as the front page works fine.
Some images (in sidebar and header) work fine on the other pages, also embedded video works but on other than the front page two images do not load.
1 is hardcoded into page.php before the loop
2nd is hard coded in footer.php
apache access log shows that is inserting the custom permalink (for the page called) into the url for these 2 images:
127.0.0.1 - - [27/Jun/2010:13:51:35 -0400] "GET /wordpress/my-second-page/wp-content/themes/mytheme/images/mypic.gif HTTP/1.1" 404 4259
127.0.0.1 - - [27/Jun/2010:13:51:35 -0400] "GET /wordpress/my-second-page/wp-content/themes/mytheme/images/pic2.png HTTP/1.1" 404 4259
[or GET /wordpress/my-second-page/wp-content/themes/mytheme/images/mypic.gif HTTP/1.1" 404 etc]
and returning them 404 not found, instead of wordpress/wp-content/themes/mytheme/images/pic2.png (where they live)
Can this be fixed with a redirect in htaccess? If so, how to code?
And to do it without stressing the server more than necessary?
There are only 4 pages in addition to the front page, will not be more. I have searched checking all sources here (only 7 results all in WP Trac), plus Google. The google search results lead me to believe a hack to htaccess might work, but none were related specifically to images, and several were specific to IIS.
Thanks for any suggestions