PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Sunday, October 16, 2022

[FIXED] How to print firnedly urls in admin side OpenCart

 October 16, 2022     opencart, php     No comments   

Issue

As you know in Opencart -> Catalog when you generete link like this

$this->url->link('product/product', 'path=' . $this->request->get['path'] . '&product_id=' . $result['product_id'])

become

domain/category/product name

i tried to use same in Admin side to see what combination of category/product name exist atm but is not working same as Catalog side

Any ideas how can i print in Admin side rewrited urls same as Catalog side


Solution

File in "system/library/url.php" this path is rewriting url in to seo url. In the seo_url table, for category we use "product/category" in the user end. but for admin end we need to use "catalog/category".

We can try by copying .htaccess to admin folder and also by trying to use "catalog/category" in seo table.



Answered By - Vetriselvan
Answer Checked By - Marilyn (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing