Zen Cart Logo
Forums / All Other Contributions/Addons / Chemo's Ultimate URL's

Chemo's Ultimate URL's

Views: 493,419

Results 1,021 to 1,040 of 1,407
12 Aug 2007, 5:02 AM
#1021
jwm931 avatar

jwm931

New Zenner

Join Date:
Aug 2007
Posts:
12
Plugin Contributions:
0

Chemo's Ultimate URL's

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:

13 Aug 2007, 5:58 PM
#1022
jwm931 avatar

jwm931

New Zenner

Join Date:
Aug 2007
Posts:
12
Plugin Contributions:
0

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.

17 Aug 2007, 1:24 PM
#1023
saher_alsous avatar

saher_alsous

New Zenner

Join Date:
Jun 2007
Location:
Palestine
Posts:
55
Plugin Contributions:
0

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

17 Aug 2007, 1:30 PM
#1024
saher_alsous avatar

saher_alsous

New Zenner

Join Date:
Jun 2007
Location:
Palestine
Posts:
55
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

by the way that was on the main page i didn't press anywhere

when i go to my site, i just get that page with the list of the pages i have on my site...

and i click on any link,, i see the URL of the SEO working on the address bar, but i get the 404

my site is installed on the root...

any help???

regards

saher

17 Aug 2007, 2:31 PM
#1025
tamya avatar

tamya

Zen Follower

Join Date:
Feb 2007
Posts:
336
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

Has anyone have any idea how could this be accomplished?

I have this mod installed and working great on my site, i have a few pages that i want to permanently redirect.

Note: I am moving the products i have in another site (not Zen Cart) to a Zen Cart, i want to keep the urls that was indexed from the old site by doing a redirect 301. the domain name will be the same.

This is my code in the .htaccess

