Apologies, I wasn't very clear. I did rename the file to .htaccess
I have just tried it again. And then I can't login to our admin module - internal server error - so I have renamed it back to a txt file, so that everything works ok.
If anyone has any ideas that would be great.
Thanks
Gill
DL
This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.
Thanks!
All my urls are generated with the
Code: Select all
?_route_=
They used to look like .com/beachwear/sarongs
now
http://islandstuffusa.com/?_route_=sarongs/beachwear
I have made some additional mods to the .htacess file but I removing them doesn't fix it so it leads me to belive they are not the cause.
Full active part of htaccess file is
Code: Select all
RewriteOptions inherit
Options +FollowSymlinks
# Prevent Directoy listing
Options -Indexes
# Prevent Direct Access to files
<FilesMatch "\.(tpl|ini|log)">
Order deny,allow
Deny from all
</FilesMatch>
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]
RewriteEngine On
Redirect 301 /www.islandstuffusa.com http://islandstuffusa.com
Redirect 301 /islandstuffusa.com/index.php http://islandstuffusa.com
Redirect 301 /islandstuffusa.com/index.php?route=common/home http://islandstuffusa.com
Reason: Added oode tags.
Anyone have any idea, I bought the mobile module and that is all I have changed but I looked through it and I dont see where it would have done this.
I would disable the mobile module first and see if everything goes back to the way it should be. This will give you a good starting point. If it's the module, you'll need to contact the developer and see what they have to say.yeagerd wrote:I have to get this figured out. My cart had all the urls just fine. Now it is serving up this junk string in the middle of the URL, normally would just be annoying except that the cart is still putting up a rel canonical with the pretty url. Which equals, none of the search engines serving any pages.
Anyone have any idea, I bought the mobile module and that is all I have changed but I looked through it and I dont see where it would have done this.
Your site is indexed in Google and you can see that by typing this into the search bar: site:islandstuffusa.com
The issue of your site not showing up for search terms is a search engine optimization related issue.
DL
This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.
Thanks!
I did go to system-->>settings and tell it to use SEO URL's before I changed the .htaccess file, but then it throws the internal server error. I will try the next thing you suggested. Where would I find that command?
Many thanks
Gill
If it's a vqmod, disable it. If it's an extension without a vqmod, you'll have to FTP and remove the files to see if goes back to normal for you or not.speedimpex wrote:Hi there
I did go to system-->>settings and tell it to use SEO URL's before I changed the .htaccess file, but then it throws the internal server error. I will try the next thing you suggested. Where would I find that command?
Many thanks
Gill
DL
This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.
Thanks!
If I enable SEO then we lose some of our products.
What does the command +FollowSymLinks do? You mentioned removing it.
thanks
Gill
Some servers don't like this code. comment it out or remove it and then test. Just have a backup copy in case things get worse and you need to go back.speedimpex wrote:I do not understand what the vqmod is. The SEO is part of the install we're on (4.1.9.5)
If I enable SEO then we lose some of our products.
What does the command +FollowSymLinks do? You mentioned removing it.
thanks
Gill
DL
This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.
Thanks!
Under our structure where we upload files from we have 2 htaccess files at the root of C:\Users\Speedy\Downloads\opencart_v1.4.8b\upload\
One is .htaccess and one is .htaccess.txt
Where should the file be? Is it at the root of html\speedypetshop.co.uk? In which case that's right isn't it? Where it's set to .htaccess
But when I enable SEO we get products missing.
I'm sorry, but I wonder if I've just got very mixed up, or whether I've mixed things up because I have variants of the htaccess file in more than 1 place.
Thanks
Gill
Hi,speedimpex wrote:we have the htaccess file in 2 places. At the root of html we have a .htaccess.txt file. Then at the root of html\speedypetshop.co.uk we have .htaccess
Under our structure where we upload files from we have 2 htaccess files at the root of C:\Users\Speedy\Downloads\opencart_v1.4.8b\upload\
One is .htaccess and one is .htaccess.txt
Where should the file be? Is it at the root of html\speedypetshop.co.uk? In which case that's right isn't it? Where it's set to .htaccess
But when I enable SEO we get products missing.
I'm sorry, but I wonder if I've just got very mixed up, or whether I've mixed things up because I have variants of the htaccess file in more than 1 place.
Thanks
Gill
You should be concerned with the .htaccess file located under the /upload/ folder (if you really installed all of those additional folders on your server).
Let me know if that makes more sense.
DL
This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.
Thanks!
I had the server 500 error, I deleted the line - Options +FollowSymlinks from the htaccess file and it works for me.
Just incase it may work for others.
http://www.ButterflyWish.co.uk
I have been having problems trying to get this SEO url friendly to work. I tried going through the root in search for the htaccess.txt file but no luck. I changed the settings on my ftp to see hidden files and i still dont see the file. So I decided to just create the file .htaccess with the changes and saved it. I gave all the products and catagories seo keywords and changed the settings on opencart. The url does look proper, but when clicking on a product or catagory the browser is giving me an error stating that it cant find the page!
Please help me
The file probably wasn't there because you weren't viewing hidden files when you did the initial upload. Make sure your browser cookies and the cache are cleared out. A like to the site is always helpful too when trying to troubleshoot.Dread_Prod wrote:Hello,
I have been having problems trying to get this SEO url friendly to work. I tried going through the root in search for the htaccess.txt file but no luck. I changed the settings on my ftp to see hidden files and i still dont see the file. So I decided to just create the file .htaccess with the changes and saved it. I gave all the products and catagories seo keywords and changed the settings on opencart. The url does look proper, but when clicking on a product or catagory the browser is giving me an error stating that it cant find the page!
Please help me
DL
This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.
Thanks!
If you have already confirmed that mod_rewrite is enabled on your server, check to see that you can actually rewrite something in htaccess.
First, make a copy of your current htaccess file.
Then remove everything in it and add just this to your htaccess file.
Code: Select all
RewriteEngine on
RewriteRule test\.htm http://www.google.com [R]
If it doesn't, the server may not be allowing htaccess files to modify your domain settings. You'll need to contact your host and let them know that you want to be able to use .htaccess files to modify your settings. Some hosts do NOT have this setup as you would expect and some hosts don't even allow it.
Code: Select all
RewriteEngine on
RewriteRule test\.htm http://www.google.com [R]
But I can' t seem to work my SEO on opencart 1.5.1.3.
I renamed the file.. i did exactly like you said. This is what I got in my .htacess file:
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 "\.(tpl|ini|log)">
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]
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
Nothing really works.
Can somebody please help me?
2012-12-12 7:41:16 - PHP Warning: unlink(/home/content/70/8653470/html/system/cache/cache.store.1355322935) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in /home/content/70/8653470/html/system/library/cache.php on line 14
2012-12-12 7:41:17 - PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at /home/content/70/8653470/html/index.php:104) in /home/content/70/8653470/html/system/library/session.php on line 11
2012-12-12 7:41:17 - PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/content/70/8653470/html/index.php:104) in /home/content/70/8653470/html/system/library/session.php on line 11
2012-12-12 7:41:18 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/70/8653470/html/index.php:104) in /home/content/70/8653470/html/index.php on line 179
2012-12-12 7:41:18 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/70/8653470/html/index.php:104) in /home/content/70/8653470/html/system/library/currency.php on line 45
2012-12-12 8:09:40 - PHP Notice: Error: MySQL server has gone away<br />Error No: 2006<br />SELECT SUM(amount) AS total FROM oc_customer_transaction WHERE customer_id = '0' in /home/content/70/8653470/html/system/database/mysql.php on line 49
2012-12-13 4:21:31 - PHP Notice: Error: MySQL server has gone away<br />Error No: 2006<br />SELECT * FROM oc_language in /home/content/70/8653470/html/system/database/mysql.php on line 49
2012-12-13 5:42:17 - PHP Warning: unlink(/home/content/70/8653470/html/system/cache/cache.product.8.0.8.250318b643d48e89fff8561086517e6d.1355401017) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in /home/content/70/8653470/html/system/library/cache.php on line 14
2012-12-13 5:42:17 - PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at /home/content/70/8653470/html/index.php:104) in /home/content/70/8653470/html/system/library/session.php on line 11
2012-12-13 5:42:17 - PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/content/70/8653470/html/index.php:104) in /home/content/70/8653470/html/system/library/session.php on line 11
2012-12-13 5:42:17 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/70/8653470/html/index.php:104) in /home/content/70/8653470/html/index.php on line 179
2012-12-13 5:42:17 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/70/8653470/html/index.php:104) in /home/content/70/8653470/html/system/library/currency.php on line 45
2012-12-13 11:15:38 - PHP Notice: Error: MySQL server has gone away<br />Error No: 2006<br />SELECT * FROM oc_language in /home/content/70/8653470/html/system/database/mysql.php on line 49
2012-12-13 11:15:39 - PHP Notice: Error: MySQL server has gone away<br />Error No: 2006<br />SELECT * FROM oc_language in /home/content/70/8653470/html/system/database/mysql.php on line 49
2012-12-13 11:15:39 - PHP Notice: Error: MySQL server has gone away<br />Error No: 2006<br />SELECT * FROM oc_language in /home/content/70/8653470/html/system/database/mysql.php on line 49
2012-12-13 11:15:40 - PHP Notice: Error: MySQL server has gone away<br />Error No: 2006<br />SELECT * FROM oc_language in /home/content/70/8653470/html/system/database/mysql.php on line 49
2012-12-13 11:15:40 - PHP Notice: Error: MySQL server has gone away<br />Error No: 2006<br />SELECT * FROM oc_language in /home/content/70/8653470/html/system/database/mysql.php on line 49
2012-12-13 11:20:56 - PHP Notice: Undefined index: option_value_id in /home/content/70/8653470/html/admin/model/catalog/product.php on line 169
2012-12-13 11:20:57 - PHP Notice: Undefined index: option_value_id in /home/content/70/8653470/html/admin/model/catalog/product.php on line 169
2012-12-13 11:20:58 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/70/8653470/html/admin/index.php:83) in /home/content/70/8653470/html/vqmod/vqcache/vq2-system_engine_controller.php on line 28
2012-12-13 11:20:59 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/70/8653470/html/admin/index.php:83) in /home/content/70/8653470/html/vqmod/vqcache/vq2-system_engine_controller.php on line 29
2012-12-13 11:22:27 - PHP Notice: Undefined index: option_value_id in /home/content/70/8653470/html/admin/model/catalog/product.php on line 169
2012-12-13 11:22:27 - PHP Notice: Undefined index: option_value_id in /home/content/70/8653470/html/admin/model/catalog/product.php on line 169
2012-12-13 11:22:34 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/70/8653470/html/admin/index.php:83) in /home/content/70/8653470/html/vqmod/vqcache/vq2-system_engine_controller.php on line 28
2012-12-13 11:22:34 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/70/8653470/html/admin/index.php:83) in /home/content/70/8653470/html/vqmod/vqcache/vq2-system_engine_controller.php on line 29
2012-12-13 11:25:39 - PHP Notice: Undefined index: points in /home/content/70/8653470/html/admin/model/catalog/product.php on line 123
2012-12-13 11:25:40 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/70/8653470/html/admin/index.php:83) in /home/content/70/8653470/html/vqmod/vqcache/vq2-system_engine_controller.php on line 28
2012-12-13 11:25:40 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/70/8653470/html/admin/index.php:83) in /home/content/70/8653470/html/vqmod/vqcache/vq2-system_engine_controller.php on line 29
2012-12-13 11:52:33 - PHP Notice: Error: MySQL server has gone away<br />Error No: 2006<br />SELECT * FROM oc_language in /home/content/70/8653470/html/system/database/mysql.php on line 49
2012-12-13 11:52:33 - PHP Notice: Error: MySQL server has gone away<br />Error No: 2006<br />SELECT * FROM oc_language in /home/content/70/8653470/html/system/database/mysql.php on line 49
2012-12-13 11:52:33 - PHP Notice: Error: MySQL server has gone away<br />Error No: 2006<br />SELECT * FROM oc_language in /home/content/70/8653470/html/system/database/mysql.php on line 49
2012-12-13 11:56:16 - PHP Notice: Error: MySQL server has gone away<br />Error No: 2006<br />SELECT * FROM oc_language in /home/content/70/8653470/html/system/database/mysql.php on line 49
2012-12-13 13:23:03 - PHP Notice: Undefined index: option_value_id in /home/content/70/8653470/html/admin/model/catalog/product.php on line 169
2012-12-13 13:23:04 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/70/8653470/html/admin/index.php:83) in /home/content/70/8653470/html/vqmod/vqcache/vq2-system_engine_controller.php on line 28
2012-12-13 13:23:04 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/70/8653470/html/admin/index.php:83) in /home/content/70/8653470/html/vqmod/vqcache/vq2-system_engine_controller.php on line 29
2012-12-14 6:11:33 - PHP Warning: mail() [<a href='function.mail'>function.mail</a>]: Bad parameters to mail() function, mail not sent. in /home/content/70/8653470/html/system/library/mail.php on line 157
2012-12-15 8:00:04 - PHP Notice: Error: MySQL server has gone away<br />Error No: 2006<br />SELECT * FROM oc_language in /home/content/70/8653470/html/system/database/mysql.php on line 49
2012-12-16 5:48:17 - PHP Warning: unlink(/home/content/70/8653470/html/system/cache/cache.product.8.0.8.74d81b5e75d650d3a15bd8d19db874f0.1355662050) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in /home/content/70/8653470/html/system/library/cache.php on line 14
2012-12-16 5:48:17 - PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at /home/content/70/8653470/html/index.php:104) in /home/content/70/8653470/html/system/library/session.php on line 11
2012-12-16 5:48:18 - PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/content/70/8653470/html/index.php:104) in /home/content/70/8653470/html/system/library/session.php on line 11
2012-12-16 5:48:18 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/70/8653470/html/index.php:104) in /home/content/70/8653470/html/index.php on line 179
2012-12-17 6:31:57 - PHP Notice: Error: MySQL server has gone away<br />Error No: 2006<br />SELECT * FROM oc_language in /home/content/70/8653470/html/system/database/mysql.php on line 49
2012-12-17 6:32:13 - PHP Notice: Error: MySQL server has gone away<br />Error No: 2006<br />SELECT * FROM oc_language in /home/content/70/8653470/html/system/database/mysql.php on line 49
2012-12-17 6:45:04 - PHP Warning: mail() [<a href='function.mail'>function.mail</a>]: Bad parameters to mail() function, mail not sent. in /home/content/70/8653470/html/system/library/mail.php on line 157
2012-12-17 8:07:18 - PHP Warning: unlink(/home/content/70/8653470/html/system/cache/cache.product.8.0.8.94249055662ce403866c61d5e22734f8.1355756815) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in /home/content/70/8653470/html/system/library/cache.php on line 14
2012-12-17 8:07:24 - PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/content/70/8653470/html/admin/index.php:83) in /home/content/70/8653470/html/system/library/session.php on line 11
2012-12-18 2:56:56 - PHP Warning: unlink(/home/content/70/8653470/html/system/cache/cache.zone.190.1355824615) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in /home/content/70/8653470/html/system/library/cache.php on line 14
2012-12-18 2:56:56 - PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/content/70/8653470/html/index.php:104) in /home/content/70/8653470/html/system/library/session.php on line 11
2012-12-18 2:56:56 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/70/8653470/html/index.php:104) in /home/content/70/8653470/html/system/library/captcha.php on line 40
2012-12-18 3:11:23 - PHP Warning: unlink(/home/content/70/8653470/html/system/cache/cache.category.1.0.1355825415) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in /home/content/70/8653470/html/system/library/cache.php on line 14
2012-12-18 3:11:23 - PHP Warning: unlink(/home/content/70/8653470/html/system/cache/cache.category.1.105.1355825414) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in /home/content/70/8653470/html/system/library/cache.php on line 14
2012-12-18 3:11:23 - PHP Warning: unlink(/home/content/70/8653470/html/system/cache/cache.category.1.110.1355825415) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in /home/content/70/8653470/html/system/library/cache.php on line 14
2012-12-18 3:11:23 - PHP Warning: unlink(/home/content/70/8653470/html/system/cache/cache.category.1.114.1355825413) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in /home/content/70/8653470/html/system/library/cache.php on line 14
2012-12-18 3:11:23 - PHP Warning: unlink(/home/content/70/8653470/html/system/cache/cache.category.1.25.1355825414) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in /home/content/70/8653470/html/system/library/cache.php on line 14
2012-12-18 3:11:23 - PHP Warning: unlink(/home/content/70/8653470/html/system/cache/cache.category.1.29.1355825414) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in /home/content/70/8653470/html/system/library/cache.php on line 14
2012-12-18 3:11:23 - PHP Warning: unlink(/home/content/70/8653470/html/system/cache/cache.category.1.60.1355825414) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in /home/content/70/8653470/html/system/library/cache.php on line 14
2012-12-18 3:11:23 - PHP Warning: unlink(/home/content/70/8653470/html/system/cache/cache.category.1.63.1355825414) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in /home/content/70/8653470/html/system/library/cache.php on line 14
2012-12-18 3:11:23 - PHP Warning: unlink(/home/content/70/8653470/html/system/cache/cache.category.1.67.1355825414) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in /home/content/70/8653470/html/system/library/cache.php on line 14
2012-12-18 3:11:23 - PHP Warning: unlink(/home/content/70/8653470/html/system/cache/cache.category.1.70.1355825415) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in /home/content/70/8653470/html/system/library/cache.php on line 14
2012-12-18 3:11:23 - PHP Warning: unlink(/home/content/70/8653470/html/system/cache/cache.category.1.73.1355825414) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in /home/content/70/8653470/html/system/library/cache.php on line 14
2012-12-18 3:11:23 - PHP Warning: unlink(/home/content/70/8653470/html/system/cache/cache.category.1.77.1355825414) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in /home/content/70/8653470/html/system/library/cache.php on line 14
2012-12-18 3:11:23 - PHP Warning: unlink(/home/content/70/8653470/html/system/cache/cache.category.1.79.1355825415) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in /home/content/70/8653470/html/system/library/cache.php on line 14
Reason: Added quote tags.
Users browsing this forum: Bing [Bot] and 22 guests