Support Forums

S.E.O Mod

This is a discussion on S.E.O Mod within the Technical Support forums, part of the Technical Support Forums category; v4.1.6 Developer Any Template When enabled ( SEO V 2.1.1) The navigation links (Home, Search, Contact, Browse & Featured) point ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

Reply
 
Thread Tools Display Modes
Old 12-27-2009, 06:58 PM   #1
Member
 
Join Date: Sep 2007
Posts: 31
Rep Power: 10
Katash is on a distinguished road
Default S.E.O Mod

v4.1.6 Developer

Any Template


When enabled (SEO V 2.1.1) The navigation links (Home, Search, Contact, Browse & Featured) point to a .html page .... Clicking these links for example takes me to www.mysite.com/contactus.html

which displays an error page with

Multiple Choices
The document name you requested (/contactus.html) could not be found on this server. However, we found documents with names similar to the one you requested.

Available documents:

* /contactus.php (common basename)

Please consider informing the owner of the referring page about the broken link.
Katash is offline   Reply With Quote
Old 12-27-2009, 07:00 PM   #2
Coder
 
Join Date: Mar 2006
Posts: 4,881
Rep Power: 119
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

sounds like you dont have the mod installed properly OR your server doesnt have the mod_rewrite enabled.

did you implement the .htaccess file?
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 12-27-2009, 07:03 PM   #3
Member
 
Join Date: Sep 2007
Posts: 31
Rep Power: 10
Katash is on a distinguished road
Default

Just double checked and noticed I'd accdentally named it htaccess instead of .htaccess

Having changed that I'm now getting a 404 error on those links

Last edited by Katash; 12-27-2009 at 07:06 PM.
Katash is offline   Reply With Quote
Old 12-27-2009, 07:07 PM   #4
Coder
 
Join Date: Mar 2006
Posts: 4,881
Rep Power: 119
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

and does your server have mod_rewrite installed?

and have you cleared your sites cache?
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 12-27-2009, 07:09 PM   #5
Member
 
Join Date: Sep 2007
Posts: 31
Rep Power: 10
Katash is on a distinguished road
Default

Just trying to find out about my host and its policy on mod_rewrite (1and1.co.uk)

Cache cleared yes
Katash is offline   Reply With Quote
Old 12-27-2009, 08:20 PM   #6
Member
 
Join Date: Sep 2007
Posts: 31
Rep Power: 10
Katash is on a distinguished road
Default

Looks like it may be a 1&1 issue

tried this tutorial in a test dir and it didnt work
Katash is offline   Reply With Quote
Old 12-27-2009, 08:45 PM   #7
Member
 
Join Date: Sep 2007
Posts: 31
Rep Power: 10
Katash is on a distinguished road
Default

Ok I think I have managed to get this to work by adding these lines to the .htaccess file

Code:
# Author $Author: suzkaw $ (68 Classifieds)
# Version $Revision: 23 $
# Updated: $Date: 2009-11-30 14:59:55 -0500 (Mon, 30 Nov 2009) $
<IfModule mod_rewrite.c>
Options +Indexes +FollowSymLinks
RewriteEngine On
RewriteEngine On
RewriteBase /
#index
RewriteRule ^index\.html$ index.php [NC,QSA]
Katash is offline   Reply With Quote
Old 12-27-2009, 09:16 PM   #8
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 2,032
Rep Power: 49
seymourjames has a spectacular aura about
Default

Strange - you should only need this

<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteBase /

(sometimes you may need to rewritebase depending upon what you are doing and where your site is in relation Apache module mod_rewrite)

.
.
.

</IfModule>

I would ask your hosting provider. I presume you are doing this on a live server?
__________________
TemplateCodes.com for 68 Classifieds & Magento Online Stores
seymourjames is offline   Reply With Quote
Old 12-27-2009, 09:48 PM   #9
Member
 
Join Date: Sep 2007
Posts: 31
Rep Power: 10
Katash is on a distinguished road
Default

Yes that works
Katash is offline   Reply With Quote
Old 12-29-2009, 08:04 AM   #10
Member
 
Join Date: Sep 2007
Posts: 31
Rep Power: 10
Katash is on a distinguished road
Default

Just to confirm that adding RewriteBase / under RewriteEngine On worked, maybe a 1&1 issue - If anyone else is having this problem try that.

Thanks to all that helped.
Katash is offline   Reply With Quote
Reply

Thread Tools
Display Modes



All times are GMT -4. The time now is 06:32 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0