Redirect 301 /Old-Product-Name_p948.htm http://www.mydomain.com/New-Product-Name-p-621.html
```I am getting **Page not found** and the url in the browser look like this after i try to access the old redirected page.

<http://www.mydomain.com/New-Product-Name-p-621.html>**?seo_url=**Old-Product-Name_p948.htm

If i changed the code in the .htaccess to 

Redirect 301 /Old-Product-Name_p948.htm http://www.mydomain.com/index.php?main_page=product_info&cPath=35&products_id=621

<http://www.mydomain.com/index.php?main_page=product_info&cPath=35&products_id=621>
to 
<http://www.mydomain.com/New-Product-Name-p-621.html>

then i would like to get my redirection to the end result and stay away from the link or double redirection.

Any idea?
17 Aug 2007, 4:18 PM
#1026
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

Re: Chemo's Ultimate URL's

TamyA:

I got this problem solved by adding the following lines

       // 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);
           }
> ```
        /**
         * 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);
        }

Thank you so much for posting the fix for Paypal IPN. I abandoned this mod because of it. That was the only thing I couldn't get to work. I don't have any plans right now to reinstall the mod but wanted to thank you for posting the fix.

17 Aug 2007, 4:22 PM
#1027
tamya avatar

tamya

Zen Follower

Join Date:
Feb 2007
Posts:
336
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

BlessIsaacola:

Thank you so much for posting the fix for Paypal IPN. I abandoned this mod because of it. That was the only thing I couldn't get to work. I don't have any plans right now to reinstall the mod but wanted to thank you for posting the fix.

You are very welcome, i am glad that helped someone.

17 Aug 2007, 6:20 PM
#1028
bg_foxx avatar

bg_foxx

New Zenner

Join Date:
Aug 2007
Posts:
7
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

TamyA:

You are very welcome, i am glad that helped someone.

That helped me too. Thank you, TamyA:yes: I still can't get the PayPal IPN to work (it keeps showing the PayPal home page), but I got PayPal Express Checkout to work.

I installed the latest patch for PayPal and now customers have a choice: PayPal IPN or PayPal. And the radio button or PayPal is always checked. PayPal works. So, I will go ahead and simply disable PayPal IPN and work with PayPal, PayPal Express Checkout and Google Checkout.

So, thanks again:smile:

17 Aug 2007, 8:09 PM
#1029
saher_alsous avatar

saher_alsous

New Zenner

Join Date:
Jun 2007
Location:
Palestine
Posts:
55
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

Merlinpa1969:

magpi
you need to go into the admin -> configuration and uncheck the box for rewriting ssl

goodbuy

you will need to actually go in and remove the lines from the config table

what issues were you having with it,
the site that I sent you to thats using the 3.0 Beta is on the same server as you,

you need to remember that when you login to admin to make the settings as follows

well, these are the same options that i have, with Zen 1.3.7 and when i open my home page i get page not found in the middle ,, but both side boxes are working on each side and when i click on any link there it says no file input ...:cry:

18 Aug 2007, 2:00 AM
#1030
tamya avatar

tamya

Zen Follower

Join Date:
Feb 2007
Posts:
336
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

saher.alsous:

well, these are the same options that i have, with Zen 1.3.7 and when i open my home page i get page not found in the middle ,, but both side boxes are working on each side and when i click on any link there it says no file input ...:cry:

Saher, there are too many things involved here, try to start from the begining like i did and go through the pdf file, i updated the wrong html_output the first time, make sure that all the steps are followed.

my htaccess is the following code

RewriteEngine On
RewriteBase /

# 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]
```compare it to yours and start basic then you can add to it.

Make sure you on Linux server not Windows server.

for the setting in the configuration just follow what Merlin99 suggested in page 102 of this thread.

if you have any doubt about someting that involve configeration then post it here since people can help you when they have somthing to work with.

if you do not want to post your url here you can pm me and i will take a look since your posting is not clear to me.

good luck
18 Aug 2007, 5:45 AM
#1031
saher_alsous avatar

saher_alsous

New Zenner

Join Date:
Jun 2007
Location:
Palestine
Posts:
55
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

TamyA:

Saher, there are too many things involved here, try to start from the begining like i did and go through the pdf file, i updated the wrong html_output the first time, make sure that all the steps are followed.

my htaccess is the following code

RewriteEngine On
RewriteBase /

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]

> 
> Make sure you on Linux server not Windows server.
> 
> for the setting in the configuration just follow what Merlin99 suggested in page 102 of this thread.
> 
> if you have any doubt about someting that involve configeration then post it here since people can help you when they have somthing to work with.
> 
> if you do not want to post your url here you can pm me and i will take a look since your posting is not clear to me.
> 
> good luck

thank you for these information...

which html_output
there are two of them, one in the includes for the online store, Zen Cart Installation/includes/functions/html_output.php

and the other in the administration folder, thats for the administration links i think, that also exists in includes but after admin not on the root...:blink:

i updated the one with the includes in the root of the Zen installation.:cool:

Im having a Unix hosting,  with info path available, and the hosting company gave me a link " PHP code" to call the right info path or path info but i don't know where to use, but i think it should be available  in the SEO already since  it counts on it!:flex:

yesterday i went to site of Josh to report the bugs and i reported the problem and i found a code that might be helpful by the way for the PayPal IPN

  • Seo Urls zen_href_link replacement
    */
    function zen_href_link($page = '', $parameters = '', $connection = 'NONSSL',$add_session_id = true, $search_engine_safe = true, $static = false,$use_dir_ws_catalog = true) {

    // not all core scripts (such as the Paypal IPN handler) implement the core auto loader system (WTF!?)
    if (!isset($GLOBALS['SeoUrl'])) {
    require_once(DIR_FS_CATALOG . DIR_WS_CLASSES . 'seo/seo.url.php');
    $GLOBALS['SeoUrl'] =& new SeoUrl($GLOBALS['db']);
    $GLOBALS['SeoUrl']->setupLanguage($_SESSION['languages_id']);

    }
    return $GLOBALS['SeoUrl']->buildHrefLink($page, $parameters, $connection,$add_session_id, $static, $use_dir_ws_catalog);
    }


i downloaded the seo zip file that merlin had a link for it and i want to over right the files on my PC and then upload them all together again?


when i was uploading the files yesterday i had some internet connection problems, do you think it effected it?

thats not a deal,,,  "long message isn't it"

done!

i made everything again,, step by step.

same options, same everything as the file says.

but i get the same result.

Page Not Found....

but the URL looks cool, but its not working!

