where is the value of "GetNewsRSSUrl()" saved ?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 years ago
In  the homepagenews.ascx there is a link of rss feed which is mentioned as <a href ="<%= GetNewsRSSUrl()%>">

and as the value in code behind page .cs it is saved as SEOHelper.GetNewsRssUrl();

but where exactly is the value stored ? i mean where the link as http://www.website.com/newsrss.aspx?languageid=7 is stored ? or in other words where it is mentioned that GetNewsRSSUrl() Or SEOHelper.GetNewsRssUrl(); = http://www.website.com/newsrss.aspx?languageid=7.

I would like to change the link.

i have checked - Localization and All Settings but couldn't find it.
13 years ago
See SEOHelper.GetNewsRssUrl() method (\Libraries\Nop.BusinessLogic\SEO\SEOHelper.cs). If you cannot find it, just open a solution in VS and try to search 'GetNewsRssUrl'
13 years ago
nopCommerce team | a.m. wrote:
See SEOHelper.GetNewsRssUrl() method (\Libraries\Nop.BusinessLogic\SEO\SEOHelper.cs). If you cannot find it, just open a solution in VS and try to search 'GetNewsRssUrl'


Hello Andrei , i was able to find the method in the location that you mentioned above

i wanted to change the newsrss.aspx to soemthing else.

what i did, i created/added a new page xyzRSS.aspx, copied code from newsRSS.aspx to my new page xyzRSS.aspx

changes page name in SEOHelper.GetNewsRssUrl() like this:

string url = CommonHelper.GetStoreLocation() + "xyzRSS.aspx?LanguageId=" + languageId.ToString();

re-built the project but i am getting strange errors....am i missing something in this rss link change ?
13 years ago
abcd_12345 wrote:
re-built the project but i am getting strange errors....am i missing something in this rss link change ?

It should work. And what strange errors are you getting?
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.