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
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
You need to turn on SEO URLs in the admin.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
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 filemarianoitaliano wrote: ↑Fri Jan 25, 2019 6:48 amRemember 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.
Urgent Questions shoot here: khnaz35@gmail.com
Enjoy nature
You just need to be sure what you're doing when you decide to rummage inside .htaccesskhnaz35 wrote: ↑Fri Jan 25, 2019 11:48 amAgreed but he still can redirect same old url through .htaccess filemarianoitaliano wrote: ↑Fri Jan 25, 2019 6:48 amRemember 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.
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!
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
but it will depend on how your site is set up - for example if your site is set up in a subfolder
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]
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.
https://www.youtube.com/watch?v=zXIxDoCRc84
Who is online
Users browsing this forum: OSWorX, paulfeakins and 413 guests