Zen Cart Logo
Forums / All Other Contributions/Addons / Ultimate SEO v3 (and v2.200) [Support Thread]

Ultimate SEO v3 (and v2.200) [Support Thread]

Views: 427,319

Results 201 to 220 of 1,706
14 Dec 2012, 2:26 AM
#201
djp1 avatar

djp1

New Zenner

Join Date:
Aug 2012
Posts:
2
Plugin Contributions:
0

Ultimate SEO v3 (and v2.200) [Support Thread]

Hi, This is my first post, and I am new to Zen Cart, so here goes...I am using Zen version 1.50. I installed this version 10/23/12, and have only added one module..Image Handler 4. I have turned off may of the default banners, and only modified the size of the main page, so when I added Ultimate SEO 2.211, I figured I could just install it as is without merging any files. I followed the steps as listed in the instructions, being sure to use the "1_affected_files_150", and then the remaining files 2_new_files, 3_htaccess and 4_install. In the admin I saw the install successful message, and here are the current settings in the admin: I used FileZilla to transfer the files from my home computer
###############################################################################_
Ultimate SEO

Title Value Action
Ultimate SEO Version 2.211
Enable SEO URLs? true
Generate cPath parameters off
Rewritten URLs end with .html
Format of rewritten URLs original
Categories as directories short
Enter PCRE filter rules for generated URLs
Enter special character conversions
Remove all non-alphanumeric characters? special
Filter Short Words 0
Enter pages to allow rewrite
Choose URL Rewrite Type rewrite
Enable automatic redirects? false
Enable SEO cache to save queries? true
Enable product cache? true
Enable categories cache? true
Enable manufacturers cache? true
Enable ez pages cache? true
Reset SEO URLs Cache false
######################################################################################################################################################___

**Below is the is the current .htaccess file. **

###############################################################################

Common directives

###############################################################################

NOTE: Replace /shop/ with the relative web path of your catalog in the "Rewrite Base" line below:

For security reasons, Option followsymlinks cannot be overridden.

#Options +FollowSymLinks
Options +SymLinksIfOwnerMatch
RewriteEngine on
RewriteBase /thewoodsmithcarvings/

###############################################################################

Start Ultimate SEO URLs

###############################################################################

Handles the new URL formats

RewriteRule ^(.)-c-([0-9_]+)/(.)-p-([0-9]+)(.)$ index.php?main_page=product_info&products_id=$4&cPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.
)-c-([0-9_]+)/(.)-pi-([0-9]+)(.)$ index.php?main_page=popup_image&pID=$4&cPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-c-([0-9_]+)/(.)-pr-([0-9]+)(.)$ index.php?main_page=product_reviews&products_id=$4&cPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.
)-c-([0-9_]+)/(.)-pri-([0-9]+)(.)$ index.php?main_page=product_reviews_info&products_id=$4&cPath=$2&%{QUERY_STRING} [L]

Original (unchanged) URL formats

RewriteRule ^(.)-p-([0-9]+)(.)$ index.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-m-([0-9]+)(.)$ index.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-pi-([0-9]+)(.)$ index.php?main_page=popup_image&pID=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-pr-([0-9]+)(.)$ index.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-pri-([0-9]+)(.)$ index.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-ezp-([0-9]+)(.)$ index.php?main_page=page&id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-c-([0-9_]+)(.)$ index.php?main_page=index&cPath=$2&%{QUERY_STRING} [L]

All other pages

Don't rewrite real files or directories

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?main_page=$1&%{QUERY_STRING} [L]

##############################################################################################################
**I don't know what the problem is, but my urls aren't being rewritten. Here is my site url https://www.thewoodsmithcarvings.com . I have noticed after the main url I get two forward slashes "//" after the .com, when choosing a category and product. I have read through the thred, and haven't found anything specific to this problem. My host is Hostmonster.Another issue is I don't seem to have an error log with this site. This site is an add-on, so it was installed under the public_html directory, and the only error.log file is under the public_html directory, and none under thewoodsmithcarvings directory. I currently have a ticket created with my host to find out if there are any issues with them, but haven't heard anything yet. I hope you can help, and I hope it's something obvious to you, and an easy fix. Crossing my fingers. Thanks in advance!!! **

14 Dec 2012, 2:32 AM
#202
woodlandsprite avatar

woodlandsprite

