Post by ayush.sharma » Sun Apr 12, 2020 1:27 pm

I enabled opencart seo friendly url(with proper .htaccess config) and its working fine.
Whole site is running fine except blog posts.

When I click on "Read more" it redirects to site.com/route=error/.... and gives 404 not found error. The seo keyword is assigned to each blog post like word1-word2..
The URL generated on "Read more" is as per the seo keyword that is being used in the blog post(journal theme).
Url pattern is "site.com/seo-keyword". ".htaccess" file settings are given below:

Code: Select all

# SEO URL Settings
RewriteEngine On
# If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/
RewriteBase /ocart2/
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]

Newbie

Posts

Joined
Sun Apr 12, 2020 1:23 pm

Post by straightlight » Sun Apr 12, 2020 11:12 pm

Contact the Blog extension developer to resolved this issue with the Journal theme.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 11 guests