Re: Chemo's Ultimate URL's
Quote:
Originally Posted by
TamyA
Update:
About the PayPal Express checkout, currently i am getting the url kind of missed up
www.mysite.com/ipn_main_handler.php.html?type=ec, as you see i am having an extension addes to the file even though i enabled
Core: Default Skips Skip urls with extensions [most likely real files].
I tried to follow
dreamscape solution
but i could not even find the function he mentioned in that file
I got this problem solved by adding the following lines
Code:
// don't rewrite the paypal IPN notify url
if ($page == 'ipn_main_handler.php') {
return $this->buildStockHrefLink($page, $parameters, $connection, $add_session_id, true, $static, $use_dir_ws_catalog);
}
to the file includes\classes\seo\seo.url.php right after
Code:
/**
* don't rewrite pages we should skip
*/
if ($this->plugins->skipSeoUrl($page, $parameters, $connection) === true) {
return $this->buildStockHrefLink($page, $parameters, $connection, $add_session_id, true, $static, $use_dir_ws_catalog);
}
As dreamscape suggested a couple of years ago, but the location and the name of the function has changed a bit. it seems it is removing the .html every where the button shows up.
Quote:
to be honest with you, PayPal Express checkout was a challenge for me even on the my live site, i was never been able to get it to work, every time that button was clicked it show the following error
Return to Merchant
This transaction is invalid. Please return to the recipient's website to complete your transaction using their regular checkout flow.
and the same error i get when i remove the .html extension and reload the page.
:frusty: This another one of those things, i was able to to pass that by setting the cURL correctly in the admin>configuration>mystore.
Re: Chemo's Ultimate URL's
What is the first thing to check when getting a 404 error after installing Seo_Url?
www.funtasticaltoys.com/toyshop/index.php
Works fine on the admin side, but not working on the cart side.
I had a few other errors, but I worked around all of them.
The one thing I never figured out was that the directions stated to remove the old seo reference in admin/includes/products.php I do not have that file, had product.php but no seo references in it.
Re: Chemo's Ultimate URL's
Quote:
Originally Posted by
Jwm931
What is the first thing to check when getting a 404 error after installing Seo_Url?
Did you enable the core files under admin>configueration>seo.3.0.0-beta1?
Re: Chemo's Ultimate URL's
Quote:
Originally Posted by
Jwm931
What is the first thing to check when getting a 404 error after installing Seo_Url?
the setting should be like this
Seo Urls Status On
301 Redirection Status On
Page Base (is your cart installed inside the directory /toyshop/? or is it in the root? if it is in the root then this should be blank otherwise it should be /toyshop/
Default Extension .html
Url Plugins Core: EZ Pages, Core: Product, Core: Default Skips, Core: Product: Reviews: Write, Core: Default: Skip SSL, Core: Advanced Search, Core: Default, Core: Product: Reviews, Core: Advanced Search: Result, Core: Category, Core: Product: Image, Core: Manufacturer, Core: Product: Reviews: Info
Character Plugins Format: Strip Invalid
Re: Chemo's Ultimate URL's
Checked all that, and corrected, still getting the 404.
Here is my htaccess
Code:
# $Id: .htaccess 1105 2005-04-04 22:05:35Z birdbrain $
#
# This is used with Apache WebServers
# The following blocks direct HTTP requests in this directory recursively
#
# For this to work, you must include the parameter 'Limit' to the AllowOverride configuration
#
# Example:
#
#<Directory "/usr/local/apache/htdocs">
# AllowOverride Limit
#
# 'All' with also work. (This configuration is in your apache/conf/httpd.conf file)
#
# This does not affect PHP include/require functions
#
# Example: http://server/catalog/includes/application_top.php will not work
RewriteEngine On
RewriteBase /toyshop/
# Seo Urls version 3.x
# Don't rewrite real files or directories
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index\.php?seo_url=$1&%{QUERY_STRING} [L]
Re: Chemo's Ultimate URL's
This is my .htaccess file, it looks the same as what you have except for one thing is the + in your last line (I never dealt with htaccess before this.
Code:
RewriteRule ^(.+)$ index\.php?seo_url=$1&%{QUERY_STRING} [L]
Code:
1 RewriteEngine On
2 RewriteBase /
3
4 # Seo Urls version 3.x
5 # Don't rewrite real files or directories
6 RewriteCond %{REQUEST_FILENAME} !-f
7 RewriteCond %{REQUEST_FILENAME} !-d
8 RewriteRule ^(. )$ index\.php?seo_url=$1&%{QUERY_STRING} [L]
Re: Chemo's Ultimate URL's
Never mind the last post, it has a + but it does not show in view only when i open the file for edit.:oops:
Did you put the htaccess in the root or in /toyshop/?
Re: Chemo's Ultimate URL's
Quote:
Originally Posted by
TamyA
Never mind the last post, it has a + but it does not show in view only when i open the file for edit.:oops:
Did you put the htaccess in the root or in /toyshop/?
It is late, lol.
It is in /toyshop/
I tried taking it out all together, and then I get true 404 no page loading errors. I have an .htaccess in my root, but none of the calls in it should be effecting anything, I deleted it just to test it and it did not change anything. Well maybe sleeping on it will help. Thanks for taking a look, I appreciate the help! :clap:
Re: Chemo's Ultimate URL's
I did a fresh install on a new server, new database, new url, and I am still getting the 404 error.
Anyone else have this running correctly on a godaddy server with deluxe hosting. If so what are your settings. For the time, I will leave this mod turned off and work on some others.
Re: Chemo's Ultimate URL's
hi everybody
im having the same problem...
i installed the SEO 3.0.0 Beta
and i'm getting the
Page Not Found
i installed the mod depends on the PDF guide in the zip file.
and im having the host with Dreamhost, i checked their forums some of them were talking about the settings for the path_info things so i assumed they have that thing, their PHP version is 4.7.7
anybody help?
regards
saher