Mladen Mijatovic
Mladen Mijatovic

Reputation: 11

Removing iframe url part with .htaccess

How to remove url part generated on every web page on my website on which I have livescore iframe module, which looks like http://mysite.com/livescore/football#inscore_ifheight_xdc_17343 ? Real url to that page is http://mysite.com/livescore/football, but this part #inscore_ifheight_xdc_17343 is always autogenerated and added to url when open web page with livescore iframe.

If someone can generate .htaccess mod_rewrite Rewrite Rule for me I will appreciate that very much.

Upvotes: 0

Views: 410

Answers (1)

Olaf Dietsche
Olaf Dietsche

Reputation: 74048

The fragment identifier is not part of the URL sent to the server. So, you cannot remove it with a .htaccess rule.

The only way to prevent this, is to not create it in the first place.

Upvotes: 1

Related Questions