Add User Friendly URL to SeoPro for Pav Blog module
We add support for User Friendly URL links in SeoPro to the blog module for Opencart.
πŸ’Ό Creation of modern websites of any complexity. | πŸ‘Œ WEB-UKRAINE.COM

Add User Friendly URL to SeoPro for Pav Blog module

4.6/58 ratings

Hello! If you came to this page, most likely you have an online store on opencart, and it has a blog module installed namely Pav Blog, and it does not work Seo User Friendly URL articles, categories, well, or you just plan to put it ...

This blog module for opencart is very common and good to use, but it has a small drawback that there is no SEO support for ocstore assemblies or other assemblies in which SeoPro is connected, or rather it's not even a disadvantage that the module's author did seo support for the standard opencart.

If your online store works with SeoPro enabled, then you need to correct the SeoPro file to improve the User Friendly URL of your blog links.

There is nothing complicated here, but as always be careful and make backups just in case.

Well, let's get down to our task and make proper cc links for the blog.

The first thing we need to do is add two new lines to the table in the oc_url_alias table, namely, execute the query:

well, or if you have any Seo manager installed, then you can add these lines through them, common in the table, you should see these lines:

That is, for the category ID=1 and for the blog itself we add the blog key (PS: instead of the blog you can specify any other value of your own)

well, we finished the table, now let's edit the SeoPro file itself, for this we open it at catalog/controller/common/seo_pro.php with your favorite notepad, (recommend notepad +) and make small changes in it.



Before the line:

We need to add:

Next we find the line of code:

And before it we add:

In the SWITCH cycle below the line:

We are looking for default: and before it we add:



Next we find the row with the code:

And before it we add:

Well, in principle, that's all, now in our folder you can see the seo pages that you registered in the admin panel.

Oh, and do not forget to clear the cache to see the changes you made.

The blog module for opencart you can download here it is free.

Or download from our server here< There will be questions or something that does not work write in the comments, good luck!

You may also like

No Comment

You can post first response comment.

Leave a Reply

Π’ΠΈΠ±Π΅Ρ€Ρ–Ρ‚ΡŒ спосіб спілкування
Звязатися Π· Π½Π°ΠΌΠΈ!
Ми Π³ΠΎΡ‚ΠΎΠ²Ρ– Π΄ΠΎ Π΄Ρ–Π°Π»ΠΎΠ³Ρƒ.