Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 04-13-2013 05:55:51

robash
Member
Registered: 02-10-2013
Posts: 344

301 how to a redirect a ccp webpage to another ccp webpage

HI, ive been searching how to do this  but im still not sure of how to do it.
Could someone give me any pointers how to do this please smile


Rob

God Save The Queen

Offline

 

#2 04-13-2013 10:03:48

dh783
Moderator
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: 301 how to a redirect a ccp webpage to another ccp webpage

We would need a little more information about which ccp page your wanting to redirect and to what webpage your trying to send it to?

John

Offline

 

#3 04-14-2013 03:45:07

robash
Member
Registered: 02-10-2013
Posts: 344

Re: 301 how to a redirect a ccp webpage to another ccp webpage

Google is displaying a web page in search results that leads to web page cannot be displayed. Its the company info page, I would like it redirected too the about page


Rob

God Save The Queen

Offline

 

#4 04-15-2013 07:59:18

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19735
Website

Re: 301 how to a redirect a ccp webpage to another ccp webpage

Post the URLs and we can give you the 301 code to put into your .htaccess file.


Nick Hendler

Offline

 

#5 04-15-2013 09:25:10

robash
Member
Registered: 02-10-2013
Posts: 344

Re: 301 how to a redirect a ccp webpage to another ccp webpage

as always thanks for your help nick.

Its this page http://www.site.com/CompanyInfo i want directing to http://www.site.com/PrivacyInfoTermsOfUse

If you type into google 'softavg' it one of the links in the search results is 'webpage' that follows to the page cannot be viewed.
I have purposely removed it as im going to display the info on another page

Last edited by robash (05-06-2013 05:35:16)


Rob

God Save The Queen

Offline

 

#6 04-16-2013 08:19:35

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19735
Website

Re: 301 how to a redirect a ccp webpage to another ccp webpage

Put this at the top of your .htaccess file:

RewriteRule ^CompanyInfo$ http://www.softavg.com/PrivacyInfoTermsOfUse [R=301,L]

Right below:

Options +FollowSymLinks
RewriteEngine on


Nick Hendler

Offline

 

#7 04-16-2013 10:25:02

robash
Member
Registered: 02-10-2013
Posts: 344

Re: 301 how to a redirect a ccp webpage to another ccp webpage

thank you thats worked perfect.


Rob

God Save The Queen

Offline

 

#8 05-11-2013 03:05:28

robash
Member
Registered: 02-10-2013
Posts: 344

Re: 301 how to a redirect a ccp webpage to another ccp webpage

How would i permanently redirect one product to another ?
http://www.site.com/Item/Product-1 to http://www.site.com/Item/Product-2
Ive had a search on the forum but they all seem to be redirects from another site or from another sub folder.


Rob

God Save The Queen

Offline

 

#9 05-12-2013 13:22:51

geraldz
Member
Registered: 09-27-2011
Posts: 251

Re: 301 how to a redirect a ccp webpage to another ccp webpage

Try this at the bottom of your .htaccess file:

Redirect 301 /Item/Product-1 http://www.site.com/Item/Product-2

There is a space before and after the 301

Offline

 

#10 05-12-2013 14:34:33

robash
Member
Registered: 02-10-2013
Posts: 344

Re: 301 how to a redirect a ccp webpage to another ccp webpage

Hi, thats worked thanks. Its redirected it but now the url looks http://www.site.com/Item/Product-1?CORE … Products-2
Should it be displayed like that ?


Rob

God Save The Queen

Offline

 

#11 05-13-2013 09:42:58

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19735
Website

Re: 301 how to a redirect a ccp webpage to another ccp webpage

Put this at the top of your .htaccess file:

RewriteRule ^Item/Product-1$ http://www.softavg.com/Item/Product-2 [R=301,L]

Right below:

Options +FollowSymLinks
RewriteEngine on


Nick Hendler

Offline

 

#12 05-13-2013 13:25:28

robash
Member
Registered: 02-10-2013
Posts: 344

Re: 301 how to a redirect a ccp webpage to another ccp webpage

thats perfect thank you.


Rob

God Save The Queen

Offline

 

#13 08-09-2013 16:02:10

lgt
Member
Registered: 11-21-2010
Posts: 272
Website

Re: 301 how to a redirect a ccp webpage to another ccp webpage

For some reason
verticalgardeningsystems.com/polanter-kit-1-p-95.html
will only go to the home page:
http://verticalgardeningsystems.com/?CO … -p-95.html

and the

redirect 301 command does the same thing.

# Turn Rewrite Engine On

Options +FollowSymLinks
RewriteEngine on

# Version 8 Rewrite Rules

RewriteRule ^index.php - [L,PT]
RewriteRule ^$ index.php?COREseourl=/ [L,PT]
RewriteRule ^/$ index.php?COREseourl=/ [L,PT]
RewriteRule ^sitemap\.xml utilities/sitemap.xml [L,PT]
RewriteRule ^rss\.xml utilities/rss.xml [L,PT]
RewriteCond %{REQUEST_URI} ^/
RewriteCond %{REQUEST_URI} !\.(xml|css|js|gif|jpg|jpeg|png|pdf)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php?COREseourl=/$1 [L,PT]

RewriteCond %{HTTP_HOST} !^verticalgardeningsystems\.com$ [NC]
RewriteRule ^(.*)$ http://verticalgardeningsystems.com/$1 [R=301,L]

ErrorDocument 404 http://verticalgardeningsystems.com
                                                       
RewriteRule ^polanter-kit-1-p-95.html$ http://verticalgardeningsystems.com/Item/polanterkit1 [L,R=301]
redirect 301 /vertigarden-water-tank-p-94.html http://verticalgardeningsystems.com/Ite … nwatertank

Last edited by lgt (08-09-2013 16:05:37)









Offline

 

#14 08-12-2013 08:14:25

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19735
Website

Re: 301 how to a redirect a ccp webpage to another ccp webpage

Put those redirects about the comment '# Version 8 Rewrite Rules' as they need to be done before the v8 rewrites are done.


Nick Hendler

Offline

 

#15 02-13-2014 06:21:43

ChrisFoster
Member
Registered: 10-09-2013
Posts: 6

Re: 301 how to a redirect a ccp webpage to another ccp webpage

Can you help me redirect?

http://riddel.co.uk/web-khxc/khxc-publi … f=Shelving
To
http://riddel.co.uk/web-khxc/khxc-publi … +Shelving+

I realize the URL is a mess but this is what i was left with and im unsure how to fix it

edit
BTW I'm using Europacart 7 - i forgot to filter my search

Last edited by ChrisFoster (02-13-2014 06:23:02)

Offline

 

#16 02-13-2014 12:01:34

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19735
Website

Re: 301 how to a redirect a ccp webpage to another ccp webpage

Rewriting CGI URLs is a mess.  The first thing you should do is turn on SEO in CCP and configure it to rewrite URLs and add rules to rewrite CCP6 URLs.  Have you done that?  If so, then I'd rename the "Warehouse Racking & Shelving " page back to "Shelving", and let the software handle pulling the right page.


Nick Hendler

Offline

 

Board footer