I've switched hosting to 1and1 and I'm trying to setup PHPLD 3.06. I got everything over and it runs fine without url rewrite. However, with url rewrite I get 404's. I've read everything I can about the problem, but have banged my head for 4 hrs with no success. 1and1 assures me that I have mod_rewrite access. Does anybody on 1and1 have a .htaccess file that works? thanks, chris...
I should have waited 4hrs and 35mins before I posted. I finally got it to work by hobbling several suggestions together. So if you are on 1and1 using PHPLD in a subdirectory this is what worked for me. commented out the options lines and added a RewriteBase / with the subdir. <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /subdir .... Good Luck, Chris...
1and1 is a fine host but for some reason the standard .htaccess of phpLD has never worked for me either, as I have several directories hosted there. Glad you got it working.
RewriteBase / isn't always the solution. trust me on that. glad its working for you with only that addition though.
There is one more trick you have to do if using 1and1 hosting otherwise "link details" page may not work. This is how beginning of your .htaccess file has to look for all features to work with 1and1 server: # enable mod_rewrite Options -MultiViews RewriteEngine on RewriteBase / Code (markup): If your directory is installed in subfolder than change: RewriteBase /Subfolder_Name/ Code (markup):
How deep does the URL rewrite suppose take place? For me the rewrite happens for the top level categories only. Are sub categories suppose to rewrite to SEO friendly URLs as well? Same question for details pages. My site is www.searchnology.com Thanks, Kevin