Author Topic: SEO URL  (Read 4631 times)

CTGO.co

  • Guest
SEO URL
« on: January 04, 2019, 08:48:48 AM »
Hello,

First of all, My website working great now after the support which I got from ABANTECART TEAM so thank you so much for your support. I have only an issue with showing the (seo url) for maybe some reasons, for example in the website search browser when searching next keyword (alpaka) should guide to next link: https://ctgo.co/alpaka but instead of that its going to show next link:https://ctgo.co/index.php?rt=product/search&keyword=alpaka&category_id=0 and without going to that page at all ....  is there something should be to edit to fix it or there is something missing in the sittings ??

Thank you All
have a nice weekend

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: SEO URL
« Reply #1 on: January 06, 2019, 08:55:50 AM »
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

CTGO.co

  • Guest
Re: SEO URL
« Reply #2 on: January 10, 2019, 09:59:25 AM »
Didi you follow these instructions?
https://abantecart.atlassian.net/wiki/spaces/AD/pages/7962664/SEO+URL+s

Hello Mr. BASARA!

sorry for delay, I contacted the hosting company and they did replied that it is active,  I thought I should share the contain of .htaccess here and maybe there is some wrong in the code of the contain:


# 1. To use URL Aliases you need to be running apache with mod_rewrite enabled.

# 2. In your abantecart main directory rename file htaccess.txt to .htaccess

# 3. Edit file .htaccess. If abantecart is installed in yourdomain/ subfolder change configuration line  RewriteBase /
# Example:  yourdomain.com/store   use RewriteBase /
# Important to have / at the end of the line.

# 4. if htaccess and mode_rewrite still does not works - check and set apache2 webserver directive AllowOverride All for your virtual hosts

# For any support issues please visit: http://forum.abantecart.com

Options +SymLinksIfOwnerMatch

# Prevent Directory listing
Options -Indexes

# Prevent Direct Access to files
<FilesMatch "\.tpl">
Order deny,allow
Deny from all
</FilesMatch>


RewriteEngine on

# Rewrite section for retina high-res images with @2x in the end of filename base on cookie HTTP_IS_RETINA
# To emulate Retina mode on your NON-Retina display, add HTTP_IS_RETINA cookie in your browser
RewriteCond %{HTTP_COOKIE} HTTP_IS_RETINA [NC]
RewriteCond %{REQUEST_FILENAME} !@2x
RewriteRule ^(.*)\.(gif|jpg|jpeg|png)$ $1@2x.$2
# if @2x isn't available fulfill the original request
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)@2x\.(gif|jpg|jpeg|png)$ $1.$2

# SEO URL Settings
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\?*$ index.php?_route_=$1 [L,QSA]

# SITE PERFORMANCE TUNING #
# Browser Caching, Compression and Headers cache control
# This is to manage browser cache and improve site loading
# NOTE: If you do active development disable this as you will need to clear your browser cache manually

# Enable Compression
<IfModule mod_deflate.c>
  AddOutputFilterByType DEFLATE application/javascript
  AddOutputFilterByType DEFLATE application/rss+xml
  AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
  AddOutputFilterByType DEFLATE application/x-font
  AddOutputFilterByType DEFLATE application/x-font-opentype
  AddOutputFilterByType DEFLATE application/x-font-otf
  AddOutputFilterByType DEFLATE application/x-font-truetype
  AddOutputFilterByType DEFLATE application/x-font-ttf
  AddOutputFilterByType DEFLATE application/x-javascript
  AddOutputFilterByType DEFLATE application/xhtml+xml
  AddOutputFilterByType DEFLATE application/xml
  AddOutputFilterByType DEFLATE font/opentype
  AddOutputFilterByType DEFLATE font/otf
  AddOutputFilterByType DEFLATE font/ttf
  AddOutputFilterByType DEFLATE image/svg+xml
  AddOutputFilterByType DEFLATE image/x-icon
  AddOutputFilterByType DEFLATE text/css
  AddOutputFilterByType DEFLATE text/html
  AddOutputFilterByType DEFLATE text/javascript
  AddOutputFilterByType DEFLATE text/plain
</IfModule>
<IfModule mod_gzip.c>
  mod_gzip_on Yes
  mod_gzip_dechunk Yes
  mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
  mod_gzip_item_include handler ^cgi-script$
  mod_gzip_item_include mime ^text/.*
  mod_gzip_item_include mime ^application/x-javascript.*
  mod_gzip_item_exclude mime ^image/.*
  mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</IfModule>
# Leverage Browser Caching
<IfModule mod_expires.c>
  ExpiresActive On
  ExpiresByType image/jpg "access 1 year"
  ExpiresByType image/jpeg "access 1 year"
  ExpiresByType image/gif "access 1 year"
  ExpiresByType image/png "access 1 year"
  ExpiresByType text/css "access 1 month"
  ExpiresByType text/html "access 1 month"
  ExpiresByType application/pdf "access 1 month"
  ExpiresByType text/x-javascript "access 1 month"
  ExpiresByType application/x-shockwave-flash "access 1 month"
  ExpiresByType image/x-icon "access 1 year"
  ExpiresDefault "access 1 month"
</IfModule>
<IfModule mod_headers.c>
  Header set Connection keep-alive
  <filesmatch "\.(ico|flv|jpg|jpeg|png|gif|css|swf)$">
  Header set Cache-Control "max-age=2678400, public"
  </filesmatch>
  <filesmatch "\.(html|htm)$">
  Header set Cache-Control "max-age=7200, private, must-revalidate"
  </filesmatch>
  <filesmatch "\.(pdf)$">
  Header set Cache-Control "max-age=86400, public"
  </filesmatch>
  <filesmatch "\.(js)$">
  Header set Cache-Control "max-age=2678400, private"
  </filesmatch>
</IfModule>



Do you think something missing here ??


Thank you Sir

Regards

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5774
  • Karma: +274/-2
    • View Profile
Re: SEO URL
« Reply #3 on: January 11, 2019, 12:41:01 AM »
Hi.
If your products pages are accessible via pages like https://ctgo.co/alpaka everything is configured correctly.
Every product page include canonical url meta tag so search engines know the right page even if they access your product pages via links like https://ctgo.co/index.php?rt=product/search&keyword=alpaka&category_id=0

CTGO.co

  • Guest
Re: SEO URL
« Reply #4 on: January 23, 2019, 07:16:40 AM »
Hi.
If your products pages are accessible via pages like https://ctgo.co/alpaka everything is configured correctly.
Every product page include canonical url meta tag so search engines know the right page even if they access your product pages via links like https://ctgo.co/index.php?rt=product/search&keyword=alpaka&category_id=0

Hi Mr. BASARA!

sorry for delay because I was sick all those past days. everything is configured correctly, what shall I do to make the link looks like this: https://ctgo.co/alpaka ??


Regards  and thank you for your help

Offline maxter

  • Full Member
  • ***
  • Posts: 228
  • Karma: +64/-0
    • View Profile
Re: SEO URL
« Reply #5 on: January 23, 2019, 01:25:19 PM »
I think it is time for you to hire help.

There are many posts on the forum with SEO setup help and manual posted above.
Looks like you cannot do this by yourself.

Here is a link with people who can help you:
https://www.fiverr.com/search/gigs?utf8=✓&source=top-bar&locale=en&search_in=everywhere&query=abantecart&search-autocomplete-original-term=&search-autocomplete-original-term=abantecart
« Last Edit: January 24, 2019, 01:41:58 AM by Basara »

 

Powered by SMFPacks Social Login Mod