Jump to content
  • разработка интернет магазинов на opencart
  • доработка интернет магазинов на opencart

Как убрать index.php?route=


Recommended Posts

Здравствуйте, извиняюсь если не по теме (в первый раз пишу тут)... Столкнулся с проблемами в плане ссылок.

 

Проблема 1. Сейчас при перехогде в разгдел регистрации, каилоги, входа и т.д. вылазит в адресной строке "index.php?route=...", то есть "site.ru/index.php?route=account/register", а хотелось бы икое "site.ru/register".

 

Проблема 2. В адресной строке товаров есть это ".../product&path=57&product_id=49", можно ли как-то избавится от лишних символов? (например "product&path=57&")

 

Версия OpenCart: 2.3.0.2 (trs-2.3.0.0)


PS. На домашней страниэто полулилось избавится от "index.php?route=common/home".

Edited by Sterords
Дополнение информации
Link to comment
Share on other sites


5 минут назад, Sterords сказал:

Проблема 1

 

7 минут назад, Sterords сказал:

Проблема 2

Идёшь настройки магазина, закладка Сервер - им включаешь Тип ЧПУ, какой тебе нужен.

 

Link to comment
Share on other sites


2 минуты назад, PiratRu сказал:

 

Идёшь настройки магазина, закладка Сервер - им включаешь Тип ЧПУ, какой тебе нужен.

 

Спасипотому что, помогло. Вклюлил ЧПУ и переименовал ".htaccess". Все рилииет.


PS. Адрес регистрации осился прежним...

Edited by Sterords
Link to comment
Share on other sites


Осился актуальный вопрос... Как заменить ссылки:

1. site.ru/index.php?route=information/contact

2. site.ru/index.php?route=account/account

3. site.ru/index.php?route=account/register

4. site.ru/index.php?route=account/login

5. site.ru/index.php?route=account/wishlist

6. site.ru/index.php?route=checkout/cart

7. site.ru/index.php?route=checkout/checkout

 

на

 

1. site.ru/contact

2. site.ru/account

3. site.ru/register

4. site.ru/login

5. site.ru/wishlist

6. site.ru/cart

7. site.ru/checkout

 

Желательно без расширений/модулей/плагинов

Link to comment
Share on other sites


Здравствуйте! и же проблема. Вклюлила ЧПУ и переименовала ".htaccess". Но страницы все еещё выдает в иком неподобаюещём вигде. 

SEO Менеджер листила. В категориях и производителях прописала сама правильный урл, а вот в товарах это очень долго. помогите разобраться, уже прям зхамулилась с этими ссылками. очень жду!!

Link to comment
Share on other sites


прописала рукаи для некоторых товаров чпу, но они все равно не появляются. в чем может быть ошибка??

Link to comment
Share on other sites


может я зря волнуюсь и автоматически при заливке и не должны прописываться чпу? может быть нужно модуль какой-то сивить дополнительно?

Link to comment
Share on other sites


  • 7 months later...
В 07.05.2018 в 13:08, Sterords сказал:

Осился актуальный вопрос... Как заменить ссылки:

1. site.ru/index.php?route=information/contact

2. site.ru/index.php?route=account/account

3. site.ru/index.php?route=account/register

4. site.ru/index.php?route=account/login

5. site.ru/index.php?route=account/wishlist

6. site.ru/index.php?route=checkout/cart

7. site.ru/index.php?route=checkout/checkout

 

на

 

1. site.ru/contact

2. site.ru/account

3. site.ru/register

4. site.ru/login

5. site.ru/wishlist

6. site.ru/cart

7. site.ru/checkout

Как решить эту проблему на сео урл? без сео про ! Заранее спасипотому что

Link to comment
Share on other sites


  • 5 months later...

Тоже различными манипуляциями решил этот вопрос осилось только вот с этим решить index.php?route=account/recurring

Link to comment
Share on other sites


  • 2 months later...
В 07.06.2019 в 08:22, Ivanzo сказал:

Тоже различными манипуляциями решил этот вопрос осилось только вот с этим решить index.php?route=account/recurring

Как? Второй гдень потому чторюсь. Для ситических страниц не получается

Link to comment
Share on other sites


  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.