Using anchor tags with thickbox and permalinks/mod rewrite
-
I’m having an issue with using thickbox and having permalinks/mod rewrite/htaccess, at least, that’s what I think the issue is. Everything was working fine (according to my knowledge) before about 4:30pm on October 30th. I have solved my other issues (documented in this thread) which were related to what was contained in my htaccess file. So, I’m thinking this issue is also related to htaccess.
It appears as though when I use an anchor tag (which is required to get the modal popups via thickbox to work using an inline div), it defaults to https:///?TB_iframe=true&width=720&height=540.
This is what the original HTML is in the post:
<a title="Trustees" href="#TB_inline?height=300&width=500&inlineId=judyduda" class="thickbox">Judy "Judith" Duda</a>
This is what I find when I use Firebug:
<a class="thickbox" href="https://?TB_iframe=true&width=720&height=540" title="Trustees">Judy “Judith” Duda</a>
Here’s my htaccess. I’ve tried hiding other items, but they don’t seem to affect what the link is changed to.
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] RewriteCond %{HTTP:Authorization} ^(.*) RewriteRule ^(.*) - [E=HTTP_AUTHORIZATION:%1] RewriteCond %{HTTP_REFERER} !^http:/cmfmedia.org/web/wp-admin # RewriteRule ^(.*)wp-content/uploads/(.*) /index.php?attachment=$2&scoper_rewrite=1 [NC,L] </IfModule> # END WordPress
Why is wordpress changing my link? Is there something in my htaccess file that could be contributing to this?
I have the plugin “Google Analytics for WordPress” installed, which I know formats links so GA can track them, but even when I un-installed this plugin, I was having the same issues. I’ve also got a plugin that supports this functionality called Thickbox Content.
Here’s a list of all of my active plugins:
Add to Any
AJAZify FAQ-Tastic
Akismet
Analytics360
Archives for a category
Auto Thickbox
FAQ-Tastic
Get Recent Comments
Google Analytics for WordPress
Google XML Sitemaps
Podcasting
Role Scoper
ThickBox Content
WP Render Blogroll Links
- The topic ‘Using anchor tags with thickbox and permalinks/mod rewrite’ is closed to new replies.