url redirection and url path

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
10 years ago
Hi, im running into a couple of issues which i cant seem to understand how they work. Im running nop 3.3.  Single store with multi vendor

1.  The url redirection for yourdomain.com to www.yourdomain.com doesnt seem to be working.  

In General and miscellaneous settings i have set WWW prefix requirement: pages should have www prefix also checked the box for Enable canonical URLs.

In the store URL section http://www.yourstore.com/  HOST VALUES: yourdomain.com,www.yourdomain.com

Everytime i browse to yourstore.com the URL does not change to www.yourstore.com which is what i need it to do.


2. The url path in the browser which is the Search engine friendly page name example www.youdomain.com/hp-desktop-computer doesnt seem to work well when you have many items with the same name as it adds numbers at the end rather than a description of the vendor or category etc.  Ideally if i have 5 items by different vendors they all have different numbers at the end.  This is ok if you have only a few items but when you have a large catalog and you have to change each Search engine friendly page name everytime a new product is added that seems very tedious.  Im not sure how everyone else is managing this and would definately welcome any suggestions.

Thanks in advance for any help or view.
10 years ago
Ok no one replied but i managed to figure this out so those of you who need to do what my point 1 for url redirection can use this method.

Open IIS Manager

Click on your website under connections, then on the right side of page under the IIS double click URL rewrite

Click Add rule under the Actions on the far top right

Select Blank rule and give the rule a name, i used

Redirect yourdomain.com to www

Fill out these details

Requested URL = Matches the pattern
using = wildcard
pattern = *

Next click add under patterns and fill these details -  

condition input = {HTTP_HOST}
check if input string = matches the pattern
pattern = yourdomain.com

Click ok

In the bottom Actions section select redirect fill the details

URL redirect = www.yourdomain.com/{R:0}
redirect type = Permanent (301)

Click apply on the top right side of the page under actions and your done

NOTE: you need to substitute yourdomain.com with your actual domain name
10 years ago
Regarding your point 2 it is a good idea but would require writing some code.

You need to enhance this method:

Nop.Services.Seo.SeoExtensions.ValidateSeName

Ideally this would not be a static extensions method but a service call so that it could be overridden.

I hope this is useful!
9 years ago
If the configured redirect URL contains a complete path, then the redirect response specifies the complete configured URL, irrespective of the URI in the request Kochadaiiyaan 2014 (http://www.watchmoviefull.com/watch-kochadaiiyaan-2014/). For example, the following are such URLs:
http://www.redirect.com/en/site_down.html
http://www.redirect.com/
9 years ago
Hi,

Under http://smilestores.net/Admin/Setting/GeneralCommon
Look at the [ SEO Settings ] > [WWW prefix requirement:] > [Page should have WWW]

: ) Hope it can be help!

Huy
7 years ago
I realize this is an old thread but FWIW, incase someone else is looking for a way to do this.

Wile dns does not understand the path portion of the url, it will understand subdomains, so instead of:

www.putlockers-movie.com IN CNAME www.putlockers-movie.com/path/index.htm

You could use:

www.putlockers-movie.com IN CNAME putlockers-movie.com
then go to wherever you host putlockers-movie.com and set it to point putlockers-movie.com to www.putlockers-movie.com/path/index.htm.

~ there's always more than one way to skin a cat
7 years ago
Can you suggest me any website to check redirection...I have free movie downloads website that needs redirection from time to time..I searched online but all are showing different results...
7 years ago
Hello everyone, I wanted to ask please. My Website http://cometmovie.su/
I can not change the cname to readdress the home without .www

I've tried it and tells me that I have to wait 24 hours, but it's been two days and I do not work. To you?
7 years ago
I am having a free movie downloads website and i want to have 301 redirection on it to my new domain....What will be the code?
6 years ago
Do you know how the redirect changes?
I want to change from www. To the normal domain, my site: http://www.minecraftprime.co.uk/

I've already tried it alone but it tells me to wait 3 days
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.