Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo


Recommended Posts

- Linux - I was able to get the program to rewrite the URLs ...it just gave me 404 messages and

when I went to the admin panel - tools - define language - it gave me error messages saying that the permissions

weren't allowing it to write. Are there specific permissions I need to set on any files?

 

Should I just try to reinstall again...

 

 

Hey bleuwaves....

 

i having the same errors as you...

 

First this:

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/research/public_html/bekleen/store/includes/classes/seo.class.php on line 626

 

The line 626 is this: 'newsdesk_id' => '-n-',

 

And second.. when try acess my admin page the same as you:

 

Not Found

The requested URL /directory/product_info.php was not found on this server.

 

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

 

 

I using STS and HTC...but i think that isnt te problem...

 

i used the seo.class.php to SID Killers users...can be this???

 

Thank you in advance for any help....

 

i really need this addon integrated with HTC, STS and SID Killer....

Edited by Celebrimbor

OScommerce Rocks!

Link to comment
Share on other sites

Hello all...

 

so i installed the Chemo SEO URLs...but i having a little problem on my categories links...

 

i will put my categories and sub below:

 

MP3 MP4 Players Principal

MP4 Players Sub category

3.5" MP4 Player Sub-sub Category

 

The links on each

 

On principal appear like this: catalog/mp3-mp4-players-c-21.html

 

On sub category appear like this: catalog/players-players-c-21_23.html (The word players(1ª) appear that comes from the principal category)

 

On my sub-sub category appear like this: catalog/players-player-c-21_23_24.html (the word players(1ª) comes from my sub-category)...

 

so... i want that on each caetgory the URL appear like this:

 

The principal is OK.

 

The Sub category must appear like: catalog/mp4-players-c-21_23.html

 

The sub-sub category must appear like: catalog/mp4-player-c-21_23_24.html

 

 

Anybody knows how to do this??

 

Rafael

OScommerce Rocks!

Link to comment
Share on other sites

Hi, I have the following issue with SEO ULTIMATE v2.5

installation is OK, in /catalog

 

when I first load a page (empty cookies) the rewrite work but don't use the product / category name

 

when I reload the page the rewrite uses category / product name

 

I have deactivated all caches for SEO but the problem is still there

 

any hint ?

Link to comment
Share on other sites

Hi, I have the following issue with SEO ULTIMATE v2.5

installation is OK, in /catalog

 

when I first load a page (empty cookies) the rewrite work but don't use the product / category name

 

when I reload the page the rewrite uses category / product name

 

I have deactivated all caches for SEO but the problem is still there

 

any hint ?

see post 3122

Link to comment
Share on other sites

hey guys here is my problem the URLs being created are invalid after I installed this contrb. here is an example of what am getting...

90°-pipetohose-kit-p-31?osCsid.html....and....../convertable-cleaner-32oz-p-41?osCsid.html....when I manually remove the "?osCid" the url becomes valid. am thinking its one of the settings in admin any one have any ideas on how I can fix this.

Edited by rubberbandman
Link to comment
Share on other sites

hey guys here is my problem the URLs being created are invalid after I installed this contrb. here is an example of what am getting...

90°-pipetohose-kit-p-31?osCsid.html....and....../convertable-cleaner-32oz-p-41?osCsid.html....when I manually remove the "?osCid" the url becomes valid. am thinking its one of the settings in admin any one have any ideas on how I can fix this.

 

 

Are you already tried SID Killer contribution?

OScommerce Rocks!

Link to comment
Share on other sites

Hello all...

 

so i installed the Chemo SEO URLs...but i having a little problem on my categories links...

 

i will put my categories and sub below:

 

MP3 MP4 Players Principal

MP4 Players Sub category

3.5" MP4 Player Sub-sub Category

 

The links on each

 

On principal appear like this: catalog/mp3-mp4-players-c-21.html

 

On sub category appear like this: catalog/players-players-c-21_23.html (The word players(1ª) appear that comes from the principal category)

 

On my sub-sub category appear like this: catalog/players-player-c-21_23_24.html (the word players(1ª) comes from my sub-category)...

 

so... i want that on each caetgory the URL appear like this:

 

The principal is OK.

 

The Sub category must appear like: catalog/mp4-players-c-21_23.html

 

