Is it possible to change my url path from this, /amazon_store?SearchIndex=VideoGames&BrowseNode=14220161

to something cleaner like /xbox

Comments

rfay’s picture

Status: Active » Patch (to be ported)

I would have thought you could do it with url aliases, but I just tried and failed. admin/config/search/path/add.

Perhaps you could do it with a rewrite rule in .htaccess.

You could *easily* use .htaccess redirect rules to set up a redirect xbox to /amazon_store?SearchIndex=VideoGames&BrowseNode=14220161

krymp’s picture

I tried the URL Alias earlier and got an error, I think its due to the symbols in the url because I can rewrite this path with no problem, /amazon_store.

I will see if there is another way before updating .htaccess

willvincent’s picture

Status: Patch (to be ported) » Closed (works as designed)

Should be doable with Path Redirect without having to touch .htaccess

jstreifel’s picture

I went to Path Redirect and followed to the D7 version Redirect, installed module, and attempted to switch url from amazon_store?SearchIndex=MP3Downloads&BrowseNode=2334092011 to Products/MP3Downloads.

I get Page Not Found. URL looks like http://uber-source.com/Products/MP3Downloads?SearchIndex=MP3Downloads&Br...

I went to settings and unchecked Retain query string through redirect. Tried again and I get Page Not Found and url is http://uber-source.com/Products/MP3Downloads

What am I doing wrong?