Re: Ceon URI Mapping (SEO)
Conor, can I use htaccess 301 redirect to redirect my existing site pages to my new site pages? The new site pages having been named with the Ceon URI mapping tool?
I cant' get it to work - I don't get an error, but I don't get redirected, either. So I thought I'd check here first, and see if maybe this is the issue.
Here's a line in my htaccess file:
redirect 301 /acatalog/Scrapbook_Supplies_Stamping_Supplies.html http://www.apeekintoyesterday.com/st...d-payment-only
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
pharry
Conor, can I use htaccess 301 redirect to redirect my existing site pages to my new site pages? The new site pages having been named with the Ceon URI mapping tool?
The module allows you to redirect old URIs to new ones by entering "historical" URIs manually in the database.
For the link you described above:
# The URI mapping to be mapped from should be entered in the uri field. (Remember to begin the URI with a slash ‘/’):
/acatalog/Scrapbook_Supplies_Stamping_Supplies.html
# The number representing the language ID this URI mapping applies for should be entered in the language_id field.
# The current_uri field should be set to “0” to make this a “historical” URI.
# The Zen Cart page to be mapped to should be entered in the main_page field. For the category page this is:
index
# The associated_db_id should be entered. This is the ID of the category, which seems to be:
558
# The date/time this URI mapping was added should be set in the date_added field (or just use the “NOW()” SQL function).
The alternate_uri and query_string_parameters fields are not used, they must be left as “NULL”.
That should be all you need to know to get this working. The URIs will redirect using a 301 to the "current" URI (/store/send-payment-only).
All the best...
Conor
ceon
Re: Ceon URI Mapping (SEO)
Conor, I'm a bit lost. But I also don't think I asked my question correctly. I have an existing site in production. Once I bring my ZC live, I need to redirect my old site to the new. I was going to build an .htaccess file of all the old pages with a mapping to the ZC pages. This would redirect search engines and customers to my new pages if they try to access my existing site.
If you answer still applies, where in the database do I enter this? I don't see a place under the Ceon tool under "modules", or in the catalog pages.
Thanks!
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
pharry
Conor, I'm a bit lost. But I also don't think I asked my question correctly.
You did, I understood exactly what you wanted to do!
Quote:
Originally Posted by
pharry
If you answer still applies, where in the database do I enter this? I don't see a place under the Ceon tool under "modules", or in the catalog pages.
It does indeed. You have to manually add records to the database. You can use software called PHPMyAdmin to do this.. it's very easy to use. I can't teach you how to use it though, that's something you'll have to look up for yourself. There are plenty of guides on the internet on how to use it - and if you're going to run a website it's a good skill to have! :)
Hope that helps!
All the best...
Conor
ceon
Re: Ceon URI Mapping (SEO)
Conor, now I'm confused about the overall logistics, or timing, of this.
Using the .htacess approach, I was just going to move that one file to the server, and that would "flip the switch" and make my ZC site live, and retire my other site.
If I build it in the database via myphp, I'm going to get into an issue with how to "flip the switch" so at one point in time the old goes away and the new is in its place.
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
pharry
Conor, now I'm confused about the overall logistics, or timing, of this.
Using the .htacess approach, I was just going to move that one file to the server, and that would "flip the switch" and make my ZC site live, and retire my other site.
How? The databases would be different! (I don't want an answer to that question.. I'm just pointing out that you won't just be changing a .htaccess file!)
When you switch from using your old site to your new one, the new one should have its own database.
This isn't really appropriate talk for this thread though, it's not to do with the module but your server switchover. I'd suggest starting a new thread if you want to discuss this further in public.
All the best...
Conor
ceon
Re: Ceon URI Mapping (SEO)
Hi there,
Im trying to install this mode because it looks very helpful. However i have some troubles with it.
When i follow installation instruction when it is done, i got blank page in when i try to access /admin.
I put back old files and saw that when this file is placed the blank page issue appear : admin/includes/functions/extra_functions/ceon_uri_mapping.php
Any ideas why this file make admin area to crash like this?
Thank you in advance
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
nidkolio
Any ideas why this file make admin area to crash like this?
You can't just put one file back and expect things to work! :)
That file loads in a file which loads in another file, which in turns loads more..
If any of the files are missing Zen Cart will fail with a PHP error. As Zen Cart disables error reporting by default, this will result in a blank page being displayed.
You must upload all of the files for the module to work, you cannot be selective.
Hope that helps!
All the best...
Conor
ceon
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi,
You can't just put one file back and expect things to work! :)
That file loads in a file which loads in another file, which in turns loads more..
If any of the files are missing Zen Cart will fail with a PHP error. As Zen Cart disables error reporting by default, this will result in a blank page being displayed.
You must upload all of the files for the module to work, you cannot be selective.
Hope that helps!
All the best...
Conor
ceon
All files was modified, i did not place only this file;-)
After installation the admin was blank. i found that if i remove only this file admin area is showed up again. all other files from your add-on is at the server.
So i tough that there is some error or something wrong with this file...
I will try to place your files instead of change my files, in this case i will see if i did something wrong during instalation...
Re: Ceon URI Mapping (SEO)
i just tried to copy the files from archive to the server not to change my files. The result is the same... blank admin page.
i forgot to mention that i use 1.3.8a
Thank you for replay