g18rst Posted November 11, 2009 Posted November 11, 2009 Hi, im starting a new shop and just now modified it for use with easy SEO URLS contrib and unfortunatly its not working as it should. The temp website is : http://sweetiedarling.host56.com/catalog/index.php (if you click the category or product you get 404) I have re-read the instructions to double check and everything is as it should. I checked and found out the 000webhost fully supports mod - write but and i quote from the thier FAQ: We use virtual user directory paths, so you can get error when trying to setup search engine friendly URLs or trying to pass virtual directory names to PHP scripts. If can be fixed very easy. Edit your .htaccess file and add this line at the top of the file or before the first rewrite rule: RewriteBase / Note: if your script is installed on some directory, for example /forum, you have to place RewriteBase /forum line to the .htaccess file (.htaccess file must be also located in /forum directory) So i changed the text to add to the .htaccess file to below, but unfortunatly still not working. If you click the categories it doesnt work, nor the products. Could anyone please help me. Thanks #----------------------------------------- # easy-SEO-urls rewrite settings #----------------------------------------- RewriteEngine on RewriteBase /catalog RewriteRule [^/]+-c([0-9]+)/[^/]+-s([0-9]+)/[^/]+-p([0-9]+)/ /catalog/product_info.php?cPath=$1_$2&products_id=$3 [NC,L,QSA] RewriteRule [^/]+-c([0-9]+)/[^/]+-p([0-9]+)/ /catalog/product_info.php?cPath=$1&products_id=$2 [NC,L,QSA] RewriteRule [^/]+-c([0-9]+)/[^/]+-s([0-9]+)/ /catalog/index.php?cPath=$1_$2 [NC,L,QSA] RewriteRule [^/]+-p([0-9]+)/ /catalog/product_info.php?products_id=$1 [NC,L,QSA] RewriteRule [^/]+-c([0-9]+)/$ /catalog/index.php?cPath=$1 [NC,L,QSA] #-----------------------------------------
Hotclutch Posted November 11, 2009 Posted November 11, 2009 Which SEO URL contrib did you install? And then try posting in that contribution's support thread for help.
g18rst Posted November 11, 2009 Author Posted November 11, 2009 Which SEO URL contrib did you install? And then try posting in that contribution's support thread for help. Ive done a search and cannot find the thread??? And its the latest contrib as far as i am aware. Thanks Andy
Hotclutch Posted November 11, 2009 Posted November 11, 2009 Ive done a search and cannot find the thread??? And its the latest contrib as far as i am aware. Thanks Andy Most people use Ultimate SEO URLs by Chemo http://www.oscommerce.com/forums/index.php?showtopic=154166 Or USU5 by FWR Media http://www.oscommerce.com/forums/topic/336702-ultimate-seo-urls-5-by-fwr-media
g18rst Posted November 11, 2009 Author Posted November 11, 2009 I have looked at them and the only thing that as put me off from yet trying it is, there seems a a few more changes to be made, and i dont want to end up with the same issue? Am i likely to? Thanks Andy
Hotclutch Posted November 11, 2009 Posted November 11, 2009 Most people use Ultimate SEO URLs by Chemo http://www.oscommerce.com/forums/index.php?showtopic=154166 Or USU5 by FWR Media http://www.oscommerce.com/forums/topic/336702-ultimate-seo-urls-5-by-fwr-media I just reread your post, and looks like you did not install either? So not sure what you have, but you could look into installing one of the above.
Hotclutch Posted November 11, 2009 Posted November 11, 2009 I have looked at them and the only thing that as put me off from yet trying it is, there seems a a few more changes to be made, and i dont want to end up with the same issue? Am i likely to? Thanks Andy The advantage of using one of them is that they work :) I suggest looking at the server requirements for USU5 detailed in the support thread, and then installing that. The install is relatively easy.
g18rst Posted November 11, 2009 Author Posted November 11, 2009 Thanks hotclutch, i have installed USU5, and although it seems to be working (or so it seems...) all pages show "done but with errors" which obviously isnt correct and makes it very unprofessional... do you know why this might be? Ive left the USU5 debugging on for you to see. http://sweetiedarling.host56.com/catalog/ Thanks Andy
Hotclutch Posted November 11, 2009 Posted November 11, 2009 Thanks hotclutch, i have installed USU5, and although it seems to be working (or so it seems...) all pages show "done but with errors" which obviously isnt correct and makes it very unprofessional... do you know why this might be? Ive left the USU5 debugging on for you to see. http://sweetiedarling.host56.com/catalog/ Thanks Andy That USU5 looks like it worked out allright on your store. There does not seem to be any errors related to the USU5 installation. My gues is that those "done but with errors" are related to something else...Javascript maybe???
g18rst Posted November 11, 2009 Author Posted November 11, 2009 Hmm, Well its deffinatly somthing done whilst installing as they wernt there before. Baaahh, hate it when this happenes... like looking for a needle in a haystack now. Also noticed, that if you place your mouse over the category links there no ".html" wher eim sure on others installs there are? Andy
Hotclutch Posted November 11, 2009 Posted November 11, 2009 Hmm, Well its deffinatly somthing done whilst installing as they wernt there before. Baaahh, hate it when this happenes... like looking for a needle in a haystack now. Also noticed, that if you place your mouse over the category links there no ".html" wher eim sure on others installs there are? Andy Your site appears to be down. Please read the documentation / support thread to see the difference between standard and rewrite URLs. Maybe you are using standard.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.