All Posts|
|
Ultimate SEO Error w/ 1.3.7 |
|
|---|---|---|
|
Just popping in
![]()
Joined:
8/20 15:48:17 Group:
Registered Users Posts: 1
Level : 1; EXP : 0
HP : 0 / 0 MP : 0 / 0 ![]() |
When I add in the new .htaccess file I get a 500 Error. When I dont put in the new .htaccess file and I click on a product it sends me to a 404 with the friendly url, so I know it is working. Why do I still get the 500 error? Here is my .htaccess below...
# Use PHP5CGI as default AddHandler fcgid-script .php # This method no longer available Please use the # 'PHP Config' link in your control panel if you # would like to try PHP5 FastCGI # AddHandler php-fastcgi .php # RewriteEngine On # RewriteCond %{HTTPS} off # RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} Options +FollowSymLinks RewriteEngine On RewriteBase / # From Ultimate SEO URLs RewriteRule ^(.*)-p-(.*).html$ index\.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L] RewriteRule ^(.*)-c-(.*).html$ index\.php?main_page=index&cPath=$2&%{QUERY_STRING} [L]# RewriteRule ^(.*)-m-([0-9]+).html$ index\.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING} [L] RewriteRule ^(.*)-pi-([0-9]+).html$ index\.php?main_page=popup_image&pID=$2&%{QUERY_STRING} [L] RewriteRule ^(.*)-pr-([0-9]+).html$ index\.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING} [L] RewriteRule ^(.*)-pri-([0-9]+).html$ index\.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [L]# For Open Operations Info Manager RewriteRule ^(.*)-i-([0-9]+).html$ index\.php?main_page=info_manager&pages_id=$2&%{QUERY_STRING} [L] # Don't rewrite real files or directories RewriteCond %{REQUEST_FILENAME} !-f [NC] # RewriteCond %{REQUEST_FILENAME} !-d# RewriteRule ^(.*).html$ index\.php?main_page=$1&%{QUERY_STRING} [L]
Posted on: 8/20 15:52:20
|
|
|
||
|
|
Re: Fixing Ultimate SEO Urls |
|
|---|---|---|
|
Just popping in
![]()
Joined:
6/29 14:07:13 Group:
Registered Users Posts: 2
Level : 1; EXP : 2
HP : 0 / 0 MP : 0 / 0 ![]() |
hello everybody,
i found one more issue which seems to be related to the rewrite rules suggested. they seems to work nicely - except in one case. i am fairly good a regexp in perl but somehow i don't understand why things don't work in a special case: broken: http://shopping.miss-molly.com/index.php?main_page=product_info&products_id=248:34278f2e9ec11a76c66faf3a025a9de5 works: http://shopping.miss-molly.com/index.php?main_page=product_info&products_id=184 http://shopping.miss-molly.com/bezaubernde-jeanny-p-184.html the URL marked as broken is rewritten to http://shopping.miss-molly.com/product_info which is not working of course. the correct ones show up when i am surfing through the shop. the broken ones show up when i go to click on a product which is already inside the shopping cart. rewrite rules: # From Ultimate SEO URLs RewriteRule ^(.*)-p-(.*).html$ index\.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L] RewriteRule ^(.*)-c-(.*).html$ index\.php?main_page=index&cPath=$2&%{QUERY_STRING} [L] RewriteRule ^(.*)-m-([0-9]+).html$ index\.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING} [L] RewriteRule ^(.*)-pi-([0-9]+).html$ index\.php?main_page=popup_image&pID=$2&%{QUERY_STRING} [L] RewriteRule ^(.*)-pr-([0-9]+).html$ index\.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING} [L] RewriteRule ^(.*)-pri-([0-9]+).html$ index\.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [L] does anybody have an idea how to fix this? many thanks, hans
Posted on: 6/29 20:53:32
|
|
|
||
|
|
Fixing Ultimate SEO Urls |
|
|---|---|---|
|
Just popping in
![]()
Joined:
6/29 14:07:13 Group:
Registered Users Posts: 2
Level : 1; EXP : 2
HP : 0 / 0 MP : 0 / 0 ![]() |
hello ...
i have just tried to install Ultimate SEO Url for Zencart 1.3.7 (using the german 1.3.7 distribution you can find here: http://sourceforge.net/project/showfiles.php?group_id=146657). when i installed your module i came across a problem which can be fixed easily (includes/classes/seo.install.php): # $insert_group = "INSERT INTO `".TABLE_CONFIGURATION_GROUP."` VALUES ('', 'SEO URLs', 'Opciones para Ultimate SEO URLs by Chemo', '".$next_sort."', '1')"; $insert_group = "INSERT INTO `".TABLE_CONFIGURATION_GROUP."` (language_id, configuration_group_title, configuration_group_description, sort_order, visible) VALUES ('', 'SEO URLs', 'Opciones para Ultimate SEO URLs by Chemo', '".$next_sort."', '1')"; i had to add the column list to the INSERT statement to make this work. maybe you can include this fix into future releases? on my side the underlaying mysql table structure looks like this: mysql> describe miss_molly_configuration_group; +---------------------------------+--------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +---------------------------------+--------------+------+-----+---------+----------------+ | configuration_group_id | int(11) | NO | PRI | NULL | auto_increment | | language_id | int(11) | NO | PRI | 1 | | | configuration_group_title | varchar(64) | NO | | | | | configuration_group_description | varchar(255) | NO | | | | | sort_order | int(5) | YES | | NULL | | | visible | int(1) | YES | MUL | 1 | | +---------------------------------+--------------+------+-----+---------+----------------+ 6 rows in set (0.00 sec) i guess the empty column is the language related one. there is one more issue: the SEO config module does not show up on my admi side. what might be wrong? also: when i click on a link i will automatically see the right URL in the browser as soon as the page pops up. however, when i go over a link with the mouse i can still see the "ugly" ones. is there a way to change that? this would be especially important for the site map. many thanks, hans
Posted on: 6/29 14:25:16
|
|
|
||








