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.
Pages: 1
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
Offline
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
Offline
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)
Offline
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
Offline
thank you thats worked perfect.
Offline
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.
Offline
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
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 ?
Offline
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
Offline
thats perfect thank you.
Offline
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
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
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.
Offline
Pages: 1