Go Back   PHP Link Directory Forum > PHP Link Directory (phpLD) > Support (Version 2)

Support (Version 2) Here is where we provide limited support for version 2. If you are seeking support for version 3 pr higher then you must post in the phpLD 3.x & 4.x Support Forum.

Reply
 
topic widgets
Old 02-08-2010   #1
sovehfire
 
Join Date: Feb 2010
Posts: 6
Question htaccess and categories

I've been on this forum for hours and tried all the suggestions in the threads I found. My problem seems a little different. I am not getting any errors when following categories down to subs, nor are the urls displayed as non SEO friendly. From the inside the site all is working well. But, if I do a test crawl of the site / spider test, the crawler gets 404 errors and the directories are being crawled as domain.com/category/subcategory instead of domain.com/Directory_Links/category/subcategory (yes, phpld is in a subdirectory.)

I'm using webhostingpad for hosting and I'm using the free version of PHPLD right now.

Here is my htaccess right now.


# Follow symbolic links in this directory
Options +FollowSymLinks

# Set the default handler
DirectoryIndex index.php

#URL rewrite rules
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /Directory_Links
## Category redirect
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>

I've tried turning off FollowSymLinks, tried adding /Directory_Links/ in front of the DirectoryIndex and RewriteRule both seperately and together.

Am I missing something?

Thanks for your help!

Sovehfire
sovehfire is offline   Reply With Quote
Old 02-08-2010   #2
James
:)
phpLD Support
phpLD Administrator
Supporter
Moderator
 
James's Avatar
 
Join Date: Aug 2006
Location: Nanaimo, BC , Canada
Posts: 24,204
Default

What is your site url set to in the admin
__________________
Attention: For Support Please Read this thread.
IF the domain is not listed in your PhpLD users area and it is 3.x
You will have to list it before ANY questions are answered.

My paypal is rentawebmaster @ gmail.com
^^ if I have helped you help me I need a new laptop
PhpLD Recommended Hosting: Here
They work with you not against you
Live Directory
James is offline   Reply With Quote
Old 02-08-2010   #3
sovehfire
 
Join Date: Feb 2010
Posts: 6
Default Site URL

When I browse to System>Edit Settings>Site

The URL for my site is mydomain.com/Directory_Links/

Replacing mydomain.com with my actual domain name. Sorry, I had to remove url formatting to comply with live URL post rules (http// ect).

Thanks
sovehfire is offline   Reply With Quote
Old 02-08-2010   #4
James
:)
phpLD Support
phpLD Administrator
Supporter
Moderator
 
James's Avatar
 
Join Date: Aug 2006
Location: Nanaimo, BC , Canada
Posts: 24,204
Default

what is the url? since the spidering is showing the error there must be a link somewhere that is wrong
__________________
Attention: For Support Please Read this thread.
IF the domain is not listed in your PhpLD users area and it is 3.x
You will have to list it before ANY questions are answered.

My paypal is rentawebmaster @ gmail.com
^^ if I have helped you help me I need a new laptop
PhpLD Recommended Hosting: Here
They work with you not against you
Live Directory
James is offline   Reply With Quote
Old 02-08-2010   #5
sovehfire
 
Join Date: Feb 2010
Posts: 6
Default url

I can't post it here. I get this error:

You are only allowed to post Live URLs to other sites after you have made the required number of posts.

I tried disabling "Automatically parse links in text" but it still will not let me post it, I wish I could, sorry.
sovehfire is offline   Reply With Quote
Old 02-08-2010   #6
sovehfire
 
Join Date: Feb 2010
Posts: 6
Talking again

http colon slash slash dubdubdub dot trulyromanticencounters.com/Directory_Links/


That is the SITE_URL in the PLD_CONFIG table as well.

Last edited by sovehfire; 02-08-2010 at 02:42 AM. Reason: update
sovehfire is offline   Reply With Quote
Old 02-08-2010   #7
James
:)
phpLD Support
phpLD Administrator
Supporter
Moderator
 
James's Avatar
 
Join Date: Aug 2006
Location: Nanaimo, BC , Canada
Posts: 24,204
Default

I just crawled it with no errors??
__________________
Attention: For Support Please Read this thread.
IF the domain is not listed in your PhpLD users area and it is 3.x
You will have to list it before ANY questions are answered.

My paypal is rentawebmaster @ gmail.com
^^ if I have helped you help me I need a new laptop
PhpLD Recommended Hosting: Here
They work with you not against you
Live Directory
James is offline   Reply With Quote
Old 02-08-2010   #8
sovehfire
 
Join Date: Feb 2010
Posts: 6
Default Which tool?

If you don't mind my asking, which tool did you use?
I used tools.seobook.com general spider-test.

Perhaps they are crawling incorrectly?? I just tried again with same results. The category links are all coming from the domian home and not the subdirectory. Click on the links and they give a 404 error. :(
sovehfire is offline   Reply With Quote
Old 02-08-2010   #9
James
:)
phpLD Support
phpLD Administrator
Supporter
Moderator
 
James's Avatar
 
Join Date: Aug 2006
Location: Nanaimo, BC , Canada
Posts: 24,204
Default

I used http://home.snafu.de/tilman/xenulink.html
__________________
Attention: For Support Please Read this thread.
IF the domain is not listed in your PhpLD users area and it is 3.x
You will have to list it before ANY questions are answered.

My paypal is rentawebmaster @ gmail.com
^^ if I have helped you help me I need a new laptop
PhpLD Recommended Hosting: Here
They work with you not against you
Live Directory
James is offline   Reply With Quote
Old 02-08-2010   #10
sovehfire
 
Join Date: Feb 2010
Posts: 6
Default

Using your tool all reports to the proper URL. I don't know what is wrong with the spider crawl test but I am considering this a closed topic unless google starts snapping at me. Thank you for all your help. I am sorry if I wasted your time tonight. I hope this thread helps others and the spider crawl tests available onine are all just dumb.

Edit: Xenu

Last edited by sovehfire; 02-08-2010 at 03:05 AM. Reason: Laugh
sovehfire is offline   Reply With Quote
Reply

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
topic widgets



All times are GMT +1. The time now is 12:43 PM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.