|
Home > Archive > Apache Server configuration support > September 2005 > ModRewrite and # character
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
ModRewrite and # character
|
|
| /dev/null@localhost.ld 2005-09-29, 2:56 am |
| I need to place url in .htaccess that contain #, like:
RewriteRule ^some/path/here.html$ /some/url/with/hash/here/#blah [R=301,L]
Right now the result is that # is replaced with %23 in url and this url is not valid ie I get 404 error.
Does anyone have idea how to place this hash correctly?
| |
|
| "/dev/null@localhost.ld" <"/dev/null@localhost.ld"> schreef in bericht
news:dhfj7u$cqg$1@atlantis.news.tpi.pl...
> I need to place url in .htaccess that contain #, like:
>
> RewriteRule ^some/path/here.html$ /some/url/with/hash/here/#blah [R=301,L]
>
> Right now the result is that # is replaced with %23 in url and this url is
not valid ie I get 404 error.
RewriteRule ^some/path/here.html$ /some/url/with/hash/here/#blah
[R=301,L,NE]
HansH
| |
| /dev/null@localhost.ld 2005-09-29, 7:53 am |
| HansH wrote:
> "/dev/null@localhost.ld" <"/dev/null@localhost.ld"> schreef in bericht
> news:dhfj7u$cqg$1@atlantis.news.tpi.pl...
>
>
> not valid ie I get 404 error.
> RewriteRule ^some/path/here.html$ /some/url/with/hash/here/#blah
> [R=301,L,NE]
>
> HansH
thanks!
|
|
|
|
|