comicsigotem Posted December 12, 2007 Posted December 12, 2007 Okay, I tried installing the SEO URL configuration and now my whole website is actin up. I'm thinkin it has to do with the .htaccess file. When I do the modification that the installation says to do, the site does a 500 error. When I put in my original .htaccess file, I can get to the index page, but none of the links work and it says the page can not be displayed. Here's what my original .htaccess file has: RewriteEngine On RewriteRule ^index.html$ /shop/index.php [R] And it says to change it with: Options +FollowSymLinks RewriteEngine On RewriteBase /directory/ RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-m-([0-9]+).html$ index.php?manufacturers_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pi-([0-9]+).html$ popup_image.php?pID=$2&%{QUERY_STRING} RewriteRule ^(.*)-t-([0-9]+).html$ articles.php?tPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-a-([0-9]+).html$ article_info.php?articles_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pr-([0-9]+).html$ product_reviews.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pri-([0-9]+).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-i-([0-9]+).html$ information.php?info_id=$2&%{QUERY_STRING} and to change the directory with my directory. How do I edit it so that these two functions work together? Another thing I noticed, in my admin, when I click to edit a product, I can't see the things to edit, it's all blank after the SEO URL section so I think something else might be up. PLEASE help me, this is really urgent, especially since I sell comics and tomorrow is new comic book day. By the way, my site is http://www.comicsigotem.com if you want to see what's going on.
comicsigotem Posted December 12, 2007 Author Posted December 12, 2007 Okay, I fixed the admin part, but the main problem is still there and I have no idea how to go about fixing it, please help. Germ, where you at? Haha.
♥FWR Media Posted December 12, 2007 Posted December 12, 2007 Re: .htaccess I think you only need the first RewriteEngine On In the case of your shop use ... RewriteBase /shop/ Re: No admin options this suggests to me that you may be using MySQL5 in which case you need to make some changes: - 1) Open file includes/classes/seo.class.php 2) Find function SEO_URL_INSTALLER(){ There are a load of lines that start like .. 'QUERY' => "INSERT INTO `".TABLE_CONFIGURATION."` VALUES ('', change them all to start ... 'QUERY' => "INSERT INTO `".TABLE_CONFIGURATION."` VALUES (NULL, Further down find .. function install_settings(){ A few lines down you'll see .. `cache_date` datetime NOT NULL default '0000-00-00 00:00:00', `cache_expires` datetime NOT NULL default '0000-00-00 00:00:00', Change those two lines to `cache_date` datetime NOT NULL, `cache_expires` datetime NOT NULL, That should do it. Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work.
comicsigotem Posted December 12, 2007 Author Posted December 12, 2007 Hey babygurgles, thanks for replying, but when I just do that, my site shows an internal server error. I need what I had before because I'm using a redirect so that http://www.comicsigotem.com goes to http://www.comicsigotem.com/shop/index.php. So I need to know how to make both functions work at the same time. And I fixed the admin part, thanks.
comicsigotem Posted December 12, 2007 Author Posted December 12, 2007 Okay, the good news is, this isn't as drastic of a situation as I originally thought. I found out I can just turn them off in the admin and my store works fine, phew. But, I still want SEO URLs, so if anyone has any idea what's wrong, much appreciated.
comicsigotem Posted December 12, 2007 Author Posted December 12, 2007 Okay, now for some reason, I can't type in html codes when I add or edit products. Everytime I type in <br>, it changes it to _br_. What's going on?
comicsigotem Posted December 12, 2007 Author Posted December 12, 2007 Okay, update on the situation, everything is cool except for figuring out the .htaccess file.
♥Vger Posted December 13, 2007 Posted December 13, 2007 Your hosting company doesn't even say which type of servers they provide - if they are Windows you can forget Ultimate SEO URL's because .htaccess is an Apache only feature and will just return an error on Windows servers. Even Apache has to have Mod Rewrite enabled. Vger
comicsigotem Posted December 13, 2007 Author Posted December 13, 2007 They use Unix based Apache servers.
♥Vger Posted December 13, 2007 Posted December 13, 2007 But is Mod Rewrite enabled? If not then you can't use this mod. Look under Tools --> Server Info to see if Mod Rewrite is enabled. Vger
comicsigotem Posted December 13, 2007 Author Posted December 13, 2007 Under what section in the Server Info would that be?
germ Posted December 13, 2007 Posted December 13, 2007 Admin --> Tools --> Server Info This displays the PHP Info page. On mine, Mod Rewrite is under Apache (left side) then subheading Loaded Modules. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
comicsigotem Posted December 13, 2007 Author Posted December 13, 2007 I don't have a section that says Loaded Modules. Is this something I can add through my hosting company?
germ Posted December 13, 2007 Posted December 13, 2007 Close to the top of the Server Info screen, mine says: HTTP Server: Apache PHP Version: 4.3.11 (Zend: 1.3.0) What does your's say next to HTTP Server? :unsure: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
comicsigotem Posted December 13, 2007 Author Posted December 13, 2007 HTTP Server: Apache/1.3.29 (Unix) mod_ssl/2.8.16 OpenSSL/0.9.7c PHP Version: 4.3.6 (Zend: 1.3.0)
germ Posted December 13, 2007 Posted December 13, 2007 OK. Pull up your Sever Info page again. TYpe ^F (hold the <Ctrl> key down then hit the F key) A box pops up for you to type something in to search for on the page. In the "Find" box type: rewrite Be sure the boxes next to Match whole word only and Match case are NOT checked, then click Next. Is rewrite found anywhere on the page? :unsure: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
comicsigotem Posted December 13, 2007 Author Posted December 13, 2007 I did that before, the only thing that is close is this: url_rewriter.tags
germ Posted December 13, 2007 Posted December 13, 2007 Then it appears you may not be able to use the mod (as Miss Anthony has pointed out). I know very little about this, so maybe someone with more expertise can post again. I was just helping you find the information requested by others... :blush: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
comicsigotem Posted December 13, 2007 Author Posted December 13, 2007 Damn, ah well. Is there any way to delete the SQL queries I ran on my database then?
germ Posted December 13, 2007 Posted December 13, 2007 Well... Err.... Ummmm... If there's anything I know less about than mod_rewrite, it's MYSQL... :lol: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
comicsigotem Posted December 13, 2007 Author Posted December 13, 2007 Ah well, I'll just leave it how it, no biggie.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.