KhalisFoundation / sttm-web

STTM website - https://www.sikhitothemax.org
https://www.sikhitothemax.org
Open Software License 3.0
49 stars 34 forks source link

Improve SEO #333

Open bogas04 opened 6 years ago

bogas04 commented 6 years ago

In order to gain good traffic, we need to up our SEO game.

Currently we are blocked by #329.

bogas04 commented 6 years ago

@saintsoldierx can you explain SEF urls thingie?

saintsoldierx commented 1 year ago

We definitely need to improve SEO. One of the things is SEF URLS....

So

https://www.sikhitothemax.org/shabad?id=1294&q=bhb&type=0&source=all&highlight=14767

Should be more meaningful eg.

https://www.sikhitothemax.org/shabad/bhagat-kabeer-ji/sri-guru-granth-sahib-ji/ang-325/1294

Like

https://www.sikhitothemax.org/shabad/{writer}/{source}/ang-{ang}/{shabadId}

gurjit03 commented 1 year ago

@saintsoldierx we need to think more carefully about the sequence of the SEF queries I believe. Reason being https://www.sikhitothemax.org/shabad?id=1294&q=bhb&type=0&source=all&highlight=14767 is 1 single url route with /shabad as pathname whereas [https://www.sikhitothemax.org/shabad/{writer}/{source}/ang-{ang}/{shabadId}] is 1 url with multiple pathnames. In general, we have /pathname(category)/:id ---> to get into specific and then if needed we get into more specific pathname(category)/:id/subcategory/:subcategoryId.

Afaik, the above query params are filters on the similar level of the search, so we need to think of the divisions. And it's probably needs more careful inspection imho. Just shared my thoughts openly here, would like to hear how do you think about it.

saintsoldierx commented 1 year ago

@gurjit03 what do you suggest then if the pathname structure I mentioned is difficult?

gurjit03 commented 4 weeks ago

@saintsoldierx I have added my suggestions in the comments already. Seemed some restructure is needed for this.