Why do links to anchor tags in my pages turn the # into %35, and thus break?
March 18, 2005 5:23 AM
Subscribe
Why do links in my anchor tags turn the # into %35 and thus break? Any idea why - and (most importantly) how to fix it. (yeah, I know I should scrap this cumbersome system and move to WordPress - it's my plan, but I don't have time at the moment).
I use a crude system for permalinks: each post on a page has a different anchor. I set up permalinks www.myblog.com/thispost. When I publish, I use control panel 2 to make a permanent redirect, so www.myblog.com/thispost redirects to www.myblog.com/thepage.htm#thispost. This adds a line in my .httaccess file.
New ones, however, turn up in the browser address bar as %35 instead of the # symbol, and therefore break and 404. (same in IE and Firefox)
Old ones still work fine. I've tried using notepad to copy an old redirect line from httaccess, and just amend it to a new one, but they break too.
posted by Pericles to computers & internet (12 comments total)
posted by cillit bang at 6:43 AM on March 18, 2005