forward to URL with fragment identifier (/foo#bar)

CLOSED

forward to URL with fragment identifier (/foo#bar)

Postby hm78 » Fri May 14, 2010 2:43 pm

I want to forward example.com/about to example.com/contact#about

So I thought I could use:
Code: Select all
RewriteRule ^about$ http://example.com/contact#about [R=301,L]


But it seems that my .htaccess thinks, "#about" is a comment. Am I right?

Any chance to forward to a URL with fragment identifier?
hm78
 
Posts: 17
Joined: Sun Mar 04, 2007 8:26 pm

Re: forward to URL with fragment identifier (/foo#bar)

Postby hm78 » Tue Dec 14, 2010 8:02 am

*bump*
hm78
 
Posts: 17
Joined: Sun Mar 04, 2007 8:26 pm

Re: forward to URL with fragment identifier (/foo#bar)

Postby hm78 » Mon Apr 11, 2011 3:07 pm

*bump2*
hm78
 
Posts: 17
Joined: Sun Mar 04, 2007 8:26 pm


Return to New Threads/Problems

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron