Support Forums

Problems with new install

This is a discussion on Problems with new install within the Installation Problems forums, part of the Technical Support Forums category; We have installed our 3rd 68 site in a sub folder so we are not total newbs. Created packages and ...


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

Reply
 
Thread Tools Display Modes
Old 03-21-2011, 07:21 AM   #1
Customer
 
Join Date: Oct 2009
Posts: 14
Rep Power: 10
kidder is on a distinguished road
Exclamation Problems with new install

We have installed our 3rd 68 site in a sub folder so we are not total newbs. Created packages and test ads however this is what we get

http://www.oursite.com/dogs/listings..._for_sale.html (files are installed in the dogs folder main URL is wordpress)

rather than http://www.oursite.com/dogs/hounds/r..._for_sale.html

Our categories have become /listings/1/ ????? This is not what we have called them when they were created?

Any ideas?

thanks.
kidder is offline   Reply With Quote
Old 03-21-2011, 08:08 AM   #2
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,457
Rep Power: 88
seymourjames is a jewel in the rough
Default

Have you updated the .htaccess file in the subfolder where your install exists for the search engine friendly urls? Have you got rewrite base in your .htaccess like this

RewriteEngine On
RewriteBase /
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C
seymourjames is offline   Reply With Quote
Old 03-21-2011, 07:58 PM   #3
Customer
 
Join Date: Oct 2009
Posts: 14
Rep Power: 10
kidder is on a distinguished road
Default

This is the htaccess file we are trying to use?

<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On

#index
RewriteRule ^index\.html$ index.php [NC,QSA]

#search
RewriteRule ^search\.html$ search.php [NC,QSA]

#categories
RewriteRule ^categories\.html$ category.php [NC,QSA]
RewriteRule ^categories/([0-9a-zA-Z_-]+)\.html$ category.php?cat=$1 [NC,QSA]
RewriteRule ^categories/([0-9a-zA-Z_-]+)/page/([0-9]+)\.html$ category.php?cat=$1&page=$2 [NC,QSA]

#cat sorting
RewriteRule ^categories/([0-9a-zA-Z_-]+)/sort/([0-9a-zA-Z_-]+)/order/(desc|asc)\.html$ category.php?cat=$1&sortfield=$2&sortorder=$3 [NC,QSA]
RewriteRule ^categories/([0-9a-zA-Z_-]+)/sort/([0-9a-zA-Z_-]+)/order/(desc|asc)/page/([0-9]+)\.html$ category.php?cat=$1&sortfield=$2&sortorder=$3&page =$4 [NC,QSA]

#contactus
RewriteRule ^contactus\.html$ contactus.php [NC,QSA]

#view listing
RewriteRule ^listing/([0-9]+)/([0-9a-zA-Z_-]+)\.html$ viewlisting.php?view=$1 [NC,QSA]

#view member
RewriteRule ^member/([0-9]+)\.html$ viewmember.php?member=$1 [NC,QSA]

#pages
RewriteRule ^page/([0-9]+)\.html$ pages.php?page=$1 [NC,QSA]
RewriteRule ^page/([0-9a-zA-Z_-]+)\.html$ pages.php?pg=$1 [NC,QSA]

#top lisitngs
RewriteRule ^listings/(featured|new|top)\.html$ toplistings.php?pg=$1 [NC,QSA]
RewriteRule ^listings/(featured|new|top)/([0-9]+)\.html$ toplistings.php?pg=$1&page=$2 [NC,QSA]

#user
RewriteRule ^userindex\.html$ userindex.php [NC,QSA]
RewriteRule ^userjoin\.html$ userjoin.php [NC,QSA]
RewriteRule ^usercheckout\.html$ usercheckout.php [NC,QSA]
RewriteRule ^userbrowselistings\.html$ userbrowselistings.php [NC,QSA]
RewriteRule ^useraccountmodify\.html$ useraccountmodify.php [NC,QSA]
RewriteRule ^logout\.html$ logout.php [NC,QSA]

</IfModule>
kidder is offline   Reply With Quote
Old 03-21-2011, 08:36 PM   #4
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,457
Rep Power: 88
seymourjames is a jewel in the rough
Default

version of module and version of 68C system? Your .htacesss looks correct but something reminds me there was a bug fix some time ago on the module's hooks file. I can't remember for sure.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C
seymourjames is offline   Reply With Quote
Old 03-21-2011, 08:52 PM   #5
Customer
 
Join Date: Oct 2009
Posts: 14
Rep Power: 10
kidder is on a distinguished road
Default

thanks! its the latest version. I only downloaded it a couple of days ago. There is no .htaccess in the root for the blog, I thought that might have been an issue. Now the problem is that whenever we upload the .htaccess we get a 404 error page from the blog...
kidder is offline   Reply With Quote
Old 03-21-2011, 09:58 PM   #6
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,457
Rep Power: 88
seymourjames is a jewel in the rough
Default

Did you try the rewrite base statement that I put before. I really can't see any other issue. worth asking your hosting provider as they have better tools.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C
seymourjames is offline   Reply With Quote
Old 03-21-2011, 10:02 PM   #7
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,394
Rep Power: 73
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

I make no claims to being an ".htaccess" file guru by any means, but it seems to me the answer may be quite simply that you need to add the classifieds directory to each line in the file. The file should be in the root directory of the domain still.

Example:
RewriteRule ^index\.html$ index.php [NC,QSA]

Change to this:
RewriteRule ^index\.html$ dogs/index.php [NC,QSA]
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 03-21-2011, 10:15 PM   #8
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,457
Rep Power: 88
seymourjames is a jewel in the rough
Default

I think it is because he does not have an up to date version of the SEO module. I run a .htaccess like that in a subdomain and it is fine. The .htaccess is local to that subdomain (i.e. in it).
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C
seymourjames is offline   Reply With Quote
Old 03-22-2011, 09:34 AM   #9
Staff
 
Join Date: Mar 2006
Posts: 603
Rep Power: 36
Blair will become famous soon enough
Default

Please move your .htaccess file from your webroot to your 68C installation folder.

From Apache.org:
".htaccess files (or "distributed configuration files") provide a way to make configuration changes on a per-directory basis. A file, containing one or more configuration directives, is placed in a particular document directory, and the directives apply to that directory, and all subdirectories thereof."
__________________
Blair
68C Staff

68C Downloads | Report a Bug | Knowledge Base
If you have a current support subscription, you can Submit a Support Ticket
Blair is offline   Reply With Quote
Old 03-22-2011, 10:07 AM   #10
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,457
Rep Power: 88
seymourjames is a jewel in the rough
Default

I think it turned out Blair to be the need for an u pto date SEO module the last I heard which runs with the latest 68C version.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C
seymourjames is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Local Install Problems belvedere Installation Problems 13 03-21-2011 03:45 AM
New Install Problems kidder Installation Problems 3 10-06-2009 07:44 PM
install Mr. G. Pre Sales Questions 1 11-26-2007 09:20 PM
Install restrictions and 68classifieds server problems. pd58m Pre Sales Questions 3 05-05-2006 12:54 PM


All times are GMT -4. The time now is 02:48 PM.


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