Thread Starter
daddyg
(@daddyg)
Sorry that should have read:
I have two images folders (containing the same images), at
GolfBettingGuide.com/images
and
GolfBettingGuide.com/blog/wp-content/themes/GBG/images
Thanks.
Thread Starter
daddyg
(@daddyg)
I’ve got the images on the permalinks pages displaying by placing absolute full path’s to the images in my theme’s index.php file, eg I’ve specified my logo url as:
http://www.golfbettingguide.com/images/gbg.gif
But I’m not sure I should need to specify absolute path’s should I? Or is that the only solution?
In case it’s relevant my .htaccess file for my blog (located at: http://www.golfbettingguide.com/blog/ )l
looks like this:
RemoveHandler .html .htm
AddType application/x-httpd-php .php .htm .html .phtml
<IfModule mod_rewrite.c>
RewriteEngine On
# Redirect FeedBurner to your own Feed
RewriteBase /blog/
RewriteRule ^feedburner_417786/?$ /blog/feed/ [R,L]
RewriteCond %{HTTP_USER_AGENT} ^FeedBurner.*$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
# Feed Redirect Rules will go here
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule>
I’d really appreciate if anyone has any advice on this.
Thread Starter
daddyg
(@daddyg)
Ok, the problem I have now is that my menu links in the left hand column of the permalink url:-
http://www.golfbettingguide.com/blog/2006/07/31/scandinavian-masters-2006-tip-1/
now point to a wrong address. For instance, the “exchange betting” menu link goes to:
http://www.golfbettingguide.com/blog/2006/07/31/content/exchange-betting-guide.php
when it should be
http://www.golfbettingguide.com/content/exchange-betting-guide.php
The menu link has a relative path set:
“../content/exchange-betting-guide.php”
but ofcourse I can’t change the path to:
“../../../../../content/exchange-betting-guide.php” because the menu is contained in the wp blog theme index.php
I know this is related to mod_rewrite(). I have two .htaccess files, one at
golfbettingguide.com which contains:
RemoveHandler .html .htm
AddType application/x-httpd-php .php .htm .html .phtml
and one at golfbettingguide/blog which contains:
RemoveHandler .html .htm
AddType application/x-httpd-php .php .htm .html .phtml
<IfModule mod_rewrite.c>
RewriteEngine On
# Redirect FeedBurner to your own Feed
RewriteBase /blog/
RewriteRule ^feedburner_417786/?$ /blog/feed/ [R,L]
RewriteCond %{HTTP_USER_AGENT} ^FeedBurner.*$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
# Feed Redirect Rules will go here
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule>
I’m not sure which .htaccess file (I’m guessing the blog one?) I need to change, or to what, so I’d be extremely grateful for any advise offered.
Many thanks,