The sub-sub category must appear like: catalog/mp4-player-c-21_23_24.html

 

 

Anybody knows how to do this??

 

Rafael

 

 

Any help for me on this????

OScommerce Rocks!

Link to comment
Share on other sites

hey guys here is my problem the URLs being created are invalid after I installed this contrb. here is an example of what am getting...

90°-pipetohose-kit-p-31?osCsid.html....and....../convertable-cleaner-32oz-p-41?osCsid.html....when I manually remove the "?osCid" the url becomes valid. am thinking its one of the settings in admin any one have any ideas on how I can fix this.

 

Which version are you using?

Link to comment
Share on other sites

I installed this contribution a couple of weeks ago and it seems to work perfectly.

 

However I now have all my categories and products in the non www. form, e.g. homepage - http://www.mysite.com, product - http://mysite.com/product. Google indexing is gone pear-shaped so I need to 301 all non www. urls to www. format. But if I add mod_rewrites to .htaccess it creates a redirection loop! I am guessing it is something to do with contribution's redirects conflict? I am not technical enough to see where this conflict is - can anyone shed some light?

 

Many thanks,

Kat

Link to comment
Share on other sites

I installed this contribution a couple of weeks ago and it seems to work perfectly.

 

However I now have all my categories and products in the non www. form, e.g. homepage - http://www.mysite.com, product - http://mysite.com/product. Google indexing is gone pear-shaped so I need to 301 all non www. urls to www. format. But if I add mod_rewrites to .htaccess it creates a redirection loop! I am guessing it is something to do with contribution's redirects conflict? I am not technical enough to see where this conflict is - can anyone shed some light?

 

Many thanks,

Kat

 

Link please Kat

Link to comment
Share on other sites

I installed v21d updated by FWR Media.

 

I'm seeing this as a URL: http://mydomain.com/dir/pillows-c-21.html?...4d9f465da460c4d. This is the link for my first category. (This is my staging site in one dir removed from the root, and that's reflected in the .htaccess file as directed.)

 

I've searched extensively, but haven't seen an example of SEO URLs in action; is the above URL on the right track?

 

My USU staging site seems to load more slowly than the live site w/o USU. Is this normal, or did I do something wrong?

 

I'm on a Linux server; PHP 5.2.6. My .htaccess is below. I'm not sure what other information would be helpful.

 

Please, any help would be most appreciated. Thx!

 

 

#
# Apache/PHP/Drupal settings:
#

# Protect files and directories from prying eyes.
<FilesMatch "\.(engine|inc|info|install|module|profile|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)$|^(code-style\.pl|Entries.*|Repository|Root|Tag|Template)$">
 Order allow,deny
</FilesMatch>

# Don't show directory listings for URLs which map to a directory.
Options -Indexes

# Follow symbolic links in this directory.
Options +FollowSymLinks

# Customized error messages.
ErrorDocument 404 /index.php

# Set the default handler.
DirectoryIndex index.php

# Override PHP settings. More in sites/default/settings.php
# but the following cannot be changed at runtime.

# PHP 4, Apache 1.
<IfModule mod_php4.c>
 php_value magic_quotes_gpc                0
 php_value register_globals                0
 php_value session.auto_start              0
 php_value mbstring.http_input             pass
 php_value mbstring.http_output            pass
 php_value mbstring.encoding_translation   0
</IfModule>

# PHP 4, Apache 2.
<IfModule sapi_apache2.c>
 php_value magic_quotes_gpc                0
 php_value register_globals                0
 php_value session.auto_start              0
 php_value mbstring.http_input             pass
 php_value mbstring.http_output            pass
 php_value mbstring.encoding_translation   0
</IfModule>

# PHP 5, Apache 1 and 2.
<IfModule mod_php5.c>
 php_value magic_quotes_gpc                0
 php_value register_globals                0
 php_value session.auto_start              0
 php_value mbstring.http_input             pass
 php_value mbstring.http_output            pass
 php_value mbstring.encoding_translation   0
</IfModule>

# Requires mod_expires to be enabled.
<IfModule mod_expires.c>
 # Enable expirations.
 ExpiresActive On
 # Cache all files for 2 weeks after access (A).
 ExpiresDefault A1209600
 # Do not cache dynamically generated pages.
 ExpiresByType text/html A1