Zen Follower

Join Date:
May 2006
Posts:
307
Plugin Contributions:
0

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

if your cart is installed into your root directory, your htaccess should be adjusted to the following:

RewriteBase /

rather than what you have above which is:
RewriteBase /thewoodsmithcarvings/

(which would indicate that your shop is installed to a subdirectory called thewoodsmithcarvings)

14 Dec 2012, 8:01 PM
#203
djp1 avatar

djp1

New Zenner

Join Date:
Aug 2012
Posts:
2
Plugin Contributions:
0

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

Thanks woodlandsprite, Yes. That is correct. It is in a subdirectory. Could this be why it isn't rewritting the urls? I am attempting to build this site in the sub directory, with the intent to move it to a root directory when it is finished.

16 Dec 2012, 5:39 AM
#204
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

Is there any reason you are installing 2.121 instead of 2.212? Are there any debug files (check in your cache folder for Zen Cart 1.5.0 / log folder for Zen Cart 1.5.1)?

  1. You say you are "building" the site in a subdirectory? The root of your website looks like a Zen Cart installation... And there is an extra "/"'s in the Zen Cart URLs... You will want to check your configure.php files. This typically indicates an extra "/" somewhere in that file.

  2. This installation on the root of your site also appears to not be configured to issue a 404 for invalid pages and again shows a 500 error... which may indicate an issue with your webserver environment or your .htaccess file. You will need to look in your server logs to see what is causing this error.

  3. The installation for "Ultimate SEO URLs" does not do a full check to see if files are correctly uploaded, the contents of the files are valid, or any necessary merges have been done. From the behavior you are seeing I venture something may have been missed when installing "Ultimate SEO URLs" - probably one of the html_output file changes. Once you have addressed 1 & 2 above, download version 2.212 and redo the installation completely (one step at a time).

16 Dec 2012, 1:44 PM
#205
dharrison avatar

dharrison

Zen Follower

Join Date:
Mar 2009
Location:
Essex, UK
Posts:
448
Plugin Contributions:
0

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

Hi

I really am having problems upgrading my website: It does work fine, but after a couple of hours it completely disappears.

The other add-ons on my website are,

Easy populate,
Sitemap XML,
Google Merchant Center Feeder
Additional Product Images
Ultimate SEO Urls

I drew the conclusion that there is a problem with the SEO URLs as The logs file comes up with this

[16-Dec-2012 13:03:12 Europe/London] PHP Fatal error: Class 'SEO_URL' not found in /home/username/root/Tempfolder/includes/autoload_func.php on line 79

I have tried to uninstall the plugin but the affected folders I am stuck on. Last time I modified them I modified too much and ended up with errors anyway.

The conflicting files are:

includes/classes/query_cache.php
includes/functions/html_output.php
admin/categories.php
admin/product.php
admin/includes/functions/html_output.php

Test site is meant to be here: http://shaftdirect.com/temp12/

Please could anyone advise what I need to change on these files to uninstall the plugin and therefore resolve the conflict? I have also tried to switch off the SEO URLs function prior to upgrading but it makes no difference.

Please could anyone help? Any help would be gratefully received.

17 Dec 2012, 7:09 AM
#206
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

What version of Zen Cart are you upgrading to and from? What steps have been taken?
What version of "Ultimate SEO URLs" was previously installed? What version are you trying to install?
When you say "disappeared" do you mean you get a blank page? Or an error message? Or a 404 Not Found?

dharrison:

]I really am having problems upgrading my website: It does work fine, but after a couple of hours it completely disappears. I drew the conclusion that there is a problem with the SEO URLs as The logs file comes up with this
Correct, this indicates there is a problem with your installation of "Ultimate SEO URLs". Usually this indicates some files were missed when you installed (or upgraded) the plugin. This is not a problem caused by "Ultimate SEO URLs". What the error message you specified tells you is Zen Cart cannot find the "SEO_URL" class.

If this did not originally occur and just started happening by itself (nothing was changed by you) after a couple hours I would be very concerned about your site being hacked or your hosting provider having some difficulties with their storage.

dharrison:

I have tried to uninstall the plugin but the affected folders I am stuck on. Last time I modified them I modified too much and ended up with errors anyway.
It might be faster for you to start over with clean files from the version of Zen Cart you are upgrading to. If you use a VCS you can just revert back your changes. Otherwise you will need to use a tool such as WinMerge or Beyond Compare and manually look through the files to see what is different and undo anything you changed.

If the version of "Ultimate SEO URLs" installed was newer than 2.200 the readme file contains instructions on uninstalling the plugin. Keep in mind the uninstallers in more recent versions will not remove files - only cleanup the database entries - and are not intended for installs prior to 2.200.

dharrison:

Please could anyone help? Any help would be gratefully received.
If you are attempting to upgrade from an older version of Zen Cart to a newer version, the easiest way is to just install the new version in a new location with a new clean database. Do not copy or leave files from the old version. Once installed, copy the data from your old database to the new database using phpmyadmin or similar. Run the zc_install script again, this time choosing to only upgrade the database. Verify the site is functional. Install (only compatible) plugins one at a time. Verify site is working after each plugin is installed and configured. Last add your theme and any other needed customizations.

Doing it this way instead of starting with the old site and overwriting files with the new ones will save alot of time and hassle during the upgrade. This is not a full list of how to upgrade, there are instructions which come with Zen Cart and also an excellent article on the wiki. The above are just a short list of steps in order based upon my experiences upgrading a couple sites from Zen Cart 1.3.8 to 1.3.9 to 1.5.0 to 1.5.1.

17 Dec 2012, 7:39 PM
#207
sph avatar

sph

Totally Zenned

Join Date:
Jan 2006
Posts:
1,556
Plugin Contributions:
0

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

If I might jump in: I am a big fan of doing zencart upgrades via a fresh install. In fact, that is the only way I now do upgrades. Then I do the Database upgrade, as Inhungil mentioned (although once I just began again with a new DB.) Fresh installs seem more reliable to me. Also, allows me to re-think my plugins. Also seems faster than trying to winmerge and compare a bunch of files.

But, after doing my fresh install upgrade, the very first plugin I install is DrByte's Database backup/restore plugin. It's fantastic, allowing backups and, if necessary, immediate db restorations...and all from your zencart admin. I use it before anything that might affect the database when upgrading and installing plugins. I also use it before every easypopulate product upload, just in case.*

If you're not already using it you can get it here. Note there may be some server restrictions. Also, I had a problem once when my DB password had, or began, with special characters:

http://www.zen-cart.com/downloads.php?do=file&id=7

However, instead of installing my theme/template last, the template would normally be my second plugin. That's because many other plugins are template specific, having to be assigned to the template.

My third plugin would normally be Ultimate SEO.

But whatever works. :)

*All Easypopulates we use work, now primarily using Easypopulate 4. But occasionally we might make an error in the spreadsheet...operator error. A quick DB restore from admin can fix that back to square one.

17 Dec 2012, 10:17 PM
#208
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

SPH:

... The very first plugin I install is DrByte's Database backup/restore plugin. It's fantastic, allowing backups and, if necessary, immediate db restorations...and all from your zencart admin. I use it before anything that might affect the database when upgrading and installing plugins. I also use it before every easypopulate product upload, just in case.
Always a good idea - and saves time if something goes awry in the database during the installation of a plugin or template. Sleepy lhungil = forgetting a time saver. Thanks SPH!

SPH:

However, instead of installing my theme/template last, the template would normally be my second plugin. That's because many other plugins are template specific, having to be assigned to the template.
One of these days I need to stop writing templates from scratch. I have my reasons, but would be very off topic. I'll defer to SPH on this one (granted you are installing a pre-built template for Zen Cart >= 1.50 which includes Zen Cart plugins).

18 Dec 2012, 1:17 PM
#209
dharrison avatar

dharrison

Zen Follower

Join Date:
Mar 2009
Location:
Essex, UK
Posts:
448
Plugin Contributions:
0

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

Thanks lhungil and SPH I shall give this a try. :smile:

18 Dec 2012, 9:36 PM
#210
sph avatar

sph

Totally Zenned

Join Date:
Jan 2006
Posts:
1,556
Plugin Contributions:
0

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

You're welcome. Also, you might want to practice on a test site. I have a couple of test/secondary sites that I use for this purpose.

20 Dec 2012, 9:50 PM
#211
coucho avatar

coucho

Zen Follower

Join Date:
Jan 2008
Location:
Memphis, USA
Posts:
298
Plugin Contributions:
0

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

