Advertisement:

Author Topic: SOLVED > Category / Subcategory Url ends with "1" error / How to correct it?  (Read 1742 times)

mrtsoftware

  • Sr. Member
  • ****
  • Posts: 343
Category / Subcategory Url ends with "1" error;
When I visit my web page, all category / subcategory URL was added "1" at the end of url, what is reason of this and how to correct it?

Example as below and all other categories are same, I have no dublicate category name.

http://www.aytyachting.com/motoryat_1
http://www.aytyachting.com/tekne_1
http://www.aytyachting.com/yat_1
http://www.aytyachting.com/gemi_1
....
....
...
« Last Edit: October 14, 2017, 12:26:13 am by mrtsoftware »

_carlison

  • Full Member
  • ***
  • Posts: 134
Re: Category / Subcategory Url ends with "1" error / How to correct it?
« Reply #1 on: September 07, 2017, 05:45:27 pm »
Hi,

Please check your oc-admin : http://yourdomain.com/oc-admin/index.php?page=settings&action=permalinks#

then you can click on show rule. and check Category URL: ?
what mention in front of : Category URL:

mrtsoftware

  • Sr. Member
  • ****
  • Posts: 343
Re: Category / Subcategory Url ends with "1" error / How to correct it?
« Reply #2 on: September 07, 2017, 06:02:34 pm »
Here secreenshoot of permalinks section.

_carlison

  • Full Member
  • ***
  • Posts: 134
Re: Category / Subcategory Url ends with "1" error / How to correct it?
« Reply #3 on: September 07, 2017, 06:12:37 pm »
Do you have migrate or reupload your database ?

mrtsoftware

  • Sr. Member
  • ****
  • Posts: 343
Re: Category / Subcategory Url ends with "1" error / How to correct it?
« Reply #4 on: September 07, 2017, 06:13:24 pm »
no, it is same from the beginning

_carlison

  • Full Member
  • ***
  • Posts: 134
Re: Category / Subcategory Url ends with "1" error / How to correct it?
« Reply #5 on: September 07, 2017, 06:21:38 pm »
so you will check your category from oc-admin (where you have added new category). May be you have addes multiple category with same name.

mrtsoftware

  • Sr. Member
  • ****
  • Posts: 343
Re: Category / Subcategory Url ends with "1" error / How to correct it?
« Reply #6 on: September 07, 2017, 06:27:08 pm »
no this is impossiblem, I have more than 150 categories including subcategories, it is impossible to create all categories as double...
All subcategories and categories URL was added "_1".

I am not trying to remove site and reinstall, I let you to know result

_carlison

  • Full Member
  • ***
  • Posts: 134
Re: Category / Subcategory Url ends with "1" error / How to correct it?
« Reply #7 on: September 07, 2017, 06:49:21 pm »
dont reinstall it, and leave it, coz i think its not big problem

mrtsoftware

  • Sr. Member
  • ****
  • Posts: 343
Re: Category / Subcategory Url ends with "1" error / How to correct it?
« Reply #8 on: September 07, 2017, 07:08:21 pm »
I have reinstalled it and nothing changed still is adding "_1" behind of all categories and subcategories,
It is big problem for SEO, because into sitemap file it is indicated without "_1".
Search engines will be confused, also it does not look fine on browser and search results if search engines will crawl with "_1" behind of cetegory URL.


mrtsoftware

  • Sr. Member
  • ****
  • Posts: 343
Re: Category / Subcategory Url ends with "1" error / How to correct it?
« Reply #9 on: September 07, 2017, 08:16:03 pm »
I checked database under phpmyadmin,
I saw that each category was saved under en-US + tr-TR

at the attachment secreenshoot, how to recover this problem, this problem is occured first time with me

mrtsoftware

  • Sr. Member
  • ****
  • Posts: 343
Re: Category / Subcategory Url ends with "1" error / How to correct it?
« Reply #10 on: September 07, 2017, 08:16:38 pm »
secreenshoot

_carlison

  • Full Member
  • ***
  • Posts: 134
Re: Category / Subcategory Url ends with "1" error / How to correct it?
« Reply #11 on: September 08, 2017, 12:34:37 pm »
Hi,

But this is not affected this type of error. i already used 4 Languages in my website and every category display 4 times in my phpmyadmin but no one have display like "_1" .

Yes when some sub-category has created twice then it display "_1" after category url .
So please check again your categories and sub categories. may be you have mention same name of category twice time then it will display.

and check my screenshot.

small "car" is second and it display "_1" on my website. and "Car" is correct on site.

So please check again

mrtsoftware

  • Sr. Member
  • ****
  • Posts: 343
Re: Category / Subcategory Url ends with "1" error / How to correct it?
« Reply #12 on: September 08, 2017, 05:00:04 pm »
No, this error occured yesterday after adding into theme language po file ( " turkey " > " Türkiye " translation.
Accidently I did not made backup before uploading edited po. file,
Correcting this problem now cost for me 24 hours, I am still busy and I almost completed correcting of this error;
How I solved ? ;
Normaly English language was disabled for admin and website ( Only Turkish was ), now I am enabled English Language for website and for admin panel, too.
Each category / subcategory I have clicked to edit and selected " Turkish " language and saved.
After this transaction "_1" removed behind of URLs of categories / subcategories automatically.

_carlison

  • Full Member
  • ***
  • Posts: 134
Re: Category / Subcategory Url ends with "1" error / How to correct it?
« Reply #13 on: September 08, 2017, 06:20:15 pm »
your _1 problem is solved or not?

mrtsoftware

  • Sr. Member
  • ****
  • Posts: 343
Re: Category / Subcategory Url ends with "1" error / How to correct it?
« Reply #14 on: September 09, 2017, 07:39:02 pm »
Yes solved with above explained technique! May be there is a very quick easy way, but for me solving problem took 1 day