How to SEO link?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
11 年 前
Hi nopCommerce Team!

I have a problem don't undertand, please help me.

1-In nop v1.90 have Maintenance can backup and restore database but nop v2.60 can't backup.
How to can backup database same nop v1.90 in nop v2.60?

2-When use languages English is SEO ok but change other language not ok.
Ex: Menu Contact is contact.aspx when change to other language must be lienhe.aspx. But it is contact.aspx.
How to fix?

DEMO: http://opposite.com.co/

Thank you very much.
11 年 前
Your host control panel should have backup options.  Also see these posts.

https://www.nopcommerce.com/boards/t/14273/backup-database-option.aspx

https://www.nopcommerce.com/boards/t/13925/nop-commerce-23-backup-option.aspx
11 年 前
Hi nopCommerce Team!

When use languages English is SEO ok but change other language not ok.
Ex: Menu Contact is contact.aspx when change to other language must be lienhe.aspx. But it is contact.aspx.
How to fix? Please help me.

Thanks.
11 年 前
you can't because contact.aspx is webforms.

If you really really need this you can hack it: copy contact.aspx and name it lienhe.aspx, next you need some programming to determine what language your in and then either link to contact.aspx or lienhe.aspx.
11 年 前
keesjan wrote:
you can't because contact.aspx is webforms.

If you really really need this you can hack it: copy contact.aspx and name it lienhe.aspx, next you need some programming to determine what language your in and then either link to contact.aspx or lienhe.aspx.




Hi Keesjan
When i import another languages, i see nopCommerce website have combobox choose between two languages.

Now i want to:
Ex: In lang English click contact.aspx is "contact" or "contact.aspx". In lang Sweden click  contact.aspx is "kontakt" or "kontakt.aspx"

How to make it?
(If in programming i make 2 file contact.aspx and kontakt.aspx then how to load language 1 or language 2 when click link English or Sweden?)

DEMO: http://opposite.com.co/
Thanks
11 年 前
xmenroma wrote:
you can't because contact.aspx is webforms.

If you really really need this you can hack it: copy contact.aspx and name it lienhe.aspx, next you need some programming to determine what language your in and then either link to contact.aspx or lienhe.aspx.



Hi Keesjan
When i import another languages, i see nopCommerce website have combobox choose between two languages.

Now i want to:
Ex: In lang English click contact.aspx is "contact" or "contact.aspx". In lang Sweden click  contact.aspx is "kontakt" or "kontakt.aspx"

How to make it?
(If in programming i make 2 file contact.aspx and kontakt.aspx then how to load language 1 or language 2 when click link English or Sweden?)

DEMO: http://opposite.com.co/

Thanks
11 年 前
xmenroma wrote:
Now i want to:
Ex: In lang English click contact.aspx is "contact" or "contact.aspx". In lang Sweden click  contact.aspx is "kontakt" or "kontakt.aspx"

How to make it?
(If in programming i make 2 file contact.aspx and kontakt.aspx then how to load language 1 or language 2 when click link English or Sweden?)

DEMO: http://opposite.com.co/
Thanks


This site is not running nop 1.9 also they did not solve the 'contact.aspx' is not localized problem.
In either Spanish or English the url ends with 'contacto'.

I understand the problem but AFAIK this is not possible out-of-the-box.

but you need something like this:


Language language = NopContext.Current.WorkingLanguage


and then in InfoBlock.ascx do


<a href="<%=Page.ResolveUrl("~/contactus.aspx")%>">
or
<a href="<%=Page.ResolveUrl("~/kontakt.aspx")%>">


depending on language.
11 年 前
Thanks Keesjan.

I will try.
11 年 前
@Miteshaegis: Thanks Miteshaegis

Hi Keesjan, Miteshaegis and friend

If in nopCommerce v2.60 can config choose between two languages same:

DEMO: http://opposite.com.co/

Thanks all
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.