Forum Moderators: phranque
readme.php#link --> readme.php?id=link
I think it could be done with Rewrite but I donīt know how. Please Help.
Attila
Welcome to WebmasterWorld.
I am not sure I understand exactly what you are needing.
Could you please post an examplified URL from the 'old' site and a similar examplified URL from the new site, along with a sample of code that you have tried... We try not to code on demand here, but help you out with portions of your code that are not working as you would like them to.
Justin
___________________________________
jd01: First of all, itīs a great feeling to becomed welcomed in a new Forum - Thanks!
Old Url:
[www2.uibk.ac.at...]
New Url: (File doesnīt exsit yet, jus want to se how the Apache solves the URL)
[www2.uibk.ac.at...]
My .htaccess try:
RewriteEngine on
RewriteRule readme\.php\#([az-A-Z0-9]+)$ readme.php?id=$ [L]
.htaccess located at http://www2.example.ac.at/.htaccess:
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^ub/readme\.php\#([a-z0-9]+)$ /ub/readme.php?id=$1 [NC,L]
However, I agree that named anchors (#anchor_name) are handled entirely within the browser, so this may not work.
Jim