ScubaLessonsInc Posted April 13, 2011 Share Posted April 13, 2011 My site was perfectly working until I turned on friendly URL's. I regenerated the htaccess file and it shows the categories, the category images, even shows the list of products inside the categories, but when I click on View on the product list view, it says Page not availableError We're sorry, but the Web address you entered is no longer availableTo find a product, please type its name in the field belowSearch our product catalog:HomeSo, I read the forum, update the htaccess files with these two lines to replace lines 22 and 23: RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*) /cms.php?id_cms=$1 [QSA,L]RewriteRule ^content/category/([0-9]+)\-([a-zA-Z0-9-]*) /cms.php?id_cms_category=$1 [QSA,L] I regenerate the htaccess file and refresh and still not working. I checked the CMS page on the back office and all show friendly URL's, none missing. refreshed and tried again, no luck. Then I delete all the products and reimported just about 3000 of them to start. regenerated the htaccess file, opened to check the changed lines were still there they were but after that did refresh and still not working. I am stumped. I really need help! I have to have friendly URLs, I have over 23,000 products and need to have good SEO strategy. Please help me ANYONE! Site name is: https://toolsupplycenter.com Link to comment Share on other sites More sharing options...
ScubaLessonsInc Posted April 13, 2011 Author Share Posted April 13, 2011 Now the plot thickens.. I do my import and the products look GREAT on the site.. but in my back office where I should have 215 products I have 12.. WHAT IS GOING ON.. everything I get one thing fixed another breaks in prestashop.. I am getting so frustrated!!! Link to comment Share on other sites More sharing options...
jhnstcks Posted April 13, 2011 Share Posted April 13, 2011 My site was perfectly working until I turned on friendly URL's. I regenerated the htaccess file and it shows the categories, the category images, even shows the list of products inside the categories, but when I click on View on the product list view, it says Page not availableError We're sorry, but the Web address you entered is no longer availableTo find a product, please type its name in the field belowSearch our product catalog:HomeSo, I read the forum, update the htaccess files with these two lines to replace lines 22 and 23: RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*) /cms.php?id_cms=$1 [QSA,L]RewriteRule ^content/category/([0-9]+)\-([a-zA-Z0-9-]*) /cms.php?id_cms_category=$1 [QSA,L] I regenerate the htaccess file and refresh and still not working. I checked the CMS page on the back office and all show friendly URL's, none missing. refreshed and tried again, no luck. Then I delete all the products and reimported just about 3000 of them to start. regenerated the htaccess file, opened to check the changed lines were still there they were but after that did refresh and still not working. I am stumped. I really need help! I have to have friendly URLs, I have over 23,000 products and need to have good SEO strategy. Please help me ANYONE! Site name is: https://toolsupplycenter.com The htaccess modifications you mentioned above have nothing to do with browsing to products they are only for accessing the cms pages.You also say So, I read the forum, update the htaccess files with these two lines to replace lines 22 and 23: and then say I regenerate the htaccess file and refresh and still not working. so it looks like yo dified your htaccess then generated a new one which would overwrite your modification.I cant access you site to see what is happening as you have the UK traffic blocked. Link to comment Share on other sites More sharing options...
ScubaLessonsInc Posted April 13, 2011 Author Share Posted April 13, 2011 I checked the htaccess file after regenerating each time and each time they do still show the mods done.. I updated it for my SSL using the regenerate box in back end. I will unlock UK right now.. please take a look, appreciate any help you can offer. PM me and I will give you log in. Link to comment Share on other sites More sharing options...
jhnstcks Posted April 13, 2011 Share Posted April 13, 2011 Your categories block doesnt seem to be using friendly urls, is it the standard module or a customised one?Has your theme been converted to v1.4 compatibility?Your site seems to be runing in https mode all the time, but you have unsecure data on some pages, which will through errors up to your customers.I can't see why your product pages don't display properly.Can your pm some login details for the admin section please. Link to comment Share on other sites More sharing options...
ScubaLessonsInc Posted April 13, 2011 Author Share Posted April 13, 2011 Using version: PrestaShop™ 1.4.0.17SURE pm-ING NOW.. I am not sure what you mean on the catagories, but I did them in open office and imported my categories first then I imported my products with the category numbers listed on the product spreadsheet. I used open office to import in UTF-8 with ; seperators.. The theme is actually the original prestashop theme that I just copied and pasted in dreamweaver with a new name right after install to be sure it would be compatible I just changed over to my copied one and started doing edits in global.css, very minor changes. The only changes to it are global.css, colors and some basics like height or fonts in certain blocks and the image files were modified slightly. I changed positions and added the top nav bar. Very simple changes. I added rewrite code to htaccess to make the site run in SSL mode no matter how someone found it. I have SSL enabled on the important pages. There should be no errors or unsecured pages.. which are??Here is the code: RewriteEngine OnRewriteCond %{SERVER_PORT} 80RewriteRule ^(.*)$ https://www.toolsupplycenter.com/$1 [R,L]What data is unsecured? Look for my PM asap. Link to comment Share on other sites More sharing options...
jhnstcks Posted April 13, 2011 Share Posted April 13, 2011 The homepage shows as unsecure.Looks like its the homepage logo that is causing it. Link to comment Share on other sites More sharing options...
ScubaLessonsInc Posted April 13, 2011 Author Share Posted April 13, 2011 How can a basic .jpg or .gif file cause the page to be unsecure? Link to comment Share on other sites More sharing options...
ScubaLessonsInc Posted April 13, 2011 Author Share Posted April 13, 2011 Please email me any changes done. Thank you. PM sent. Link to comment Share on other sites More sharing options...
jhnstcks Posted April 13, 2011 Share Posted April 13, 2011 How can a basic .jpg or .gif file cause the page to be unsecure? Because the source of the file is http and not https. The editorial module isnt designed to be used on a page that is being secured using SSL so the code isnt using https to call the image.Not sure if this will work but in the editorial.php file at the bottom line 303 change the line: 'homepage_logo' => file_exists('modules/editorial/homepage_logo.jpg'), to 'homepage_logo' => file_exists('https://toolsupplycenter.com/modules/editorial/homepage_logo.jpg'), and see if that works Link to comment Share on other sites More sharing options...
ScubaLessonsInc Posted April 13, 2011 Author Share Posted April 13, 2011 Found it, and did the change, it was on line 345 not 303.. it was only on my remote sever, not local.. sorry. done.. page is still not loading at all now.. What changes were done? Link to comment Share on other sites More sharing options...
ScubaLessonsInc Posted April 13, 2011 Author Share Posted April 13, 2011 Now my site is all the sudden not loading at all! Only back end, no error messages just blank page. Did you make any changes? Link to comment Share on other sites More sharing options...
ScubaLessonsInc Posted April 13, 2011 Author Share Posted April 13, 2011 OK.. All good, just had to reset the GeoIP location to allow USA to be seen and access all features of store. Wheewww scary.. Now to Johnny's potential solution.. apparently my imported friendly URL's were not so friendly.. they had periods or underscores, so I have used edit replace and cleared up any symbol other than letter, number or minus sign and now I will delete all reimport and see if that does the trick.. wish me luck! I will let you know tomorrow! Link to comment Share on other sites More sharing options...
ScubaLessonsInc Posted April 14, 2011 Author Share Posted April 14, 2011 Looks like it worked.. but my hosting server locked me out again.. said excessive CPU resources used.. 3000 products loaded at one time was too much for thier little servers.. so I am running off to an aquatic based hosting company.. that should have the juice to handle all 23,000 items.. I will follow up soon with results on HostGator service .. wish me luck guys! JnyStks.. your the bomb.. thanks so much for stepping up and being so willing to go the extra mile with the help button I had screamming! So grateful.. come to Florida and we will do some diving! Link to comment Share on other sites More sharing options...
ScubaLessonsInc Posted April 21, 2011 Author Share Posted April 21, 2011 Guys.. ok.. got the new site up with HOSTGATOR.. must say it was a cluster of a mess and a few not so helpful folks.. Updated the lines of code again on the htaccess to be safe.. Still dont have all the products loaded only about 2600 now.. still have about 9200 left to load after trimming even more off the list. Anyway.. most of the friendly URLs are working on some but not on others.. For example.. this page not showing when I click the view button: http://www.toolsupplycenter.com/Hand_Tools/1183-SCR-DRI-SET-MINI.htmlbut you can add the item to the cart from list view here so I know it exists and it is in back office: http://www.toolsupplycenter.com/125-Screwdrivers_SetsWhen I turn off friendly URL's these both work. Also my back office is messed up.. does not show all the products... tried turning off cache not the issue.. same results. but others are coming up like this: http://www.toolsupplycenter.com/air-tools/1354-SCREWDRIVER-AIR-114inch-REV-STRAIGHT-F-SPEED-1800RPM.htmlWhat is the difference? This one directly above comes up with friendly URL and it is super long????? Still not SOLVED yet at all! Link to comment Share on other sites More sharing options...
ScubaLessonsInc Posted April 21, 2011 Author Share Posted April 21, 2011 I FIGURED IT OUT FINALLY!!!! YEAH!! The categories had _ symbols in the friendly urls.. once I changed the _ to - all the products worked with the view button!! SOLVED! So.. Category name Hand_Tools made all the products have the view button no link to the friendly URL.. but when I changed the category name to Hand-Tools all of them worked perfectly!!! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now