Zen Cart Logo
Forums / All Other Contributions/Addons / Ceon URI Mapping v4.x

Ceon URI Mapping v4.x

Views: 451,986

Results 581 to 600 of 2,454
20 Apr 2012, 12:18 PM
#581
bigsy85 avatar

bigsy85

New Zenner

Join Date:
Aug 2008
Posts:
50
Plugin Contributions:
0

Ceon URI Mapping v4.x

Hi Connor,

Thanks for replying.

Yes i'm using the latest version, the problem is mydomain.com/blog/index.php works but not /blog, somehow the mod is still trying to rewrite this, wheras I'm just wanting to use a htaccess for this.

Thanks

20 Apr 2012, 1:01 PM
#582
madriver avatar

madriver

New Zenner

Join Date:
Apr 2012
Posts:
5
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

conor:

Hi Bruce,

Maybe check your e-mail settings?

At least enable E-mail Archiving so you can see that the e-mails are being sent. Maybe it's a simple spam filter issue.

ceon

Thanks! You solved it. Google Mail spam folder was the issue. I even had a filter set up to put these messages in a separate inbox. Ceon URI Mapping 4.0.8 worked on first install! I am going straight to the Ceon website to make a donation for the AWESOME addon.

Cheers,
Bruce

20 Apr 2012, 1:41 PM
#583
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping v4.x

Hi,

bigsy85:

Yes i'm using the latest version, the problem is mydomain.com/blog/index.php works but not /blog, somehow the mod is still trying to rewrite this, wheras I'm just wanting to use a htaccess for this.

You need to make sure you've correctly added the following exclusion condition:

RewriteCond %{REQUEST_URI} !^/blog [NC]

That will stop anything with /blog at the start from being handled by Ceon URI Mapping.

All the best...

Conor
ceon

20 Apr 2012, 2:37 PM
#584
bigsy85 avatar

bigsy85

New Zenner

Join Date:
Aug 2008
Posts:
50
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Hi Connor,

Thats been added which is why I'm puzzeled.

##############################___

RewriteRule ^blog(.*)$ /index.php?main_page=blog&$1 [E=VAR1:$1,QSA,L]

Don't rewrite any URIs ending with a file extension (ending with .[xxxx])

RewriteCond %{REQUEST_URI} !.[a-zA-Z]{2,4}$

Don't rewrite admin directory

RewriteCond %{REQUEST_URI} !^/admin.* [NC]

Don't rewrite editors directory

RewriteCond %{REQUEST_URI} !^/editors.* [NC]

Don't rewrite cPanel directories

RewriteCond %{REQUEST_URI} !/cpanel.* [NC]
RewriteCond %{REQUEST_URI} !/frontend.* [NC]

Don’t rewrite blog directory

RewriteCond %{REQUEST_URI} !^/blog.* [NC]
RewriteCond %{REQUEST_URI} !^/wp.* [NC]

Handle all other URIs using Zen Cart (index.php)

RewriteRule (.*) /index.php?%{QUERY_STRING} [L]

Do rewrite blog directory

#RewriteRule ^blog(.*)$ /index.php?main_page=blog&$1 [E=VAR1:$1,QSA,L]
########################################__

Any ideas?

20 Apr 2012, 2:44 PM
#585
bigsy85 avatar

bigsy85

New Zenner

Join Date:
Aug 2008
Posts:
50
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Also worth mentioning if I create a link in the db ceon_uri_mapping for main_page=blog the /blog works but obviously subsequent blog link dont.

20 Apr 2012, 2:49 PM
#586
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping v4.x

Hi,

This doesn't look right to me:

RewriteRule ^blog(.*)$ /index.php?main_page=blog&$1 [E=VAR1:$1,QSA,L]

If your rewrite software is checking against the path including the starting slash, the above will never match. Maybe try:

RewriteRule ^/blog(.*)$ /index.php?main_page=blog&$1 [E=VAR1:$1,QSA,L]

The "^" means "start of", and "$" means "end of".

Actually, I just realised all this is mostly irrelevant.. why are you rewriting to index.php?main_page??!! That is just you manually calling Zen Cart again then!

You need to have the rewrite rule for the blog actually use the blog PHP file, not Zen Cart's index.php!!

The instructions you were given for integrating appear to be wrong.

All the best...

Conor
ceon

20 Apr 2012, 3:15 PM
#587
bigsy85 avatar

bigsy85

New Zenner

Join Date:
Aug 2008
Posts:
50
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Hi Conor,

Its calling main_page=blog as this is integrated wordpress into zencart, it works perfect with the rewrite above but only when ceon is disabled.

The aim is to have the blog appear seemliness integrated within ZenCart.

20 Apr 2012, 3:29 PM
#588
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping v4.x

Hi,

bigsy85:

Its calling main_page=blog as this is integrated wordpress into zencart, it works perfect with the rewrite above but only when ceon is disabled.

The aim is to have the blog appear seemliness integrated within ZenCart.

Then the integration software simply doesn't work "properly".. change it so that instead of calling index.php?main_page=blog, it calls a file like blog.php and have the blog.php file load the Zen Cart initsystem if necessary. Piggy backing things as above is just messy.

As this is third party stuff I'm afraid that's as much help as I can give.

Hope you can get this sorted.

All the best..

Conor
ceon

20 Apr 2012, 3:39 PM
#589
bigsy85 avatar

bigsy85

New Zenner

Join Date:
Aug 2008
Posts:
50
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Thanks Conor I think thats the route I will take, one last idea is hard code main_page=blog to be excluded as it seems the exclusion list isn't taking this into account

