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.
Can anyone help me enable SEO for my site? It's hosted by Fasthosts, and I have everything running in the root, i.e. inside HTDOCS (not using kxhc as a sub-directory)
Every time I enable SEO and add the .htaccess file, I can't view any pages. I'm assuming it's either the location where I'm placing the .htaccess file, or the contents of the file itself.
Here's the code I'm using:
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^/(.*)-(.*)/(.*)\.html /index.php?app=$1&ns=$2&ref=$3 [L,PT]
Thanks!
Andrew Baddeley
www360tacticalvr.co.uk
Offline
The re-write rule that seems to work ok in the root of our site is:
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*)-(.*)/(.*)\.html index.php?app=$1&ns=$2&ref=$3 [L,PT]
Mike Simpson
wwwdjshopper.net
Offline
Thanks, but just tried that and it didn't work. I get a 500 - Internal Server Error
Andrew Baddeley
www360tacticalvr.co.uk
Offline
Well, according to Fasthosts, it looks like it's not possible to use this .htaccess script on a Fasthosts Linux shared server. Unless anyone has managed to get it to work?
Andrew Baddeley
www360tacticalvr.co.uk
Offline
Well, this is what mine has, not sure if the extra line will help - it's all Greek to me. lol But maybe it'll make a difference.
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteRule ^(.*)-(.*)/(.*)\.html index.php?app=$1&ns=$2&ref=$3 [L,PT]
Offline
Hi thahks for that but I'd already tried this, based on the wiki info posted for 1&1 hosted sites. I'm presuming you're not hosted by Fasthosts?
Andrew Baddeley
www360tacticalvr.co.uk
Offline
It doesn't help that Fasthosts doesn't allow access to their support documentation without logging in. There are more than a couple of us who would try to help if we could see what their support documentation says. Try running phpinfo on your site and see if you see mod_rewrite in the Apache section of the result.
phpinfo.php is a one line file that simply contains:
<?php phpinfo(); ?>
Offline
I ran phpinfo.php and I can see mod_rewrite in the apache "loaded modules" section.
I've also raised a support request to Fasthosts, but from reading their support forum it seems Fasthosts only allow the use of .htaccess files to setup password access to restricted directories.
Andrew Baddeley
www360tacticalvr.co.uk
Last edited by badders (07-15-2007 12:20:41)
Offline
Well that fact that rewrite is loaded is a good start. I'd certainly ask them to allow rewrite rules in .htaccess and if they won't ask them why. If they won't allow it I'd be looking for a new provider that's for sure. Rewriting is a pretty basic function and really doesn't have any security implications.
Offline
Hi
Try removing this line:
Options +FollowSymLinks
Form the htaccess file.
Offline
I've spoken to the hosting provider. They say there's no restriction on using this type of .htaccess file. But it still doesn't work. I've tried all the following:
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^/(.*)-(.*)/(.*)\.html /index.php?app=$1&ns=$2&ref=$3 [L,PT]
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*)-(.*)/(.*)\.html index.php?app=$1&ns=$2&ref=$3 [L,PT]
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteRule ^(.*)-(.*)/(.*)\.html index.php?app=$1&ns=$2&ref=$3 [L,PT]
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteRule (.*)-(.*)/(.*)\.html index.php?app=$1&ns=$2&ref=$3 [L,PT]
All of these produce an error 500 - Internal Server Error.
I am putting the file in the correct place? i.e. inside htdocs, same as the index.php?
Andrew Baddeley
www360tacticalvr.co.uk
Offline
Thanks Howard, Perfect! Here's the code for anyone using Fasthosts and using the root:
RewriteEngine on
RewriteRule (.*)-(.*)/(.*)\.html index.php?app=$1&ns=$2&ref=$3 [L,PT]
Andrew Baddeley
www360tacticalvr.co.uk
Last edited by badders (07-16-2007 03:28:09)
Offline
I've added a note about the format required for Fasthosts to the Wiki entry.
Offline
Hi,
I am with fasthosts and have tried to enable the SEO. I have stumbled at the first hurdle.
I have gone to Home > Essential Art > Settings: Application Settings Menu > Application Settings ans the only 2 options i have are:
Common Site Name
Destination Namespace for Logins
I seem to be missing options and not sure why. Any reson why this would happen?
Thanks,
Becky
Offline
Umm, where do you get a "Home" link in the admin menus? That's your website you're talking about, surely?
Offline
Hi,
In the link 'Home' just refers to the main admin screen and 'Essential Art (KHXC 6.6.2)' is one of the two links in application menu. I am pretty sure that im in the right place as i have followed the instructions but i only have the two options, no SEO options are displaying.
Rebecca.
Offline
Here's the sequence:
Select:
1. Application Menu
2. Application Main Menu (KHXC 6.6.2)
3. Settings: Application Settings Menu
4. Search Engine Optimization Settings
5. Set SEO Status to TRUE
Offline
As rvr84 said Home in the admin's Location section refers to the first link in the Navigation Menu (which is Application Menu). The standard ccp path for SEO would be Home > Kryptronic Hybrid X Core > Settings: Application Settings Menu > Search Engine Optimization Settings, it looks like you renamed you applicaton to Essential Art so you path should be
Home > Essential Art > Settings: Application Settings Menu > Search Engine Optimization Settings
you would also have to be loged in as a supperuser.
John
Offline
Hi,
Thanks for the reply, i was going one step to far into application settings! It was very late when i was working on it!!!
Thanks,
Becky.
Offline
Thanks for the help Badders with switching on SEO hosted on Fasthosts!
Does anyone know if it possible to switch the way the page title is displayed.
Currently it is set to Product Number - Display Name
This produces part number then display name for us, which is not ideal.
Can it be set to Display Name - Product Number?
ie: from HB512 - A New Tree Biology Book to A new Tree Biology Book - HB512
To be honest, not really interested in having Product Number in the Page Title at all.
This is the .htaccess
RewriteEngine on
RewriteRule (.*)-(.*)/(.*)\.html index.php?app=$1&ns=$2&ref=$3 [L,PT]
Thanks in advance guys
Offline
Hi
You can turn off the product number display, in the admin go to Home > ClickCartPro (GBU) > Settings: Application Settings Menu > General Store Settings Set Display Product Numbers to False
Offline
Hi All,
Any advance on the problems enabling SEO when hosted with Fasthosts?
I have tried the following and nothing seems to work. I have spoken in depth with ther technical support but to no avail.
Would love to hear from anyone who can resolve this.
Regards,
Eddie
wwwviperstripes.co.uk/khxc/indx.php
badders wrote:
Thanks Howard, Perfect! Here's the code for anyone using Fasthosts and using the root:
RewriteEngine on
RewriteRule (.*)-(.*)/(.*)\.html index.php?app=$1&ns=$2&ref=$3 [L,PT]
Andrew Baddeley
www360tacticalvr.co.uk
Offline
What problem enabling SEO on Fasthosts Eddie? The rewrite rules you included in your post would be used if CCP were in the root of your site which doesn't appear to be the case. When it's in a directory the rules need to be:
RewriteEngine on RewriteRule ^khxc/(.*)-(.*)/(.*)\.html khxc/index.php?app=$1&ns=$2&ref=$3 [L,PT]
as shown in Wiki entry in the section for Fasthosts.
Offline
Hi All,
I am still trying to resolve the issue of SEO with Fasthosts.
There tech dept., have emailed back the text below but I do not know what to advise them.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
We have been looking in to the issue with the re-direct you reported earlier. The re-direct seems to be re-directing to a folder in the FTP space called /gbu0-catshow/ for example /khxc/gbu0-catshow/ban01.html. However this folder does not exist.
Can you please advise as to where the contents of this forder is meant to be, are these being generated by your index.php script?
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Would someone be able to explain to me what I need to tell them.
Regards,
Eddie
Offline