Re: Ceon URI Mapping 4.2.0 Released
Quote:
Originally Posted by
kitten091182
To be honest with you, all of that just went way over my head! I'm not too good when it comes to SQL. It doesn't really matter if somebody has bookmarked the page, it wasn't up for long so I'm not sure that anybody would have done anyway. I just need to change get-boosted to ways_to_pay. I'll backup my database and have a play.
Thanks
Well, so much for trying to teach to fish.
In the ZC admin SQL patch tools option, copy and paste the following:
This assumes that your store is at your root directory and only does an update of your existing uri, less than ideal as described, but if this is what is desired, then here it is: otherwise could change the uri= statement to current_uri=0 and then insert a new entry with your desired information for the uri.
Code:
Update ceon_uri_mappings set uri=/ways_to_pay where main_page=page_2;
Re: Ceon URI Mapping 4.2.0 Released
Hi, thanks for the help :smile:
Re: Ceon URI Mapping v4.x
Apologies if this has been asked previously. I would like to lose the ? in the url as shown below:
http://www.designerperfumesnob.com/P...-I-Have-Loved?
I have others that display the same with a question mark at the end. If I am doing something wrong I'd like to know how to fix it.
Thanks
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
traytray
Apologies if this has been asked previously. I would like to lose the ? in the url as shown below:
http://www.designerperfumesnob.com/P...-I-Have-Loved?
I have others that display the same with a question mark at the end. If I am doing something wrong I'd like to know how to fix it.
Thanks
This would be controlled in your htaccess file. If you post it (ensure to protect any private info including the admin directory name) then perhaps help can be provided. The default installation of this does not include the ? As a single character. So either not installed per directions or have made a modification. If a modification, then this should really be addressed in a new thread.
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
mc12345678
This would be controlled in your htaccess file. If you post it (ensure to protect any private info including the admin directory name) then perhaps help can be provided. The default installation of this does not include the ? As a single character. So either not installed per directions or have made a modification. If a modification, then this should really be addressed in a new thread.
here is the file info:
Code:
RewriteEngine On
# Redirect all users to access the site WITH the 'www.' prefix
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteCond %{HTTP_HOST} !\.([a-z-]+\.[a-z]{2,6})$ [NC]
RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
## BEGIN CEON URI MAPPING REWRITE RULE
# Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$ [NC]
# Don't rewrite any URIs for some, popular specific file format extensions,
# which are not covered by main file extension condition above
RewriteCond %{REQUEST_URI} !\.(mp3|mp4|h264)$ [NC]
# Don't rewrite any URIs for some specific file format extensions,
# which are not covered by main file extension condition above
# Uncomment the following line to apply this condition! (Remove the # at the start of the next line)
#RewriteCond %{REQUEST_URI} !\.(3gp|3g2|h261|h263|mj2|mjp2|mp4v|mpg4|m1v|m2v|m4u|f4v|m4v|3dml)$ [NC]
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/admin [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/editors/ [NC]
# Don't rewrite cgi-bin directory
RewriteCond %{REQUEST_URI} !^/cgi-bin/ [NC]
# Handle all other URIs using Zen Cart (its index.php)
RewriteRule .* /index.php [QSA,L]
## END CEON URI MAPPING REWRITE RULE
I did not see anything in there to indicate a ? be placed anywhere in there. Also the ? seems to appear only or for the most part in the sidebox (Display Categories in Seperate Box mod) I can't seem to find where the others have been appearing.
Re: Ceon URI Mapping v4.x
Has anyone had a chance to look at this and maybe have a clue as to what we need to do to get the mysterious ? off the url
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
DarkAngel
I did not see anything in there to indicate a ? be placed anywhere in there. Also the ? seems to appear only or for the most part in the sidebox (Display Categories in Seperate Box mod) I can't seem to find where the others have been appearing.
It's likely this mod is the issue..
Re: Ceon URI Mapping v4.x
I tend to think so also Diva, I even went so far as to reupload all the files...and doing so remembered that one of the admin files coughed up an error about needing the sessions.php file, which is not in the admin folder to begin with.
But aside from that nothing else. Tracy has even gone as far as going into her categories she has renamed for this mod to take out the underscore and replace it with a dash for SEO purposes and nothing is changed...that silly question mark is still at the end of the url.
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
DarkAngel
I tend to think so also Diva, I even went so far as to reupload all the files...and doing so remembered that one of the admin files coughed up an error about needing the sessions.php file, which is not in the admin folder to begin with.
But aside from that nothing else. Tracy has even gone as far as going into her categories she has renamed for this mod to take out the underscore and replace it with a dash for SEO purposes and nothing is changed...that silly question mark is still at the end of the url.
What do you have for query_string_parameters in the SQL database for these offending links (ceon_uri_mappings table)? Is it NULL or is it blank? (NULL is preferred in this case).
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
mc12345678
What do you have for query_string_parameters in the SQL database for these offending links (ceon_uri_mappings table)? Is it NULL or is it blank? (NULL is preferred in this case).
Given that the module works everywhere BUT where they are displayed in this other module (Display Categories in Seperate Box mod), I would say that it would appear that there is nothing wrong with the the Ceon URI install and the URI db entries.. The issue appears isolated to another module and how it is misinforming the URIs. Not an issue with Ceon URI at all..