HomeHome Product Discus... Product Discus...SmithCartSmithCartremove productid from urlremove productid from url
Previous
 
Next
New Post
4/29/2013 12:47 AM
 
Hello, I have a question regarding the product urls.
If I open a product the url looks like this: /details/productid/99/productname
Is there any way to show only the productname after the domain and get rid of the /details/productid or just the productid?
I have tried to remove the productid with a url rewrite but the product didn't show up.
I have Smith Cart 5.37.0 running on DNN 07.00.03. Thanks!
 
New Post
4/29/2013 2:03 PM
 
Hi,
Currently, the product details page requires the productid be passed in the url as that is how the module references the product to load. You could possibly use IIS Url rewritting or the iFinity URL master module to rewrite the url to remove the product id. Having the productid in the url will not hurt SEO.

Thanks,

Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
4/30/2013 5:32 AM
 
Unfortunately my client insists and he wants to get rid of the unnecessary url parameters.

I quote your user manual, page 137:

URL Keywords – The keywords entered in this field will be dynamically added in the URL of the product detail page. If you have configured friendly URL’s in your portal or are using the iFinity URL module then the value you enter in this field will be the page name when the user navigates to the product details page for the product. For example, if you have a product titled Halo4 and you enter "Halo4" as your product page name the product detail page URL would be the following:
yourdomain.com/halo4.aspx

I use iFinity but the product details are still like domain/details/productid/99/URLKeywords
 
New Post
5/1/2013 7:49 AM
 
Do you have any suggestions on this?
 
New Post
5/1/2013 9:13 AM
 
Just using iFinity URL master module on your site will not remove the productid from the url. In order to remove the productid from the url you have to develop the url rewritting rules. Did you try developing the url rewrite rules in IIS or iFinity URL master?

The following link may be helpful for learning about IIs Url Rewritting:
http://www.iis.net/learn/extensions/url-rewrite-module/using-the-url-rewrite-module


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartremove productid from urlremove productid from url