</IfModule>

# Various rewrite rules.
<IfModule mod_rewrite.c>
 RewriteEngine on

 # If your site can be accessed both with and without the 'www.' prefix, you
 # can use one of the following settings to redirect users to your preferred
 # URL, either WITH or WITHOUT the 'www.' prefix. Choose ONLY one option:
 #
 # To redirect all users to access the site WITH the 'www.' prefix,
 # (http://example.com/... will be redirected to [url="http://www.example.com/...)"]http://www.example.com/...)[/url]
 # adapt and uncomment the following:
 # RewriteCond %{HTTP_HOST} ^example\.com$ [NC]
 # RewriteRule ^(.*)$ [url="http://www.example.com/$1"]http://www.example.com/$1[/url] [L,R=301]
 #
 # To redirect all users to access the site WITHOUT the 'www.' prefix,
 # (http://www.example.com/... will be redirected to [url="http://example.com/...)"]http://example.com/...)[/url]
 # adapt and uncomment the following:
 # RewriteCond %{HTTP_HOST} ^www\.example\.com$ [NC]
 # RewriteRule ^(.*)$ [url="http://example.com/$1"]http://example.com/$1[/url] [L,R=301]

 # Modify the RewriteBase if you are using Drupal in a subdirectory and
 # the rewrite rules are not working properly.
 #RewriteBase /drupal

 # Rewrite old-style URLs of the form 'node.php?id=x'.
 #RewriteCond %{REQUEST_FILENAME} !-f
 #RewriteCond %{REQUEST_FILENAME} !-d
 #RewriteCond %{QUERY_STRING} ^id=([^&]+)$
 #RewriteRule node.php index.php?q=node/view/%1 [L]

 # Rewrite old-style URLs of the form 'module.php?mod=x'.
 #RewriteCond %{REQUEST_FILENAME} !-f
 #RewriteCond %{REQUEST_FILENAME} !-d
 #RewriteCond %{QUERY_STRING} ^mod=([^&]+)$
 #RewriteRule module.php index.php?q=%1 [L]

 # Rewrite current-style URLs of the form 'index.php?q=x'.
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteCond %{REQUEST_FILENAME} !-d
 RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
</IfModule>

Options +FollowSymLinks
RewriteEngine On 
RewriteBase /stagingsite/

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}




# $Id: .htaccess,v 1.81.2.3 2007/09/21 12:24:22 drumm Exp $
AddHandler allowoverrideoptions .htaccess

Edited by zdat
Link to comment
Share on other sites

I installed v21d updated by FWR Media.

 

I'm seeing this as a URL: http://mydomain.com/dir/pillows-c-21.html?...4d9f465da460c4d. This is the link for my first category. (This is my staging site in one dir removed from the root, and that's reflected in the .htaccess file as directed.)

 

I've searched extensively, but haven't seen an example of SEO URLs in action; is the above URL on the right track?

 

My USU staging site seems to load more slowly than the live site w/o USU. Is this normal, or did I do something wrong?

 

I'm on a Linux server; PHP 5.2.6. My .htaccess is below. I'm not sure what other information would be helpful.

 

Please, any help would be most appreciated. Thx!

 

 

#
# Apache/PHP/Drupal settings:
#

# Protect files and directories from prying eyes.
<FilesMatch "\.(engine|inc|info|install|module|profile|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)$|^(code-style\.pl|Entries.*|Repository|Root|Tag|Template)$">
 Order allow,deny
</FilesMatch>

# Don't show directory listings for URLs which map to a directory.
Options -Indexes

# Follow symbolic links in this directory.
Options +FollowSymLinks

# Customized error messages.
ErrorDocument 404 /index.php

# Set the default handler.
DirectoryIndex index.php

# Override PHP settings. More in sites/default/settings.php
# but the following cannot be changed at runtime.

# PHP 4, Apache 1.
<IfModule mod_php4.c>
 php_value magic_quotes_gpc                0
 php_value register_globals                0
 php_value session.auto_start              0
 php_value mbstring.http_input             pass
 php_value mbstring.http_output            pass
 php_value mbstring.encoding_translation   0
</IfModule>

