Post by khairjalees » Mon Jan 21, 2019 9:06 pm

I am trying to change the url that is displayed for visitors from the ugly index.php route= to the one I specify in the product and seo tab, bu unfortunately what ever seo link i put in the product tab, it is work as a way of accessing the product but the link that is displayed for any visitor access a product from the home page is the still the ugly url.
Exampl:
https://www.khairjalees.com/index.php?_ ... The_Secret
it is suppose to be: https://www.khairjalees.com/The_Secret (which work if you try it but it is not the main url that is displayed)

** I enabled .htaccess file **
also tried extension such as friendly url for oc 3020 but did not work

New member

Posts

Joined
Sun Oct 28, 2018 3:53 pm

Post by paulfeakins » Tue Jan 22, 2019 6:44 pm

You need to turn on SEO URLs in the admin.

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by khairjalees » Wed Jan 23, 2019 4:07 pm

SEO is already on from the admin setting.

New member

Posts

Joined
Sun Oct 28, 2018 3:53 pm

Post by marianoitaliano » Fri Jan 25, 2019 6:48 am

Remember to change URL's wisely, especially referring to older products. If some of your products generate organic traffic then changing their addresses without redirection will make you lost positions in SERP's. The same applies to backlinks you gained.

User avatar

Posts

Joined
Mon Jan 14, 2019 1:12 am


Post by khnaz35 » Fri Jan 25, 2019 11:48 am

marianoitaliano wrote:
Fri Jan 25, 2019 6:48 am
Remember to change URL's wisely, especially referring to older products. If some of your products generate organic traffic then changing their addresses without redirection will make you lost positions in SERP's. The same applies to backlinks you gained.
Agreed but he still can redirect same old url through .htaccess file

Urgent Questions shoot here: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by marianoitaliano » Mon Jan 28, 2019 5:05 am

khnaz35 wrote:
Fri Jan 25, 2019 11:48 am
marianoitaliano wrote:
Fri Jan 25, 2019 6:48 am
Remember to change URL's wisely, especially referring to older products. If some of your products generate organic traffic then changing their addresses without redirection will make you lost positions in SERP's. The same applies to backlinks you gained.
Agreed but he still can redirect same old url through .htaccess file
You just need to be sure what you're doing when you decide to rummage inside .htaccess :)

User avatar

Posts

Joined
Mon Jan 14, 2019 1:12 am


Post by 3dprintscanada.com » Sat Sep 24, 2022 1:34 pm

paulfeakins wrote:
Tue Jan 22, 2019 6:44 pm
You need to turn on SEO URLs in the admin.
Sorry for reviving this old thread, but could you be more specific? I'm running 2.0.1.1 and my web host played with the setting a bit, I can't find said 'Admin' panel with the SEO URL option, could you please point out more precisely or with the generated URL where it is so I can find it out?

Thanks!


Posts

Joined
Mon Sep 14, 2020 12:10 am

Post by khnaz35 » Mon Oct 17, 2022 7:38 pm

It should be under system/setting

Urgent Questions shoot here: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by by mona » Mon Oct 17, 2022 8:03 pm

Please search the forum for SEO urls
You need to turn on SEO urls in admin => system => settings under the SERVER tab
You also need to edit the htaccess (as htaccess is related to your SERVER)
This has been answered numerous times on the forum

It is also explained in the official documentation http://docs.opencart.com/en-gb/administration/seo/
THIS PART

Code: Select all

RewriteBase /
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
but it will depend on how your site is set up - for example if your site is set up in a subfolder

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


Spinning Social : Links : Menus : Payments : Socials : Ads : Screen Backgrounds : Galleries : Headers : Banners : Promos


Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am
Who is online

Users browsing this forum: Semrush [Bot] and 17 guests