Hi all,
Is there a way to delete the little square box before header links? See the very top of the page - my account, wishlist etc http://www.teesmedesigns.co.uk/index.php
Is there a way to delete the little square box before header links? See the very top of the page - my account, wishlist etc http://www.teesmedesigns.co.uk/index.php
Those little squares are where the icons normally appear. It could be some .htaccess file on your server that might be restricting access to the icon files.
- Mel
- Mel
http://online.enterpriseconsulting.com.au
Site with OpenCart extensions & code downloads, many new extensions coming soon!
Follow us on twitter for more updates
Thanks Mel,
It seems to have fixed itself now but every so often it reverts back to the squares. Has anyone else ever come across this?
Many thanks
Stuart
It seems to have fixed itself now but every so often it reverts back to the squares. Has anyone else ever come across this?
Many thanks
Stuart
Hi Stuart,
this is a known problem. Modify your .htaccess file to always redirect to the www url. That way no matter what your user enters they are taken to the domain with your icons showing. And check that you aren't restricting access to the icons.
- Mel
this is a known problem. Modify your .htaccess file to always redirect to the www url. That way no matter what your user enters they are taken to the domain with your icons showing. And check that you aren't restricting access to the icons.
- Mel
http://online.enterpriseconsulting.com.au
Site with OpenCart extensions & code downloads, many new extensions coming soon!
Follow us on twitter for more updates
Hi Mel,melbagnato wrote:Hi Stuart,
this is a known problem. Modify your .htaccess file to always redirect to the www url. That way no matter what your user enters they are taken to the domain with your icons showing. And check that you aren't restricting access to the icons.
- Mel
I cannot find my .htaccess file on my server but have found a copy from the original .zip. What exactly whould i be changing in here? For me it seems like i lose the icons when it starts with www and i get the icons without it.
Many thanks
This should help you on what to add to it.
http://www.htaccessbasics.com/force-www-nonwww-domain
http://www.htaccessbasics.com/force-www-nonwww-domain
Thanks very much. I have added the script to the bottom of the file and uploaded to where the opencart filders are uploaded (same place as index.php) but it doesn't seem to make any difference. Can anyone please help me work out what i've done wrone please?dabomb59404 wrote:This should help you on what to add to it.
http://www.htaccessbasics.com/force-www-nonwww-domain
Code: Select all
# 1.To use URL Alias you need to be running apache with mod_rewrite enabled.
# 2. In your opencart directory rename htaccess.txt to .htaccess.
# For any support issues please visit: http://www.opencart.com
Options +FollowSymlinks
# Prevent Directoy listing
Options -Indexes
# Prevent Direct Access to files
<FilesMatch "(?i)((\.tpl|\.ini|\.log|(?<!robots)\.txt))">
Order deny,allow
Deny from all
</FilesMatch>
# 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 /
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
RewriteRule ^download/(.*) /index.php?route=error/not_found [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]
### Additional Settings that may need to be enabled for some servers
### Uncomment the commands by removing the # sign in front of it.
### If you get an "Internal Server Error 500" after enabling any of the following settings, restore the # as this means your host doesn't allow that.
# 1. If your cart only allows you to add one item at a time, it is possible register_globals is on. This may work to disable it:
# php_flag register_globals off
# 2. If your cart has magic quotes enabled, This may work to disable it:
# php_flag magic_quotes_gpc Off
# 3. Set max upload file size. Most hosts will limit this and not allow it to be overridden but you can try
# php_value upload_max_filesize 999M
# 4. set max post size. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
# php_value post_max_size 999M
# 5. set max time script can take. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
# php_value max_execution_time 200
# 6. set max time for input to be recieved. Uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
# php_value max_input_time 200
# 7. disable open_basedir limitations
# php_admin_value open_basedir none
# Redirect www urls to non-www
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.teesmedesigns\.co.uk [NC]
RewriteRule (.*) http://teesmedesigns.co.uk/$1 [R=301,L]
Try this:
RewriteCond %{HTTP_HOST} ^www\.teesmedesigns\.co\.uk [NC]
RewriteRule (.*) http://teesmedesigns.co.uk/$1 [R=301,L]
Also make sure the file is named .htaccess and not .htaccess.txt.
RewriteCond %{HTTP_HOST} ^www\.teesmedesigns\.co\.uk [NC]
RewriteRule (.*) http://teesmedesigns.co.uk/$1 [R=301,L]
Also make sure the file is named .htaccess and not .htaccess.txt.
Perfect, thank you. This code worked:dabomb59404 wrote:Try this:
RewriteCond %{HTTP_HOST} ^www\.teesmedesigns\.co\.uk [NC]
RewriteRule (.*) http://teesmedesigns.co.uk/$1 [R=301,L]
Also make sure the file is named .htaccess and not .htaccess.txt.
RewriteCond %{HTTP_HOST} ^www\.teesmedesigns\.co\.uk [NC]
RewriteRule (.*) http://teesmedesigns.co.uk/$1 [R=301,L]
but it was named .txt - I couldn't simply rename this to remove the .txt so for anyone looking to resolve this you have to save as ".htaccess" including the quotes! Uploading that file fixed my issue.
Thanks everyone!
Who is online
Users browsing this forum: No registered users and 172 guests