Have a look at
http://www.zen-cart.com/forum/showthread.php?t=82491
Printable View
Have a look at
http://www.zen-cart.com/forum/showthread.php?t=82491
wonder if anybody can help me
I have installed this mod, and works great
but I have a directory I had to password protect, when I try to access the directory, I get a 404 .. if I turn mod_rewite off, it works fine
problem is, if I turn mod_rewite off, ultimate url's stop working too
i try putting a .htaccess inside that directory with
RewriteEngine Off"
But that does not do anything (I tought it was suppose to)
any ideas ? my .htacces in the root has
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/$1 [L,QSA]
Hi All,
I know this may be cross post but I need some advice. I am moving my store from one machine to a new machine and all the physical path and IIS setting is exactly the same as the old machine. However, I am having some problems to get the store working due to the SEO modules on the new server. The thread can be found at http://www.zen-cart.com/forum/showthread.php?p=575205
Following by this, I tried to narrow down the issue if it is a server side issue or the zend installation issue by installing a completely new store with zen 1.3.8. I have loaded the latest modules to the server but I can't seems to find the SEO URLS upon I login to the admin area.
Okie.. I have give up on Ultimate SEO v2 and have loaded the v3 and it looks to be loading well on the products / categories pages. However, all the Information links such as EZ pages, contact us, sitemap..etc is linked back to the home page when I scroll over.
In the Read Me it says:
If your site is new go to the config and change the option Enable automatic redirects to false.
Although the admin is spanish I took a WAG and
LINE 1 SPANISH + Activar las direcciones SEO?
Deafult = true
Change to FALSE and the 404 Error "went away"
HTH
Wheat
regretting her failure to realize that someday the ability to read Spanish would be important to computing <g> .
Does anybody knows if the "Ultimate SEO URLs" works fine on Zen Cart 1.3.8?
I have an online store and i want to know if a can put it a little seo.
But i simply don't want to try it out until i find out if this is working
Does anybody tryed that?
PLS answer! :bigups:
Totally agree with jeking. I have to use a commercial one after all the time to mess with.
If you have the skill and time to dig into all the trouble details, it's good for you. If you need to focus running the biz, then ...
I believe the above statement apply on most open source extension or even the product itself.
I have just installed it on a clean install. It works great -- except --
all the Information links such as EZ pages, contact us, All Products, New Products get an error 404.
And, yes they are set to rewrite in the seo admin page.
Any suggestions??
I've been researching quite a bit, and I have not found a satisfactory answer for any of these questions:
I installed this mod on 1.3.8a- after figuring out a few hick-ups it works great overall. However, I've found some critical issues I really need to address. Based on feedback in this thread, I'm confident many others are having similar problems/ questions.
--index.php?main_page=xxxx Bug/ Can't Seem to Correct it--
There still a minor issue of some pages I can't properly fix. I tried a pre_replace fix from this thread, but for whatever reason, it had no effect whatsoever on the links.
On my site its strange because both links work:
www.mysite.com/index.php?main_page=login
www.mysite.com/login/
here's some other examples:
www.mysite.com/index.php?main_page=account
www.mysite.com/account/
Oh yeah--you might notice I tweaked things. I don't like extensions on my pages, so I cut off the .html. Someone had requested a fix for this months ago--I went ahead & posted my solution already on the forum. It works nearly perfect for me...
I can't figure out the PHP though on the zen cart links well enough however to get the pages to display links like:
www.mysite.com/login/
instead of:
www.mysite.com/index.php?main_page=login
here's whats strange for me.. automatic redirects is "on"--but for whatever reason BOTH links work, and it doesn't automatically redirect from "www.mysite.com/index.php?main_page=login" to "www.mysite.com/login/"
Anyway--sorry to be long winded, but what I really need is to just get the clean URLs to show up in the display--or get the site to post these links inside the HTML, since serverside it's already working.
--Serious Concern: Duplicate Links are working--
I'm also concerned because duplicate links are working & it's not redirecting. This can wreak havoc on my SEO type stuff--the whole driving point behind all of this. It also seems 404 headers are not being sent--AND I did try the fix posted earlier in this thread, but it didn't seem to work...
--Final Concern: Useless Symbols Plague my URLs--
I'm trying to get rid of the little acronyms in the categories:
$this->reg_anchors = array(
'products_id' => '-p-',
'cPath' => '-c-',
'manufacturers_id' => '-m-',
'pID' => '-pi-',
'products_id_review' => '-pr-',
'products_id_review_info' => '-pri-',
You'll notice on any product you've got a "-p-" in the link, or any category has a -c- in the link. For my site at least this is completely unnecessary. Everything is 100% unique already, and I have no need whatsoever for these useless symbols in my URLs.
Aside, these symbols just make things busy, and at least to me, they are really unprofessional.
I don't want the category numbers in my links either.
So the question is... how can I cut / append the queries so it outputs cleaner URLs.. one without these little symbols and without category numbers...
--Summary--
Here's a summary of my questions.
1-How can I change the HTML output to display only links like this: mysite.com/xxxx/ instead of mysite.com/index.php?main_page=xxxx (I already removed .html from my links)
(see examples above to know in what cases this happens)
2-I can't get the site to do 301 redirects off the duplicate links--and it appears the 404 headers are not getting output like they should. How can I get rid of these 'duplicate' links/ get the 301 redirects working properly (right now, I can put gibberish in the URL and it still appears/functions!!)
3-How can I cut the little symbols and numbers out of my URLs? It's superfluous and unprofessional--my URLs are already 100% unique as well, so I have no need for it...
Add category parent to beginning of URLs? true --I notice this functions only looks one category deep, i.e. only one category above the current category.
I wish it would go perhaps 4-5 levels deep, so I can get all the relevant info built into the URL...
I've been experimenting--
I noticed I can change "-c-" in both .htaccess and in seo.url.php 'cPath' => '-c-'
in both cases from:
"-c-" to "-"
Tentatively, it's working so far. However, I'm not sure I can do that with any of the other symbols now that I have done it to one--although I'm going to try.
It seems it's almost impossible to get rid of those anchors because they seem to be fundamental assumptions of the mod. Without them, the mod gets confused & nothing works.
I think I've gotten pretty frustrated, I'm not sure how many hours I've spent on this mod, but it can't be good.
One reason I've spent so much time with this is that I need PERMANENT urls on my site, ones that will never change.
I can't commit myself to URLs that are in any way 'sloppy'
It seems I'm banging my head against the wall in terms of looking for a solution on this.
I believe there's a fundamental flaw in the way the htaccess is written on this mod--and I'm struggling to figure out how to correct it.
-- Unlimited Duplicate URLs? --
Problem:
RewriteRule ^(.*)-p-(.*)/$ index\.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L]
let me explain--the 2x wildcards basically mean almost anything can refer to a given page, as long as it has the -p- to represent product. I know this sounds ridiculous--but I've been testing this, and it's consistently recurring!
I observed that I could put junk characters in a URL to a large extent and it would still point to the item I was on!!! I.e. No 404's headers are being sent, so as far as a search engine is concerned, this would qualify as duplicate content.
This implies I could have almost unlimited duplicate URLs--which of course is a nightmare.
-- Need to Modify Base URL code for index\.php?main_page= --
I have another major concern here. I want to hide these pages: index\.php?main_page=$2&%{QUERY_STRING} from the server. However, the base code has not been changed in the case of logins, log outs, and checking my account in some cases, and since I'm new to zen, so far I'm lacking the skill to rewrite the internal URL mods (which I must do to correct this).
--Should I Give up?--
These are major fundamental flaws, and I don't think I have the skill to soundly correct them.
I really hope an expert will please comment on this! I'm looking for feedback--
I think the logic here needs to be turned on it's head a bit--
Perhaps the query_string function could become the anchor--then you would no longer need the artificial anchors.
e.g. all you would need to redirect (for example) the "about_us" page would be a query that identifies it in the query string, then puts it right in the link as well.
Correct me if I'm wrong, but that's not what's going on with this:
RewriteRule ^(.*)-c-(.*)/$ index\.php?main_page=index&cPath=$2&%{QUERY_STRING} [L]
The person who wrote this is much more skilled than me--I just wish I had the skill to change the code so that arbitrary hooks... like -p- and -c- were not used.
Clean URLs are important to me--I want nice URLs that I never have to change... even several years down the road...
I'm still trying to figure out how to drop these 'hooks' from the php & htaccess, and I still need to get rid of the numbers and underscores based on category and product listings between numbers in the new URLs too.
I have just upgraded from 1.3.7 with SEO Urls 3.0.0-beta1 working to 1.3.8 and 3.0.0-beta1 seems to be working OK still after re-adjusting the code in html_output.php and installing this patch for the admin: http://bugs.smarterwebdev.com/files/66396209.zip .
I tried getting the 2.x version going but gave database errors. So stuck to Beta, which I believe was made from the ground up.
How are others fairing with 1.3.8 with 3.0.0-beta1 installed?
I am trying to figure out why I am getting errors. Can you help me?
http://www.superseeds.ca/store
I have tested the this mod. First thing is that I never was able to switch it to English, it is all in Dutch or something. The mod itself and the idea is good, but not suitable for me, since I am using zen in Russian.Iit takes russian names for products and categories, which become a mess (abrakadabra).
Before I'd installed this mod, I backed up the whole site. When I decided to go back to dynamic urls, I have removed zen from my site completely, and then restored the backed up copy of it. But I still have the SEO menu in my admin section, and the urls for my products became too long. Not as what they used to be before. How can I get rid of this mod completely and restore my previous urls?
I use Zen cart 1.3.6. I used Ultimate SEO 2.1 and worked fine except that it seems that it doesnt support 301 redirect. So I tried the 3.0 beta but my categories url have the following shape www.mysite.com/?cPath=65 !!!! (whithout the the category name inthe url !!!!!).
Any idea on whay I am getting this. Thank you in advance for any input.
Thanks
Uninstall it. You'll find chemo's is hard to uninstall/ good luck.
Use this mod: (Simple SEO URL)
It does the same thing as Chemo's, but better because it's supported, and it was written with a good framework / better methodology. I've got in on my zen cart site now, I'm quite happy with it:
http://www.zen-cart.com/forum/showth...=86353&page=67
Okay, so right now this mod is Rewriting EZ-Pages to this:
page.html?id=XX
where
XX = EZ-Pages ID number
How do I get it to Rewrite EZ-Pages like this instead?:
ez-pages-page-title.html
so for example:
page.html?id=10
would turn into
pretty-colors.html
where
Pretty Colors is the EZ Pages Page Title with an EZ-Pages ID of 10
I don't think anyone is maintaining this project.
I highly recommend using SSU (simple seo urls). The methodology, the way it was written, is in my opinion, the only proper way to clean up zen cart urls. And it is by far the most effective way (htaccess feeds the redirects to php--it's the only way to really get rid of ugly urls).
Yellow is extremely skilled/ professional, and in fact, the latest version of her SSU allows you to control your URLs 100% (you can give each page a specific URL, anything you like, virtual folders, etc).
Here's is the link to the zen cart mod thread for SSU:
http://www.zen-cart.com/forum/showth...86353&page=175
Here's her site:
http://rubikintegration.com/
Here's where you can download SSU:
http://public.rubikintegration.com/
It looks like 3.5.4 the latest version to date is still in beta. This is the version that allows complete control of your URLs (something nothing else offers--not magic seo url, not chemos, not anything else to date, trust me, I've researched this extensively).
I have the SEO URL Beta 3 installed and I have tried removing all the files as in the download source have from the installed zen directory but upon login via the admin, I can still see the SEO URL Beta-3 options on the Configurations menu. Anyone know what would I have missed out?
The answer is, don't use this mod. This mod is defunct, no one maintains it, or supports it. Use SSU URL mod (see my quote above).
Why use a defunct mod that is not updated? You're committing your site to something that is just going to create problems for you. I've used this mod, and it's written poorly. The only solution is to write something different completely--which has already been done with SSU URL.
USE THIS MOD, it will solve those problems you're having (why re-invent the wheel?)
http://www.zen-cart.com/forum/showth...86353&page=188
I used the following SQL Code to remove the information for SEO 3.0.0-beta1 from a number of sites that are in the process of transitioning to SSU or Magic SEO.
(This may or may not work for you, it works for me -- but you might want to backup your database before trying this :))
Go to Tools ->Install SQL Patches and enter the following code:
(note: that's four seperate lines with the ;'s ending each line.)
--[begin cut here]--
SET @configuration_group_id=0;
SELECT (@configuration_group_id:=configuration_group_id) FROM configuration_group WHERE configuration_group_title = 'Seo Urls 3.0.0-beta1' LIMIT 1;
DELETE FROM configuration WHERE configuration_group_id = @configuration_group_id AND configuration_group_id != 0;
DELETE FROM configuration_group WHERE configuration_group_id = @configuration_group_id AND configuration_group_id != 0;
--[end cut here]--
If it works, you should see "4 Statements Processed" and you will no longer see the unmaintained SEO module in your configuration menu.
Hello all, right i've noticed that our ultimate seo its V2.100 and was planning on upgrading to V2.101 can anyone tell me if the problem is fixed in this where some URLs do not rewrite with SEF urls?
and if so is it just a question of copying over the seo.url.php file?
having got them up side by side it would appear that our current one says osCid instead of Zenid.
The weird thing is though that on the majority of these URLS it does create the SEF but on others it doesnt.
any confirmation or pointers greatly recieved.
regards
Andy.
Is this still necessary on 1.3.8a?
So on 1.3.8a it should look like
instead ofPHP Code:
if (!is_dir(DIR_WS_MODULES . 'pages/' . $_GET['main_page'])) {
header('HTTP/1.1 404 Not Found');
if (MISSING_PAGE_CHECK == 'On' || MISSING_PAGE_CHECK == 'true') {
$_GET['main_page'] = 'index';
} elseif (MISSING_PAGE_CHECK == 'Page Not Found') {
header('HTTP/1.1 404 Not Found');
$_GET['main_page'] = 'page_not_found';
}
If I do this and type in gobbledygookPHP Code:
if (!is_dir(DIR_WS_MODULES . 'pages/' . $_GET['main_page'])) {
if (MISSING_PAGE_CHECK == 'On' || MISSING_PAGE_CHECK == 'true') {
$_GET['main_page'] = 'index';
} elseif (MISSING_PAGE_CHECK == 'Page Not Found') {
header('HTTP/1.1 404 Not Found');
$_GET['main_page'] = 'page_not_found';
}
THANKS!
I just installed the latest version and my EZPages do not rewrite. Is this mod not able to do those? Thanks!
I am having the same problem. I have two sites which have been working fine for 2 years. A week or so ago the host went down for a few days. When they finally came up, store was OK. Two days ago, all of a sudden the store disappears and all I get is:
1054 Unknown column 'c.parent_id' in 'on clause'
in:
[SELECT c.categories_id as id, c.parent_id, cd.categories_name as cName, cd2.categories_name as pName FROM zen_categories c, zen_categories_description cd LEFT JOIN zen_categories_description cd2 ON c.parent_id=cd2.categories_id AND cd2.language_id='1' WHERE c.categories_id=cd.categories_id AND cd.language_id='1']
I tried to find the code (as advised above) in includes/classes/seo.url.php but I can't find it. Any help would be greatly appreciated! I logged into my admin panel and I saw that SEO URL was turned off (false). I did reset it (cause another post suggested that), still the same. Tried to turn it on and off and nothing.
In case anyone needs help with this, I found the solution here: http://www.zen-cart.com/forum/showth...600#post783600 It worked!
I have a site that is using 1.3.7 although I am working on a test site upgrade to 1.3.8a. I removed all the files and modifications for SEO URLS but it is still showing up in my configuration list. I tried the SQL patch shown above and nothing happened. When I then copied my database to the test 1.3.8 site, it showed up there as well. I cannot get it to work as it hinders other pages as well so I want it gone! How can I get rid of it in both sites? I'll try using another SEO program, but I want SEO URLs gone. Or will I just have to live with it sitting turned off in admin Configuration? :frusty:
Kathy
I have this mode long time
After database apgrade to MySQL 5.0.77 have som eproblems
I add new categories. All ok. But one category looked like empty
This empty category hase another one inside.. But dont show me it... Just looked like no category inside.
If I turn off SEO mod - I see it.
Something wrong and I dont know where can I search.
I add meibe 20 new categories yesterday and only one looked empty.... it is strange... All other worked normaly....
maxus
Hey,
I moved a domain to Rackspace and I have the SEO URLs mod installed. It's been installed and running fine for over a year on a GoDaddy server. But, it's not working on the new Rackspace server. Since I now have full control over the new server, I'm thinking that there is a setting that I've missed somewhere. The URLs are rewriting but when clicked, get a 404 error. I'm thinking it might have something to do with the .htaccess file because my 404 redirect is also not working. I'm certain the file is written correctly because it's been working on another server.
So, is there an Apache setting somewhere that needs to be enabled? Has anyone else had this issue? Any tips are greatly appreciated!
Thank you!
I have 404 error coming up as well ** URL REMOVED **/beauty-c-31.html
.htaccess is written to specifications
can anyone help?
Zen Cart 1.39b
Just installed this and when I enable the module I only get:
Not Found
The requested URL /lg-xenon-gr500-3g-touchscreen-qwerty-att-unlocked-phone-blue-p-1468.html 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'm not sure what the issue is or what I'm doing wrong - however need any help you can offer.
Hi - did you get a fix for this? I'm running lighttpd and when I enable the seo module it redirects fine to the friendly url but it also says 404 -not found. It's driving me crazy. I've put an adapted htaccess file in the root (for lighttpd) but it doesn't seem to do anything. Maybe I've not enabled the rewrite module in lighttpd but I don't know how to check. I've created a phpinfo file but I don't know what I'm looking for.
Yuck :-(
Richard
Hi
I was using theUltimate SEO URL and seemed to be having the same problem,
All catalog pages went 404.
My Solution was 2 things:
In the .htaccess file I changed this line to"RewriteBase /" because my store was installed in main directory not subdirectory
also make sure you add the . (dot) in front of htaccess file name it should be .htaccess
Now it works great
Hope this helps someone
Hi,
My website is build in zencart version 1.3.8a. while using xenu test tool all the html links are reported has "404 page not found" error. But all the page are working fine in the browsers. I request you to help me in this issue.
Here is my htaccess code:
##### NOTE: Replace /shop/ with the relative web path of your catalog in the "Rewrite Base" line below:
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
#RewriteCond %{HTTP_HOST} !^www\.us-immigration\.com [NC]
#RewriteCond %{HTTP_HOST} !^$
#RewriteRule ^(.*) http://www.us-immigration.com/$1 [L,R]
RewriteCond %{HTTP_HOST} ^us-immigration\.com$ [NC]
RewriteRule ^(.*)$ http://www.us-immigration.com/$1 [R=301]
# From Ultimate SEO URLs
RewriteRule ^(.*)-p-(.*).html$ index\.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-c-(.*).html$ index\.php?main_page=index&cPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-n-(.*).html$ index\.php?main_page=news_article&article_id=$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]
#RewriteRule ^catalog/(.*)$ index\.php?main_page=product_info&products_id=118&%{QUERY_STRING} [L]
RewriteRule ^(.*)-pji-(.*).html$ index\.php?main_page=document_product_info&products_id=$2&%{QUERY_STRING} [L]
# For Open Operations Info Manager
RewriteRule ^(.*)-i-([0-9]+).html$ index\.php?main_page=info_manager&pages_id=$2&%{QUERY_STRING} [L]
# For dreamscape's News & Articles Manager
RewriteRule ^rss.xml$ index\.php?main_page=news_rss&%{QUERY_STRING} [L]
# All other pages
# Don't rewrite real files or directories
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*).html$ index\.php?main_page=$1&%{QUERY_STRING} [L]
Please help me.
-ImmanuelVictor.
I also have this issue - installed the latest version of the Ultimate SEO URL's module (2.109) on top of the latest release of Zen Cart (1.3.9h) and all links produce a 404 error.
Problem is, there's been a lot of talk about editing the .htaccess file in the root folder of the cart installation (ie. in my case - with it being under a subdomain (http://designing.theweare.net) - the "root" would be the folder named designing), except in my installation there is no .htaccess in the root directory. There are a number of others inside subfolders - there's even one called htaccess_for_page_not_found_redirects.htaccess which I find particularly amusing :laugh: - do I move one of the existing files to the cart's root directory? Do I simply edit one of the existing ones and leave it where it is (if so, which one/s)? Or do I just create a blank .htaccess file and add the rewrite rules to it?
The existing .htaccess files are in the current locations:
Any help would be appreciated... :smile:Quote:
/designing/editors/.htaccess
/designing/pub/.htaccess
/designing/images/.htaccess
/designing/images/uploads/.htaccess
/designing/zc_admin/.htaccess
/designing/zc_admin/includes/.htaccess
/designing/download/.htaccess
/designing/media/.htaccess
/designing/extras/.htaccess
/designing/extras/htaccess_for_page_not_found_redirects.htaccess
/designing/email/.htaccess
/designing/docs/.htaccess
/designing/cache/.htaccess
/designing/includes/.htaccess
/designing/includes/classes/support/.htaccess
/designing/includes/modules/payment/linkpoint_api/.htaccess
/designing/includes/modules/payment/paypal/logs/.htaccess
Thanks in advance,
LJ
P.S.
If the key to this module working is in the .htaccess file, how would it work for sites under a subdomain, as opposed to a subdirectory? For example, the site in question here is http://designing.theweare.net - not http://www.theweare.net/designing - would the previously mentioned "/designing/" hack still work for this (I'm assuming it refers to the folder on the server that all files are contained in, so if that's the case I think it should, but can't be sure - plus I've just tested the subdirectory URL structure and it seems to work just like the subdomain one)?
The first ruleset produces a 302 redirect and does not redirect www requests with an appended port number.
The second ruleset never gets to run. Even so, the L flag is missing from that rule.
Try one rule:
Code:RewriteCond %{HTTP_HOST} !^(www\.example\.com)?$
RewriteRule (.*) http://www.example.com/$1 [R=301,L]
The multiple (.*) patterns cause this code to run hundreds of times slower than it should. Every URL request hitting your server results in mod_rewrite performing thousands or tens of thousands of "back off and retry" "trial match" attempts.Quote:
# From Ultimate SEO URLs
RewriteRule ^(.*)-p-(.*).html$ index\.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-c-(.*).html$ index\.php?main_page=index&cPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-n-(.*).html$ index\.php?main_page=news_article&article_id=$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]
#RewriteRule ^catalog/(.*)$ index\.php?main_page=product_info&products_id=118&%{QUERY_STRING} [L]
RewriteRule ^(.*)-pji-(.*).html$ index\.php?main_page=document_product_info&products_id=$2&%{QUERY_STRING} [L]
# For Open Operations Info Manager
RewriteRule ^(.*)-i-([0-9]+).html$ index\.php?main_page=info_manager&pages_id=$2&%{QUERY_STRING} [L]
The code will run much more efficiently if the patterns can be parsed left-to-right in one attempt. Additionally, the [QSA] flag does the same job as &%{QUERY_STRING} but in less CPU cycles.
Try:
There is still a huge danger in this code. The $1 backreference should be passed to the index.php script as another paramter and the value checked. If the $1 value is not valid for the current value of $3, the script should be returning either a 301 redirect to the correct URL or a 404 error. Failure to do this opens the site to infinite Duplicate Content issues because any and all values of $1 will result in your site returning a page of content and the "200 OK" status code.Code:RewriteRule ^(([^-]+-)+)p-([^.]+)\.html$ index\.php?main_page=product_info&products_id=$3 [QSA,L]
RewriteRule ^(([^-]+-)+)c-([^.]+)\.html$ index\.php?main_page=index&cPath=$3 [QSA,L]
RewriteRule ^(([^-]+-)+)n-([^.]+)\.html$ index\.php?main_page=news_article&article_id=$3 [QSA,L]
RewriteRule ^(([^-]+-)+)m-([0-9]+)\.html$ index\.php?main_page=index&manufacturers_id=$3 [QSA,L]
RewriteRule ^(([^-]+-)+)pi-([0-9]+)\.html$ index\.php?main_page=popup_image&pID=$3 [QSA,L]
RewriteRule ^(([^-]+-)+)pr-([0-9]+)\.html$ index\.php?main_page=product_reviews&products_id=$3 [QSA,L]
RewriteRule ^(([^-]+-)+)pri-([0-9]+)\.html$ index\.php?main_page=product_reviews_info&products_id=$3 [QSA,L]
#RewriteRule ^catalog/(.*)$ index\.php?main_page=product_info&products_id=118 [QSA,L]
RewriteRule ^(([^-]+-)+)pji-([^.]+)\.html$ index\.php?main_page=document_product_info&products_id=$3 [QSA,L]
# For Open Operations Info Manager
RewriteRule ^(([^-]+-)+)i-([0-9]+).html$ index\.php?main_page=info_manager&pages_id=$3 [QSA,L]
hello, i go to url www.site.com/product-name-aaa-11.html, i get product info page of product aaa,
if i change that id 11 to 12, i go to url www.site.com/product-name-aaa-12.html , i get product info page of product bbb
but why the url couldn't automatically directed to www.site.com/product-name-bbb-12.html ?
is there anything what i missed? or thats just ultimate seo couldn't do?
what do i remove .html ? i havent found the answer in the forum
another question, ultimate seo urls doesn't support milti languages site ?
i switch the site to another language, then i click the procuct, the product url is same as my default language
in admin-configuration-SEO URLs
if i set the option Reset SEO URLs Cache to "reset", after saving it, it goes back to "false", even i set it to "reset" from phpmyadmin, when i refresh my admin page, it still goes back to "false". is it normal ?
I can not get the EZpages to work. I get 404 page not found on all my internal Ezpages pages. it works fine on page2, page3 and page4 etc. can someone please help. MY site if fairly new 139h.
I was reading in the other Ultimate URL's, someone said you don't never get in help or answers here. I wish someone would help me, I have about twenty-28 EZ-Pages that going to 404 page not found.
I have this mod installed very well in my site .
i installed the WordPress On ZenCart - hira(S-page)
how to make Ultimate SEO URLs work with wordpress ?
this my wordpress on zen cart
http://www.king-magic.com/?main_page=wordpress
my webstore work perfect with Ultimate seo Urls .
but the wordpress not .
Hey all,
Has anyone been experiencing problems when submitting their sitemaps to google webmaster tools?
I find that it's returning the following error:
I understand that this is caused because my sitemap lists the original:Quote:
URLs not followed (Error 301)
When we tested a sample of URLs from your Sitemap, we found that some URLs redirect to other locations. We recommend that your Sitemap contain URLs that point to the final destination (the redirect target) instead of redirecting to another URL.
http://personalisedpressies.co.uk/in...oducts_id=3524
and not:
http://personalisedpressies.co.uk/pi...sk-p-3524.html
With around 3000 products, I'd like to keep google happy; so my question is... Is there any xml sitemap generators out there which will return the latter, search engine friendly page instead of the original or does anyone know of alternate fix?
Thanks,
Dave
Then un-install this mod...
Google PREFERS to reference the standard URL, and in zencart's case that is the normal, dynamic URL.
These "SEO URL" modules may have had use 10 years ago, but today the search engines prefer URL's to be "as nature intended".
The term "SEO URL" is in fact incorrect... it is not the URL that needs to be Search Engine Friendly but the underlying page CONTENT.
The URL is simply the doorway to what really matters... what is ON THE PAGE ITSELF.
If you make that doorway problematic - and these SEO URL modules tend to create more problems than they solve - then you will be spending a lot of time trying to "keep Google happy", when it would not be an issue at all if you just left your URL's do their job naturally.
Best advice... get rid of the module. It is completely unnecessary.
Hi all.. Chemo nice worked for me long time
Now Im install template for mobile phones from Algozone. It is worked when Im turned Chemo off.. But I'm agree turned SEO mode for mobile template...
but im dont know how to do this
How turn off SEO mode for specific template only? mobile template worked only for users with mobiles.. PC user see normal template where I need SEO mod...
In mobile template path looked like ... mobile.php?main_page=product_info&products_id=404
looked same.. but when Im edit Rewrite rules - it dosnt work... (simple change index to mobile... I mean cose html_output edited and moblie.php worked different)
my htaccess now looked like
# From Ultimate SEO URLs
RewriteRule ^(.*)-p-(.*).html$ index\.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-c-(.*).html$ 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]
# For Open Operations Info Manager
RewriteRule ^(.*)-i-([0-9]+).html$ index\.php?main_page=info_manager&pages_id=$2&%{QUERY_STRING} [L]
# For dreamscape's News & Articles Manager
RewriteRule ^news/?$ index\.php?main_page=news&%{QUERY_STRING} [L]
RewriteRule ^news/rss.xml$ index\.php?main_page=news_rss&%{QUERY_STRING} [L]
RewriteRule ^news/archive/?$ index\.php?main_page=news_archive&%{QUERY_STRING} [L]
RewriteRule ^news/([0-9]{4})-([0-9]{2})-([0-9]{2}).html$ index\.php?main_page=news&date=$1-$2-$3&%{QUERY_STRING} [L]
RewriteRule ^news/archive/([0-9]{4})-([0-9]{2}).html$ index\.php?main_page=news_archive&date=$1-$2&%{QUERY_STRING} [L]
RewriteRule ^news/(.*)-a-([0-9]+)-comments.html$ index\.php?main_page=news_comments&article_id=$2&%{QUERY_STRING} [L]
RewriteRule ^news/(.*)-a-([0-9]+).html$ index\.php?main_page=news_article&article_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]
It is possible turn off SEO for specific template?
So I've installed the latest version of Ultimate SEO url mod and have all the folders copied correctly, the new code added and the new .htaccess files in there. I am not getting a 404 error here: http://www.imagenationclothing.com/u...4d4929j6cj4ou0
After installing this mod, I can no longer access my admin panel. I have seen that other people have received a 500 Internal Server Error but it seems that this is glitchy. I have even reinstalled a previous version of my site (before installing this module) and it still does NOT work.
Any help would be greatly appreciated!