-
Notifications
You must be signed in to change notification settings - Fork 343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
URL with category and city, region or country rewrite (SEO for Search) #1313
Comments
Seems like I got the same problem here :(. I'm afraid I won't update until we figure something out. It may be just us (one of our settings / dev environnement) though not Osclass, but it works fine on 3.2. |
Unfortunately, slug between country region and city can be the same. Maybe it's will be better to make them unique ? |
I will close this issue because we're already working on it as part of the new version, thanks for the information |
Hi Conejoninja and All, anyone who has answer to following? I'm presently running 3.3.2 and please help & advice on below Q1,2,3,4: Q1. which new version of osclass resolve above issue, and what is the new changes to above format for the new version of oclass which you mentioned you're working on it? Q2. The sitemap when I generate, it doesn't Q3. and also what's the impact of _ underscore for Q2? which osclass php file and code Q4. and after select include listing for sitemap I noticed there's _ as followed: what's the impact of _ underscore for above cavitex_i192? which osclass php file and code Appreciate your advice on above Q1,2,3,4 urgent hope you can reply soon as |
Hi,
I just update to 3.3.2 and all my url with region or city have changed. (osc_search_url)
I had before this
http://mywebsite.com/category,{category_slug}/city,{city_name}
I have now this :
http://mywebsite.com/{category_slug}_{city_slug}-c{city_slug}
If a city haven't any slug the url is this one :
http://mywebsite.com/{category_slug}_-c{city_slug}
You need to remplace the underscore with a dash.
Google understand this url : my-category_my-city-c123345 as
"my"
"category_my"
"city"
He doesn't explode the underscore.
cf : https://support.google.com/webmasters/answer/76329?hl=en
"Consider using punctuation in your URLs. The URL http://www.example.com/green-dress.html is much more useful to us than http://www.example.com/greendress.html. We recommend that you use hyphens (-) instead of underscores (_) in your URLs."
Why use city and region primary key ? The category slug as the city and region slug are unique.
I think the best url will be this one. If of course it's possible :
for category : http://mywebiste.com/{category_slug}
for city : http://mywebiste.com/{category_slug}/{city_slug}
for region : http://mywebiste.com/{category_slug}/{region_slug}
for country : http://mywebiste.com/{category_slug}/{country_slug}
The searches url are the best for our SEO. They are permanently visible by search engine and are never deleted but if url always change, they see them as duplicate content which is really bad.
Thanks for your work !
The text was updated successfully, but these errors were encountered: