Re: Ultimate SEO 2.200+ (new features)
Thank you.
How can I just make it not rewrite the ez pages? If I turn off the SEO plugin then the ezpage displays just fine.
This works
http://ie-proofs.com/domo-online.com...page=page&id=1
BUT THIS DOESN'T
http://ie-proofs.com/domo-online.com...age-ezp-1.html
I have remove the "page" references in the "pages to rewrite" but it is still trying to convert the link
This is what I have in my "pages to rewrite"
product_info,page,products_all, products_new, featured_products, specials, contact_us, conditions, privacy, reviews, shippinginfo, faqs_all, site_map, gv_faq, discount_coupon
Re: Ultimate SEO 2.200+ (new features)
Right now I don't see that either ezpage link is properly working, but perhaps you are working on it.
But I just noticed this url and I've never seen one like it before:
http://ie-proofs.com/domo-online.com...products_id=14
Two .com's. And your category Outboard Motor Oil appears to be re-written but the rest of the url looks like zencart's dynamic url. So I don't understand your site and am surprised that it works at all.
EDIT: Or perhaps Outboard Motor Oil isn't a category but a subfolder where your zencart is installed? Very unusual, with the two .com's...but perhaps correct for your set-up.
SECOND EDIT: I'm now guessing: is your second .com - domo-online.com - yet another subfolder? So you have top level domain/subfolder/subfolder?
Re: Ultimate SEO 2.200+ (new features)
Thank you for the extensive explanation, first i would like to say I am not a newb, I am really experienced with PHP, MySQL and ZenCart, even developed my own plugin once ...
I am not familiar with version 1.5.0, that's the one I have installed now, I followed all the installation structure to the letter. Except for the fact that I renamed my old files to .ori the ones from affected files, I am a developer myself and a computer engineer although I am not developing in php all the time, but I have plenty of experience, I read all Zen Carts wiki, and tried to find out what I did wrong, my methodology is to recreate the tree structure EXACTLY, so I'm very careful, about what I copied, so instead of deleting the original files I usually keep them until I am 100% sure everything works, and what is new also, so I followed the installation file to the letter and in the same sequence, that is first new files then the ones that need to be overwritten. After checking several times and uploading using WinSCP, I made sure all files were EXACTLY were they supposed to be, so first I extracted both NewFiles, and Affected files directories to my desktop, the ones for version 1.5.0 in english, so i double checked both contained all the files and there were no errors by comparing the extracted version with compressed one I had still open in WinRar.
Then i followed this >>>
===========================================================
INSTALLATION INSTRUCTIONS
===========================================================
Quote:
1. Copy files from `new_files_<version>` and `new_files_<version>_English` to your Zen Cart install (<version> is your zen cart version).
2a. If you haven't made changes to Zen Cart, Copy and replace files from `affected_files_<version>` to your Zen Cart install
2b. If you have made changes to your Zen Cart, you will need to merge your versions with this version
3. A sample .htaccess file is included. Simply rename to .htaccess and edit to match your site
4. Config the module in CONFIGURATION - SEO URLs
For me its obvious, so I simply dropped the new files in their respective directories, again being VERY careful to follow exactly the tree structure and double checking each time, as it's really easy to follow because the frontend files are separate from the backend ones ... When finish with the new files for the front end and backend I went ahead and started with the ones that will replace the originals so again I made copies renaming to .ori and then just dropped the ones in the respective folders. So the new ones, and I also double checked that, are now in place of the original ones.
I understand is very easy to get confused and skip files even for power users like me, that's why I separate the directories and checked them one by one, then do another comparison with the original compressed package, just to make sure no files were missing ...
Then I noticed I missed a whole directory!!!
Lol I was too tired and didn't realize there are 2 newfiles folders, 1 that says nothing and one that says English! I only installed the English one hence the problems! Too tired thanks for your comments I went through all again and found out that simple fact!!! :oops:
BTW is working now although I would like to get rid of the p and the c!
Re: Ultimate SEO 2.200+ (new features)
thanks, that is correct. This site is replacing another ecommerce one that is not live yet, so I have to get it ready first.
The domain will be www.domo-online.com but for right now I have it as a subdomain just to get it working. Then when I make it live I will switch the domain from www.ie-proofs.com/domo-online.com/ to ------www.domo-online.com
You should be able to see that this page is working http://ie-proofs.com/domo-online.com...page=page&id=1
Any idea how to make it so none of the EZ pages get directed, but the rest do?
thank you for the help
Re: Ultimate SEO 2.200+ (new features)
I guess I don't for the EZpages. I just looked at my admin and don't see ezpages listed at the bottom of my SEO admin as pages to re-write, so I guess they are supposed to be automatic. I was thinking that if EZpages were listed, removing it might work for you.
Re: Ultimate SEO 2.200+ (new features)
Quote:
Originally Posted by
timhersh
How can I just make it not rewrite the ez pages? ...
This is what I have in my "pages to rewrite"
product_info,page,products_all, products_new, featured_products, specials, contact_us, conditions, privacy, reviews, shippinginfo, faqs_all, site_map, gv_faq, discount_coupon
Remove "page" from that list. That is all you need to do to stop the EZ-Pages from being rewritten (and redirected). But there is definitely a problem with your template, installation, or environment if EZ-Pages are not working from the re-written URLs.
Quote:
Originally Posted by
timhersh
I wondered about this. Thank you for letting us know!
I would not recommend preparing a Zen Cart installation for production using a different base web path. It can cause you lots of headaches down the road (with paths in the database, paths in template files, paths for mod_rewrite, etc). I understand many companies do things the way you are to showcase a site to a client before it is deployed. But from experience I can tell you when it comes to website applications it is safer (and faster) to always match the deployment paths.
I would recommend you mimic the production environment including paths as closely as possible in the development environment. So if you plan to deploy under "http://www.domo-online.com/Outboard-Motor-Oil/" your development environment should be something like "http://dev.domo-online.com/Outboard-Motor-Oil/". If you plan to deploy under "http://www.domo-online.com/" then the development environment should be something like "http://dev.domo-online.com/". You could even do something like "http://domo-online.ie-proofs.com/". You get the idea.
If you want people on the forums here to be able to look at your store and try to provide help, it would also be best to give us a URL we can test against and see the same results you see (and the final store will look like). You can always use a robots.txt to keep out search engines until ready to deploy. You can also get fancy and use IP or password blocks to keep the development site from prying eyes (and selectively allow people here access to take a look).
Re: Ultimate SEO 2.200+ (new features)
Quote:
Originally Posted by
icecold
Thank you for the extensive explanation ... I am not familiar with version 1.5.0, that's the one I have installed now ...
I understand. This is why I posted a more detailed installation process. Hopefully what I posted will also help others running into installation issues.
Quote:
Originally Posted by
icecold
Then I noticed I missed a whole directory! ... I only installed the English one hence the problems! ... Too tired thanks for your comments
Yup, easy enough to do. Thus why I recommended starting the install of "Ultimate SEO URLs" over from scratch. It usually helps me to take a step back and re-walk through each step one at a time to make sure I did not miss anything. Now that you have it working - go get some well deserved sleep!
Quote:
Originally Posted by
icecold
BTW is working now although I would like to get rid of the p and the c!
Unfortunately this is not possible with "Ultimate SEO URLs" due to the way it works. One of the core "features" of this module is no database lookup to convert from the re-written URL to the Zen Cart dynamic URL. The anchors (such as -p-12, -c-8, -ezp-2) are used to pass the needed information for performing this step.
Without these anchors - a lookup table would need to be created and maintained in the database - and additional database queries would need to be performed. Personally I can live with the anchors to avoid the extra lookup and I like how "Ultimate SEO URLs" automatically generates the URLs for you instead of requiring you to enter in a URL by hand or via a paid tool. I also like how the URLs are automatically updated when a category or product name changes. No database lookup table also allows reversion to Zen Cart dynamic URLs to be far easier (if one decided to remove Ultimate SEO URLs).
However if you want more flexibility with your URLs, you should take a look at some of the other re-writers which maintain this extra database table. Currently I am not planning to add such a change to "Ultimate SEO URLs" anytime in the near future.
Re: Ultimate SEO 2.200+ (new features)
Thank you. I realize this creates more work and appreciate the feedback, I can't access the old hosting account though and/or domain.
I have edited the list of "rewrite pages" and it still won't pull this up, but it will pull the version that is not redirected
will pull up
http://ie-proofs.com/domo-online.com...page=page&id=1
won't pull up
http://ie-proofs.com/domo-online.com...use-ezp-1.html
*************************************
here is my .htaccess. Is there anything in here I should edit to be able to make it so that everything but the ezpages are redirected?
HTML Code:
##### NOTE: Replace /Outboard-Motor-Oil/ with the relative web path of your catalog in the "Rewrite Base" line below:
Options +FollowSymLinks
RewriteEngine On
RewriteBase /domo-online.com/Outboard-Motor-Oil/
# From Ultimate SEO URLs
RewriteRule ^(.*)-p-(.*).html$ index\.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L]
# Normal Ultimate SEO URLs (disable if using ADD_PRODUCT_CAT)
#RewriteRule ^(.*)-c-(.*).html$ index\.php?main_page=index&cPath=$2&%{QUERY_STRING} [L]
# ADD_PRODUCT_CAT Ultimate SEO URLs (disable if not using ADD_PRODUCT_CAT)
RewriteRule ^(.*)-c-(.*).html$ $1-c-$2/ [R=301,L]
RewriteRule ^(.*)-c-([^/]+)$ %{REQUEST_URI}/ [R=301,L]
RewriteRule ^(.*)-c-([^/]+)/$ 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]
# All other pages
# 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]
# Handle when a resource is not found (404 Error Page)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index\.php?main_page=page_not_found&%{QUERY_STRING} [L]
Re: Ultimate SEO 2.200+ (new features)
Quote:
Unfortunately this is not possible with "Ultimate SEO URLs" due to the way it works. One of the core "features" of this module is no database lookup to convert from the re-written URL to the Zen Cart dynamic URL. The anchors (such as -p-12, -c-8, -ezp-2) are used to pass the needed information for performing this step.
Without these anchors - a lookup table would need to be created and maintained in the database - and additional database queries would need to be performed.
I understand, that's why I asked and in ALL SEO forums I have been they talk about 'Clean URLs', and even some SEO reviewers I had pointed out this fact, so I thought there might be an Apache Mod REWRITE solution, again thanks for the clarification, you saved me hours of research! :)
Right now is working FINE, I hope Google doesn't mind these -p- and -c- added to the URLs ... If I have some time I might create that lookup extra Table you mention, but you mentioned, this is the way other carts do it probably, so I might do a little more research on that matter ...
Re: Ultimate SEO 2.200+ (new features)
Quote:
Originally Posted by
timhersh
I have edited the list of "rewrite pages" and it still won't pull this up, but it will pull the version that is not redirected
Yes, when you remove "page" from the list, all EZ-Pages will no longer be re-written or redirected. This is what you asked for.
If you leave "page" in the list, all EZ-Pages will be re-written and redirected if the redirect option is enabled.
If you want to see changes to the pages immediately after changing settings you need to reset the "seo cache" from the administrative settings.
I have not been able to duplicate your issue with EZ-Pages. I have re-tested with Zen Cart 1.5.0 and 1.5.1 under PHP 5.3 and 5.4 with the stock templates. This leads me to believe something in your environment or installation is causing the issue you are experiencing. You are also still using old versions of the .htaccess file. Go here for more detailed installation instructions for "Ultimate SEO URLs" and go here for the new .htaccess file.