I installed this mod on my v150 a couple of days ago and have a couple of issues now. The install went great and it is working but now when I click on the contact us tab or the links in the footer menu except useful links it comes back with a 404 error along with the site map. Checked with my hosting company and they could not find the problem. These links were working before I installed this mod. Any ideas or questions?

Thanks,
Coucho

21 Dec 2012, 1:28 AM
#212
curlydan avatar

curlydan

New Zenner

Join Date:
Dec 2012
Posts:
14
Plugin Contributions:
0

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

coucho:

I installed this mod on my v150 a couple of days ago and have a couple of issues now. The install went great and it is working but now when I click on the contact us tab or the links in the footer menu except useful links it comes back with a 404 error along with the site map. Checked with my hosting company and they could not find the problem. These links were working before I installed this mod. Any ideas or questions?

Thanks,
Coucho

This is a general question, I was looking through the instructions and have no difficulty with any of the steps except step #3.

  1. A sample .htaccess file is included. Edit
    "3_htaccess/.htaccess" to match your web server's
    environment. Pay particular attention to the
    "RewriteBase" line. Make sure your server does not have
    "MultiViews" enabled (rare).

If you have an existing .htaccess file in the folder
where you installed Zen Cart merge the new .htaccess
file with the existing file (remember rules are matched
in order, so any custom URL transformations or
redirects should appear before the "Start Ultimate
SEO URLs" block. Upload the .htaccess file to the
folder where you installed Zen Cart.

I have no idea what any of this means. More specifically, Can someone please explain in simpler terms for me. I have opened the "3_htaccess" file and it is empty... How do I make this match my web servers environment? What is a rewrite base line? How can I check if I have multiviews enabled?

Thanks.

21 Dec 2012, 6:09 AM
#213
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

coucho:

... when I click on the contact us tab or the links in the footer menu except useful links it comes back with a 404 error ...
Hard to say without further information. What is the address the contact us tab points to? What version of "Ultimate SEO URLs" was installed? What do you have in your .htaccess file? Can you give us a link to the website where this error is being experienced?

21 Dec 2012, 6:19 AM
#214
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

curlydan:

I have opened the "3_htaccess" file and it is empty...
The folder is not empty it contains a file named ".htaccess". If you are on an apple computer or linux computer you need to have "show files starting with a dot" enabled. By default these files are hidden on *nix and apple based computers.

curlydan:

How do I make this match my web servers environment?
Depends on your environment. For most *nix based operating systems (running Apache2) all you need to do is update the RewriteBase directive. For windows based environments you need to use an ISAPI .htaccess filter or convert the rules to a web.config for IIS7+.

curlydan:

How can I check if I have multiviews enabled?
This is rare for most hosting providers to enable by default. You can ask your provider if you run into problems.

21 Dec 2012, 10:30 PM
#215
curlydan avatar

curlydan

New Zenner

Join Date:
Dec 2012
Posts:
14
Plugin Contributions:
0

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

lhungil:

The folder is not empty it contains a file named ".htaccess". If you are on an apple computer or linux computer you need to have "show files starting with a dot" enabled. By default these files are hidden on *nix and apple based computers.

Depends on your environment. For most *nix based operating systems (running Apache2) all you need to do is update the RewriteBase directive. For windows based environments you need to use an ISAPI .htaccess filter or convert the rules to a web.config for IIS7+.

This is rare for most hosting providers to enable by default. You can ask your provider if you run into problems.

Originally Posted by curlydan
I have opened the "3_htaccess" file and it is empty...
The folder is not empty it contains a file named ".htaccess". If you are on an apple computer or linux computer you need to have "show files starting with a dot" enabled. By default these files are hidden on *nix and apple based computers.

Originally Posted by curlydan
How do I make this match my web servers environment?
Depends on your environment. For most *nix based operating systems (running Apache2) all you need to do is update the RewriteBase directive. For windows based environments you need to use an ISAPI .htaccess filter or convert the rules to a web.config for IIS7+.

Thanks for your response. It was very detailed. I will look in to how to show these hidden files as I am using a mac computer.

I am still unsure how to match my web servers environment. How do I find out what environment I have? That would be the first step. I have no idea what "all you need to do is update the RewriteBase directive." means. Perhaps I can ask my host company to do this? I have hostpapa account.

Lastly, I have an existing .htaccess file in the folder where you installed Zen Cart. How can I merge the new .htaccess file with the existing file? The file is dated on the day I installed my zencart so it has never been touched.

Thanks and happy holidays

23 Dec 2012, 2:40 AM
#216
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

curlydan:

How do I find out what environment I have? That would be the first step.
The most important pieces of the environment you will want to know for installing this module are:
Windows or Linux hosting? (phpinfo, hosting provider)
Does the web server allow .htaccess files and RewriteEngine / RewriteRule? (phpinfo, hosting provider)
What URL do you use to access Zen Cart? (browser, phpinfo, Zen Cart configure.php)
Where is your Zen Cart installed on the server (FTP, phpinfo, Zen Cart configure.php)

When you log into the admin for Zen Cart, you can click on "version" (upper right). This will output information about Zen Cart and also the results of "phpinfo()" which contain information about your webserver's PHP environment. If you have additional questions the company hosting your website can probably give you any additional information.

curlydan:

I am still unsure how to match my web servers environment. I have no idea what "all you need to do is update the RewriteBase directive." means. Perhaps I can ask my host company to do this? I have hostpapa account.
This will make more sense after you configure your computer so you can look at the ".htaccess" included in the downloaded zip file. If you want, you can read more about Apache mod_rewrite. This is not typically something your hosting provider configures... but I suppose if you want you could ask.

curlydan:

Lastly, I have an existing .htaccess file in the folder where you installed Zen Cart. How can I merge the new .htaccess file with the existing file? The file is dated on the day I installed my zencart so it has never been touched.
Zen Cart does not ship with a .htaccess file in the installation directory. Nor does it install one in the installation directory by default. How did you install Zen Cart?

It all depends on what is in the ".htaccess" file. Basically ".htaccess" files allow one to change web server configuration options without directly editing the master or main web server configuration files. There are alot of things one can change in a .htaccess file so there is no "one size fits all". You can probably post the ".htaccess" file on here (or PM privately) for more help if needed.

Hope everyone is enjoying the holidays!

P.S. I am going to be fairly busy during the holidays, so will take awhile for me to respond.

12 Jan 2013, 6:07 AM
#217
kenmax avatar

kenmax

New Zenner

Join Date:
Aug 2012
Posts:
9
Plugin Contributions:
0

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

Hi I am a new user of Ultimate SEO URLs. I install it on a Zen Cart v1.5.1 and after that when I login the admin page I can only see the "Configuration" in it and all other menus are just gone. Any ideas?
Attachment 11750

12 Jan 2013, 4:13 PM
#218
gpone12 avatar

gpone12

New Zenner

Join Date:
Dec 2011
Posts:
12
Plugin Contributions:
0

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

Hello,
I try to find a solution for link in back button, the link is to page not found (http://www.example.com/index.php?mai...page_not_found)
I use the latest version for Ultimate SEO

i use 1.51 version

How to fix this?
Any ideas.

Thanks,

George

12 Jan 2013, 4:48 PM
#219
sph avatar

sph

Totally Zenned

Join Date:
Jan 2006
Posts:
1,556
Plugin Contributions:
0

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

gpone12:

Hello,
I try to find a solution for link in back button, the link is to page not found (http://www.example.com/index.php?main_page=page_not_found)
I use the latest version for Ultimate SEO

i use 1.51 version

How to fix this?
Any ideas.

Thanks,

George

It would help more if you gave a link or non-linked text address to your site, so we can see what is going on.

But if you mean that your "Back Button" at the bottom of pages like Contact Us do not work, see this post:

http://www.zen-cart.com/showthread.php?199064-Ultimate-SEO-2-200-%28new-features%29-Support-Thread&p=1156227&highlight=back+button+fix#post1156227

This post leads to another post where there is a fix that worked for me. Here is the post with the fix:

http://www.zen-cart.com/showthread.php?200899-page_not_found-should-remove-itself-from-the-navigation-history

As I recall, I used the fix in post no. 1.

Hope it works for you.

13 Jan 2013, 10:26 AM
#220
bobo01 avatar

bobo01

New Zenner

Join Date:
Jan 2013
Posts:
4
Plugin Contributions:
0

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

After installing this my main page does not work anymore. I had some java script on there to slide four images and to show the cookie notice for the EU. Any ideas how to fix this?