20 Apr 2012, 3:43 PM
#590
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping v4.x

Hi,

conor:

change it so that instead of calling index.php?main_page=blog, it calls a file like blog.php and have the blog.php file load the Zen Cart initsystem if necessary. Piggy backing things as above is just messy.

An alternative may be to edit includes/classes/CeonURIMappingHandlerBase.php and have it check to see if you are calling Zen Cart via a /blog URI:

After

if (!$this->_normaliseServerEnvironment()) {
            // Couldn't establish a reasonable value for PHP_SELF
        }

Add

if (strpos($_SERVER['REQUEST_URI'], 'blog') !== false) {
     return;
}

All the best..

Conor
ceon

20 Apr 2012, 4:08 PM
#591
bigsy85 avatar

bigsy85

New Zenner

Join Date:
Aug 2008
Posts:
50
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Prefect that worked. Thanks alot Conor!

22 Apr 2012, 2:25 AM
#592
marvin avatar

marvin

Zen Follower

Join Date:
Feb 2006
Posts:
222
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Conor,

I installed the module on my website w/ zen 1.3.9h.

I tried to login to my admin but instead went to this page on my website - http://www.sourceforherbs.com/index.php?main_page=login??

I deleted all files and reinstalled THREE TIMES with the exact same problem. My admin and website have been working without a problem since 12/11 when I did my last changes on my site??

Any clues why??

22 Apr 2012, 10:14 AM
#593
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping v4.x

Hi marvin,

marvin:

I tried to login to my admin but instead went to this page on my website - http://www.sourceforherbs.com/index.php?main_page=login??

Any clues why??

Yes, I'm pretty sure you simply made the same mistake three times... I think you have been uploading the files for the includes/ folder to admin/includes/.

Make sure you upload the files to the right places. Don't put any files for the ini_includes directory inside admin/includes/init_includes!

Hope that helps!

All the best..

Conor
ceon

22 Apr 2012, 4:43 PM
#594
marvin avatar

marvin

Zen Follower

Join Date:
Feb 2006
Posts:
222
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

conor:

Hi marvin,

Yes, I'm pretty sure you simply made the same mistake three times... I think you have been uploading the files for the includes/ folder to admin/includes/.

Make sure you upload the files to the right places. Don't put any files for the ini_includes directory inside admin/includes/init_includes!

Hope that helps!

All the best..

Conor
ceon

THANK YOU!!! THANK YOU! You were right, as usual.
I did mis-copy and corrected. Installation check was perfect. Hope the rewrite rule setup will be ok.

Thanks again

23 Apr 2012, 4:55 PM
#595
rudy386 avatar

rudy386

New Zenner

Join Date:
Apr 2012
Posts:
27
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Issue Resolved Turns Out it wasnt the URI Mapping after all.

It was the html table in the listing itself.

many thanx to mydigitalfixation.com

May the ZEN Be with You.

26 Apr 2012, 4:42 PM
#596
krismazy avatar

krismazy

New Zenner

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

Re: Ceon URI Mapping v4.x

Hello, I installed the Ceon URI Mapping to my 1.5 version of Zen Cart. I LOVE the program... however, now my Facebook share does not show images for the pages that have been changed by the mod. And if you copy and paste a page into facebook, it doesn't show an image thumb nail. It is only on the pages that I have updated the web address to. Is there an adjustment that I can add to my site to make the mapped pages show an image on facebook?

26 Apr 2012, 5:39 PM
#597
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping v4.x

Hi,

krismazy:

Is there an adjustment that I can add to my site to make the mapped pages show an image on facebook?

Really glad to hear you like the software!

I'm afraid I've never used facebook before so I don't actually know what you mean about copying and pasting pages into it?

If you copy the URI from your browser's address box or the URI mapping textfield in the admin, surely it's just plain text that you copy and paste into this place in facebook? :dontgetit

It shouldn't make a difference whether the page uses a dynamic Zen Cart URI or a Ceon URI Mapping static URI?!

All the best...

Conor
ceon

27 Apr 2012, 9:28 PM
#598
reapster avatar

reapster

New Zenner

Join Date:
Apr 2012
Location:
Seattle
Posts:
3
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

I am seeing duplicate title tags and meta descriptions. Is there something I do not have configured correctly? I have checked my sitemaps and they have the correct clean urls.

27 Apr 2012, 9:32 PM
#599
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping v4.x

Hi,

reapster:

I am seeing duplicate title tags and meta descriptions. Is there something I do not have configured correctly? I have checked my sitemaps and they have the correct clean urls.

That's nothing to do with Ceon URI Mapping but a problem with how you've set the store up for Meta tags.

I'm afraid I don't know what you should be doing, but at least you know that this is the wrong thread for this.. try searching the forum or starting a new thread.

Hope you get this sorted easily.

Have a nice weekend!

All the best...

Conor
ceon

29 Apr 2012, 11:13 AM
#600
paulw avatar

paulw

New Zenner

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

Re: Ceon URI Mapping v4.x

Hi

I have just installed Ceon URI Mapping, everything appears to be working fine, urls are being rewritten etc
The problem I have is with the .htaccess rewrite rule I used the auto generated rule & the .htaccess is in my root. but when i try to access other installations / directories on my domain i get sent back to my website with a 404 error. Remove the .htaccess file & turn off mapping & everything is back to normal.
I think the don't write rule isn't working?

Hope this makes sense

Paul