# PHP 4, Apache 2.
<IfModule sapi_apache2.c>
 php_value magic_quotes_gpc                0
 php_value register_globals                0
 php_value session.auto_start              0
 php_value mbstring.http_input             pass
 php_value mbstring.http_output            pass
 php_value mbstring.encoding_translation   0
</IfModule>

# PHP 5, Apache 1 and 2.
<IfModule mod_php5.c>
 php_value magic_quotes_gpc                0
 php_value register_globals                0
 php_value session.auto_start              0
 php_value mbstring.http_input             pass
 php_value mbstring.http_output            pass
 php_value mbstring.encoding_translation   0
</IfModule>

# Requires mod_expires to be enabled.
<IfModule mod_expires.c>
 # Enable expirations.
 ExpiresActive On
 # Cache all files for 2 weeks after access (A).
 ExpiresDefault A1209600
 # Do not cache dynamically generated pages.
 ExpiresByType text/html A1
</IfModule>

# Various rewrite rules.
<IfModule mod_rewrite.c>
 RewriteEngine on

 # If your site can be accessed both with and without the 'www.' prefix, you
 # can use one of the following settings to redirect users to your preferred
 # URL, either WITH or WITHOUT the 'www.' prefix. Choose ONLY one option:
 #
 # To redirect all users to access the site WITH the 'www.' prefix,
 # (http://example.com/... will be redirected to [url="http://www.example.com/...)"]http://www.example.com/...)[/url]
 # adapt and uncomment the following:
 # RewriteCond %{HTTP_HOST} ^example\.com$ [NC]
 # RewriteRule ^(.*)$ [url="http://www.example.com/$1"]http://www.example.com/$1[/url] [L,R=301]
 #
 # To redirect all users to access the site WITHOUT the 'www.' prefix,
 # (http://www.example.com/... will be redirected to [url="http://example.com/...)"]http://example.com/...)[/url]
 # adapt and uncomment the following:
 # RewriteCond %{HTTP_HOST} ^www\.example\.com$ [NC]
 # RewriteRule ^(.*)$ [url="http://example.com/$1"]http://example.com/$1[/url] [L,R=301]

 # Modify the RewriteBase if you are using Drupal in a subdirectory and
 # the rewrite rules are not working properly.
 #RewriteBase /drupal

 # Rewrite old-style URLs of the form 'node.php?id=x'.
 #RewriteCond %{REQUEST_FILENAME} !-f
 #RewriteCond %{REQUEST_FILENAME} !-d
 #RewriteCond %{QUERY_STRING} ^id=([^&]+)$
 #RewriteRule node.php index.php?q=node/view/%1 [L]

 # Rewrite old-style URLs of the form 'module.php?mod=x'.
 #RewriteCond %{REQUEST_FILENAME} !-f
 #RewriteCond %{REQUEST_FILENAME} !-d
 #RewriteCond %{QUERY_STRING} ^mod=([^&]+)$
 #RewriteRule module.php index.php?q=%1 [L]

 # Rewrite current-style URLs of the form 'index.php?q=x'.
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteCond %{REQUEST_FILENAME} !-d
 RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
</IfModule>

Options +FollowSymLinks
RewriteEngine On 
RewriteBase /stagingsite/

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}




# $Id: .htaccess,v 1.81.2.3 2007/09/21 12:24:22 drumm Exp $
AddHandler allowoverrideoptions .htaccess

 

There is nothing wrong with the url, the osCsid should disappear after a few clicks however.

Link to comment
Share on other sites

Installed the latest SEO package and getting this error:

 

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/jhowes/public_html/includes/classes/seo.class.php on line 626

 

 

In the seo.class.php file line number 626 is this:

 

'newsdesk_id' => '-n-',

 

 

www.buygander.com

Link to comment
Share on other sites

Installed the latest SEO package and getting this error:

 

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/jhowes/public_html/includes/classes/seo.class.php on line 626

 

 

In the seo.class.php file line number 626 is this:

 

'newsdesk_id' => '-n-',

 

 

www.buygander.com

Go for v21d updated by FWR Media.

Link to comment
Share on other sites

Hi I have installed the 2.1d SEO ultimate and can't understand why the 301 redirect doesn't work fine

 

catalog/index.php?cPath=1_49

 

redirects to

 

catalog/index.php?catalog=index.php

 

I know this has something to do with base_url but what ?

 

Thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...