Close

Hash Breaking Rewrite?

brastop
10 years ago
#5760 Quote
Avatar
  • 2
Hi,

We have been trying to rewrite the URLs to be more Google/SEO friendly, so for example:

/my-category#/specFilters=17m!#-!68

as /latest-new-shoes

We tried IIS rewrite, also rewrite in the globals file - none of these methods are working.

It looks like the # is preventing the rewrite from working - is there any way the hash can be changed to something else?

Thanks,
Jorge


Boyko
10 years ago
#5762 Quote
Avatar
  • 1570
brastop wrote:
Hi,

We have been trying to rewrite the URLs to be more Google/SEO friendly, so for example:

/my-category#/specFilters=17m!#-!68

as /latest-new-shoes

We tried IIS rewrite, also rewrite in the globals file - none of these methods are working.

It looks like the # is preventing the rewrite from working - is there any way the hash can be changed to something else?

Thanks,
Jorge




Hi Jorge,

It can't be changed as the hashtag is used to keep track of the changes in Filters after the various filtrations without reloading the whole page and also for the Back button in the browser to work. So that after the customer narrows down its selection they can go to the product pages and then go back and still see the same products selection. These URLs are not intended to be linked in the web site (although you can do this). We don't have links with any of these URLs as we build them on the fly based on the users interactions with the filters. As far as I am aware google ignores everything after the hashtag "#".

Thanks
Regards,
Nop-Templates.com Team