Here is what I did:
1. Ensured that Mod_Rewrite is enabled in my server/site.
2. Change htaccess.txt to .htaccess
3. Copy pasted text to my .htaccess as given here http://textuploader.com/drsb6
4. Enabled SEO URL from the admin/settings
5. Entered SEO Keywords without space/special characters/capital letters
Now when I click a product that's SEO optimized, the url works perfectly i.e., it shows as sitename.com/product-name. But the page content loads homepage only although URL is of product's.
Could you please help me?
1. Ensured that Mod_Rewrite is enabled in my server/site.
2. Change htaccess.txt to .htaccess
3. Copy pasted text to my .htaccess as given here http://textuploader.com/drsb6
4. Enabled SEO URL from the admin/settings
5. Entered SEO Keywords without space/special characters/capital letters
Now when I click a product that's SEO optimized, the url works perfectly i.e., it shows as sitename.com/product-name. But the page content loads homepage only although URL is of product's.
Could you please help me?
Hi,
This issue can resolve through .htaccess file. Please check your .htaccess file
Options +FollowSymlinks
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^www\.
RewriteCond %{HTTP_HOST} !^*ip*
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
This issue can resolve through .htaccess file. Please check your .htaccess file
Options +FollowSymlinks
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^www\.
RewriteCond %{HTTP_HOST} !^*ip*
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
Regards,
Knowband Team
Opencart Plugins: Knowband Store
Email: support@knowband.com
Thats already in his file.knowband.plugins wrote: ↑Fri Apr 28, 2017 10:07 pmHi,
This issue can resolve through .htaccess file. Please check your .htaccess file
Options +FollowSymlinks
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^www\.
RewriteCond %{HTTP_HOST} !^*ip*
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
Whats wrong ?
Thats already in his file.knowband.plugins wrote: ↑Fri Apr 28, 2017 10:07 pmHi,
This issue can resolve through .htaccess file. Please check your .htaccess file
Options +FollowSymlinks
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^www\.
RewriteCond %{HTTP_HOST} !^*ip*
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
Whats wrong ?
I think you have not set the correct setting on the server:
make shore the Rewrite is on
$ sudo a2enmod rewrite
$sudo service apache2 restart
on the server find your /etc/apache2/sites-available
in your installation and change the sites-available **.conf
the <Directory "/var/www/xxxxxxxxxx.xx/public_html"> must match where you have the open cart root
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
<Directory "/var/www/xxxxxxxxxx.xx/public_html">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
make shore the Rewrite is on
$ sudo a2enmod rewrite
$sudo service apache2 restart
on the server find your /etc/apache2/sites-available
in your installation and change the sites-available **.conf
the <Directory "/var/www/xxxxxxxxxx.xx/public_html"> must match where you have the open cart root
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
<Directory "/var/www/xxxxxxxxxx.xx/public_html">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
here you will find the .htaccess update script https://karimzi.blogspot.com/2021/06/op ... rking.html copy all and replacce it to your .htaccess
I hope will work.
I hope will work.
Your site is in a sub-directory, or you're using an Alias, but you did not set RewriteBase in . htaccess file. # Modify the RewriteBase if you are using PHPKB in a subdirectory and the rewrite rules are not working properly. Make sure you remove the # symbol in front of RewriteBase, otherwise this will not work.
I’m also having this exact issue. It there already an Solution to this problem? I have the same problem.
You would be best to post details of your site, the exact issue you have and what you have already tried.
Pleased to see your issue as I think I have the same problem ,I am also confused and in need of light on this same issue. Need help.
Feel free to read these, I am sure you will find the help you need.ADD Creative wrote: ↑Wed Aug 04, 2021 7:53 pmYou would be best to post details of your site, the exact issue you have and what you have already tried.
https://www.google.com/search?client=sa ... 8&oe=UTF-8
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
Is there a question in that or are you just letting us know?
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: No registered users and 67 guests