there is something wrong with the script, or maybe its not going so well with other plugins on the site, but [Jwm931](http://www.zen-cart.com/forum/member.php?u=41954) posted that message before me:

> I did a fresh install on a new server, new database, new url, and I am still getting the 404 error.

what do you think about it guys?

what did you said about URL thing? my own address or the administrator one?


Regards

saher
19 Aug 2007, 7:57 AM
#1032
tamya avatar

tamya

Zen Follower

Join Date:
Feb 2007
Posts:
336
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

saher.alsous:

thank you for these information...

which html_output
there are two of them, one in the includes for the online store, Zen Cart Installation/includes/functions/html_output.php

and the other in the administration folder, thats for the administration links i think, that also exists in includes but after admin not on the root...:blink:

i updated the one with the includes in the root of the Zen installation.:cool:

What i meant that i missed something and had problems at the beginning, just want you to make sure that you did it correctly by going through the steps once again.

the file i was referring to is
Zen Cart Installation/includes/functions/html_output.php

Im having a Unix hosting, with info path available, and the hosting company gave me a link " PHP code" to call the right info path or path info but i don't know where to use, but i think it should be available in the SEO already since it counts on it!:flex:

I think that path info goes in the include/configure.php on the last line if you are using file as cache like this
define('SQL_CACHE_METHOD', 'file');
define('DIR_FS_SQL_CACHE', 'The path goes here');
> i downloaded the seo zip file that merlin had a link for it and i want to over right the files on my PC and then upload them all together again?

when i was uploading the files yesterday i had some internet connection problems, do you think it effected it?

Thats what i did, just make sure that all the files got uploaded, some ftp browser do not do a good job and time out on some files, i used to upload the same files twice to make sure that none was skipped.

Make sure all the files in place, upload again if you have to, check and compare with your server to make sure all the files in the correct directory.

done!

i made everything again,, step by step.

same options, same everything as the file says.

but i get the same result.

Page Not Found....

but the URL looks cool, but its not working!

there is something wrong with the script, or maybe its not going so well with other plugins on the site, but Jwm931 posted that message before me:

I thought the same thing and i posted a few pages back which reminds me, i owe Merlin an appology for that post, the code is working and i have more mods installed on my site than you can shake a stick at, it is working.

but no one can help you unless there is obvious problem, page not found is not a one possible thing, it could be many reasons.

did you check your error logs? and what does it say?
can you post your htaccess file and your seo url configuration? let us start from there.

what did you said about URL thing? my own address or the administrator one?

I meant your website url https://www.yourdomain.com

19 Aug 2007, 10:24 AM
#1033
saher_alsous avatar

saher_alsous

New Zenner

Join Date:
Jun 2007
Location:
Palestine
Posts:
55
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

thank you for your reply

yes i made the change to the correct html_output file,, as in the specified directory
Zen Cart Installation/includes/functions/html_output.php

by the way i uploaded the files 3 times till now and they are ok in their place and everything is in good conditions on server!

[qoute]
I think that path info goes in the include/configure.php on the last line if you are using file as cache like this
define('SQL_CACHE_METHOD', 'file');
define('DIR_FS_SQL_CACHE', 'The path goes here');
[/quote]

i have this one different a little, well, different from you so much, i think this one might be the case, because its a difference between our settings

what i have in my configure file is:

// The next 2 "defines" are for SQL cache support.
  // For SQL_CACHE_METHOD, you can select from:  none, database, or file
  // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache 
  // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
  // ie: /path/to/your/webspace/public_html/zen/cache   -- leave no trailing slash  
  define('SQL_CACHE_METHOD', 'database'); 
  define('DIR_FS_SQL_CACHE', '/home/user/alsousbros.com/cache');
    
i don't have  a file,, i have a Database... do i still need to use the info path?

or it doesn't matter?

can you post your htaccess file and your seo url configuration? let us start from there.

RewriteEngine On
RewriteBase /

# 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] 

my SEO settings are:

Seo Urls Status      Off       " iturned it off to let the site work, it was on"
301 Redirection Status     Off  " iturned it off to let the site work, it was on"    
Page Base         
Default Extension     .html 
Url Plugins     Core: Advanced Search, Core: Advanced Search: Result, Core: Category, Core: EZ Pages, Core: Manufacturer, Core: Product, Core: Product: Image, Core: Product: Reviews, Core: Product: Reviews: Info, Core: Product: Reviews: Write, Core: Default: Skip SSL, Core: Default, Core: Default Skips     Info 
Character Plugins     Format: Strip Invalid

did you check your error logs? and what does it say?
here is my error log...

[Fri Aug 17 01:30:30 2007] [error] [client 213.6.122.2] File does not exist: /home/"USER"/alsousbros.com/favicon.ico
[Fri Aug 17 01:30:30 2007] [error] [client 213.6.122.2] File does not exist: /home/"USER"/alsousbros.com/missing.html
[Fri Aug 17 02:12:30 2007] [error] [client 207.46.98.126] File does not exist: /home/"USER"/alsousbros.com/robots.txt
[Fri Aug 17 02:12:30 2007] [error] [client 207.46.98.126] File does not exist: /home/"USER"/alsousbros.com/missing.html
[Fri Aug 17 03:16:42 2007] [error] [client 66.249.70.228] File does not exist: /home/"USER"/alsousbros.com/robots.txt
[Fri Aug 17 03:16:42 2007] [error] [client 66.249.70.228] File does not exist: /home/"USER"/alsousbros.com/missing.html
[Fri Aug 17 03:21:37 2007] [error] [client 207.46.98.127] File does not exist: /home/"USER"/alsousbros.com/robots.txt
[Fri Aug 17 03:21:37 2007] [error] [client 207.46.98.127] File does not exist: /home/"USER"/alsousbros.com/missing.html
[Fri Aug 17 06:00:13 2007] [error] [client 213.6.110.43] File does not exist: /home/"USER"/alsousbros.com/favicon.ico
[Fri Aug 17 06:00:13 2007] [error] [client 213.6.110.43] File does not exist: /home/"USER"/alsousbros.com/missing.html
[Fri Aug 17 06:25:45 2007] [error] [client 213.6.110.43] File does not exist: /home/"USER"/alsousbros.com/Olive-Wood, referer: http://www.alsousbros.com/
[Fri Aug 17 06:25:45 2007] [error] [client 213.6.110.43] File does not exist: /home/"USER"/alsousbros.com/missing.html, referer: http://www.alsousbros.com/
[Fri Aug 17 06:42:51 2007] [error] [client 207.46.98.125] File does not exist: /home/"USER"/alsousbros.com/robots.txt
[Fri Aug 17 06:42:51 2007] [error] [client 207.46.98.125] File does not exist: /home/"USER"/alsousbros.com/missing.html
[Fri Aug 17 07:13:45 2007] [error] [client 207.46.98.126] File does not exist: /home/"USER"/alsousbros.com/robots.txt
[Fri Aug 17 07:13:45 2007] [error] [client 207.46.98.126] File does not exist: /home/"USER"/alsousbros.com/missing.html
[Fri Aug 17 07:22:16 2007] [error] [client 213.6.110.43] client denied by server configuration: /home/"USER"/alsousbros.com/.html
[Fri Aug 17 07:23:00 2007] [error] [client 213.6.110.43] client denied by server configuration: /home/"USER"/alsousbros.com/.html
[Fri Aug 17 07:24:13 2007] [error] [client 213.6.110.43] client denied by server configuration: /home/"USER"/alsousbros.com/.html
[Fri Aug 17 12:11:10 2007] [error] [client 213.6.110.43] client denied by server configuration: /home/"USER"/alsousbros.com/.html, referer: http://www.alsousbros.com/"admin address"/index.php
[Fri Aug 17 22:39:57 2007] [error] [client 213.6.110.43] client denied by server configuration: /home/"USER"/alsousbros.com/.html, referer: http://www.alsousbros.com/"admin address"/configuration.php?gID=36&cID=661

i think you got my domain, but the SEO is off now... http://www.alsousbros.com

thanx in advance

Regards

Saher

20 Aug 2007, 5:17 AM
#1034
saher_alsous avatar

saher_alsous

New Zenner

Join Date:
Jun 2007
Location:
Palestine
Posts:
55
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

well

i don't have a file,, i have a Database... do i still need to use the info path?

or it doesn't matter?

DrByte said it doesn't matter ...

21 Aug 2007, 12:32 AM
#1035
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Chemo's Ultimate URL's

saher.alsous:

[Fri Aug 17 07:22:16 2007] [error] [client 213.6.110.43] client denied by server configuration: /home/"USER"/alsousbros.com/.html

If it's rewriting your URLs to have no filename, I'm not surprised that you're not getting the expected results.

21 Aug 2007, 4:33 AM
#1036
saher_alsous avatar

saher_alsous

New Zenner

Join Date:
Jun 2007
Location:
Palestine
Posts:
55
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

DrByte:

If it's rewriting your URLs to have no filename, I'm not surprised that you're not getting the expected results.

so what can i change?

yesterday i was reading online how can i configue the .htaccess file and thats what i ended with :

RewriteEngine On
RewriteBase /

Options +Indexes
Options +FollowSymlinks


# 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]

or is it with any PHP file in the SEO or ZenCart?:wacko:

all the best

Saher

21 Aug 2007, 11:20 PM
#1037
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: Chemo's Ultimate URL's

Fairly sure I followed the instructions correctly, and indeed, urls are being nicely re-written... but I simply do not have admin > CONFIGURATION > SEO URLS ! :wacko:

Would this be anything to do with having renamed the admin directory? Or have I just missed something obvious?

Edit: I had - the site has Admin Profiles installed and I'd forgotten to give myself permission to access SEO URLS! :blush:

24 Aug 2007, 3:29 PM
#1038
frenchfrog avatar

frenchfrog

New Zenner

Join Date:
Jan 2007
Posts:
65
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

Anyone encontered the problem of SEO URL 3.0 unable to be checked as a permission with admin settings?

Thanks!

24 Aug 2007, 8:07 PM
#1039
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: Chemo's Ultimate URL's

I found I had to go through the process twice, but I thought I'd just been logged out of the admin through inactivity... did you try a second time?

25 Aug 2007, 4:54 AM
#1040
saher_alsous avatar

saher_alsous

New Zenner

Join Date:
Jun 2007
Location:
Palestine
Posts:
55
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

saher.alsous:

so what can i change?

yesterday i was reading online how can i configue the .htaccess file and thats what i ended with :

RewriteEngine On
RewriteBase /

Options +Indexes
Options +FollowSymlinks

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]

> or is it with any PHP file in the SEO or ZenCart?:wacko:
> 
> 
> all the best
> 
> Saher


mmm, why no one cares to give a solution for my problem? :cry: