-
Posts
836 -
Joined
-
Last visited
Posts posted by vidmarc
-
-
Sorry to bump this, but can anyone help? I've been on to 1&1 but they don't offer support for this.
-
Yes, and sadly the site won't load at all.
This .htaccess rewrite thing has me stumped. See error below.
## File Security <FilesMatch ".(htaccess)$"> Order Allow,Deny Deny from all </FilesMatch> #### Apache directory listing rules #### DirectoryIndex index.php index.htm index.html IndexIgnore * #### Rewrite rules for SEO functionality #### <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTP_HOST} !^nucleusfilms.com$ RewriteRule ^(.*)$ http://www.nucleusfilms.com/$1 [R=301] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^(.*).html?$ index.php?seo_path=$1 [L,QSA] </IfModule>
"Too many redirects occurred trying to open "http://www.nucleusfilms.com/".
This might occur if you open a page that is redirected to open another page which is then redirected to open the original page.
-
I changed STOREDOMAIN but it doesn't work at all now. No site loads.
## File Security <FilesMatch ".(htaccess)$"> Order Allow,Deny Deny from all </FilesMatch> #### Apache directory listing rules #### DirectoryIndex index.php index.htm index.html IndexIgnore * #### Rewrite rules for SEO functionality #### <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTP_HOST} !^STOREDOMAIN$ RewriteRule ^(.*)$ http://www.nucleusfilms.com/$1 [R=301] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^(.*).html?$ index.php?seo_path=$1 [L,QSA] </IfModule>
-
That one takes the links on the site here:
http://storedomain/admin.php?_g=settings
-
Weird, I haven't even downloaded it.
Your .htaccess file is executing this rule first:
RewriteRule ^(.*).html$ index.php?main_page=$1&%{QUERY_STRING} [L]
I suggest you remove everything above the "Added by 1&1 abuse" line.
I think that leaves you with this:
######## Added by 1&1 Abuse department -- BEGIN # only remove if you enconter problems related to php5 # take different measures to secure your scripts in this case AddType x-mapp-php5 .php ######## Added by 1&1 Abuse department -- END ## File Security <FilesMatch ".(htaccess)$"> Order Allow,Deny Deny from all </FilesMatch> #### Apache directory listing rules #### DirectoryIndex index.php index.htm index.html IndexIgnore * #### Rewrite rules for SEO functionality #### <IfModule mod_rewrite.c> RewriteEngine On ######## START v4 SEO URL BACKWARD COMPATIBILITY ######## RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule cat_([0-9]+)(.[a-z]{3,4})?(.*)$ index.php?_a=category&cat_id=$1&%1 [NC] RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule prod_([0-9]+)(.[a-z]{3,4})?$ index.php?_a=product&product_id=$1&%1 [NC] RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule info_([0-9]+)(.[a-z]{3,4})?$ index.php?_a=document&doc_id=$1&%1 [NC] RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule tell_([0-9]+)(.[a-z]{3,4})?$ index.php?_a=product&product_id=$1&%1 [NC] RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule _saleItems(.[a-z]+)?(?.*)?$ index.php?_a=saleitems&%1 [NC,L] ######## END v4 SEO URL BACKWARD COMPATIBILITY ######## RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^(.*).html?$ index.php?seo_path=$1 [L,QSA] </IfModule>
Did the one I suggested not work, either? Mine doesn't have the 1and1 section (which you probably need to keep) or the backward compatibility section (which I'm thinking you don't need since this was a clean install).
I just tried this .htaccess file but now I'm getting error 404s.
The urls are strange too. Something is very wrong, as these are all for different products:
http://www.nucleusfilms.com/death-ship-p16-p18.html http://www.nucleusfilms.com/education-anglaise-p24-p25-p26-p27-p28-p29-p30-p31-p32.html http://www.nucleusfilms.com/death-ship-p16-p18-p19.html
-
I don't have the ultimate url mod as far as I'm aware?
-
I do have a few mods, will these affect the .htaccess file?
-
Thanks, that's a great idea. I was doing the basic layout in TextWrangler.
I was kind of hoping I could link to an external "product" stylesheet somehow.
-
Thanks for the feedback - where can I find Bsmither's .htaccess file?
-
Is it not possible for me to do this on one&one? All that coding talk is beyond my scope.
-
It's a bit too advanced for me - I wouldn't know where to look!
-
OK, I set up a sub domain as suggested but unfortunately when it says "Global php" it means global, including the sub domain. Damn.
-
I'm copying and pasting from TextWrangler. I hate Word!
It's after I've pasted and start changing things that the problems begin with incorrect fonts and sizes etc.
-
How do you do this? I'm rather clueless about it to be honest.
-
Is there a simple way to implement one standard font face and size for our product pages? I seem to be having a lot of hassle with the text editor system, with different fonts and font sizes all over the place. It seems to take a lot of time to get right, when ideally I'd like to just create each of my product pages in a text editor then copy and paste these into into the store.
Would I also need to specify positioning of each paragraph too?
I used to hand code my own sites using HTML 3, but things have changed a lot since then...
-
Have tried various .htaccess installs (it seems to change each time I click on the install .htaccess button).
-
When I enable SEO URLs and click on a product from the home page the url appears in the browser address bar but the home page remains.
Same with selecting any of the category listings - the url appears in the address bar but the store remains on the home page.
-
Sorry, my mistake. This is the actual .htaccess file I was using.
##### NOTE: Replace /shop/ with the relative web path of your catalog in the "Rewrite Base" line below:Options +FollowSymLinksRewriteEngine OnRewriteBase /# From Ultimate SEO URLsRewriteRule ^(.*)-p-(.*).html$ index.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L]RewriteRule ^(.*)-c-(.*).html$ index.php?main_page=index&cPath=$2&%{QUERY_STRING} [L]RewriteRule ^(.*)-m-([0-9]+).html$ index.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING} [L]RewriteRule ^(.*)-pi-([0-9]+).html$ index.php?main_page=popup_image&pID=$2&%{QUERY_STRING} [L]RewriteRule ^(.*)-pr-([0-9]+).html$ index.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING} [L]RewriteRule ^(.*)-pri-([0-9]+).html$ index.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [L]# For Open Operations Info ManagerRewriteRule ^(.*)-i-([0-9]+).html$ index.php?main_page=info_manager&pages_id=$2&%{QUERY_STRING} [L]# For dreamscape's News & Articles ManagerRewriteRule ^news/?$ index.php?main_page=news&%{QUERY_STRING} [L]RewriteRule ^news/rss.xml$ index.php?main_page=news_rss&%{QUERY_STRING} [L]RewriteRule ^news/archive/?$ index.php?main_page=news_archive&%{QUERY_STRING} [L]RewriteRule ^news/([0-9]{4})-([0-9]{2})-([0-9]{2}).html$ index.php?main_page=news&date=$1-$2-$3&%{QUERY_STRING} [L]RewriteRule ^news/archive/([0-9]{4})-([0-9]{2}).html$ index.php?main_page=news_archive&date=$1-$2&%{QUERY_STRING} [L]RewriteRule ^news/(.*)-a-([0-9]+)-comments.html$ index.php?main_page=news_comments&article_id=$2&%{QUERY_STRING} [L]RewriteRule ^news/(.*)-a-([0-9]+).html$ index.php?main_page=news_article&article_id=$2&%{QUERY_STRING} [L]# All other pages# Don't rewrite real files or directoriesRewriteCond %{REQUEST_FILENAME} !-f [NC]RewriteCond %{REQUEST_FILENAME} !-dRewriteRule ^(.*).html$ index.php?main_page=$1&%{QUERY_STRING} [L]######## Added by 1&1 Abuse department -- BEGIN# only remove if you enconter problems related to php5# take different measures to secure your scripts in this caseAddType x-mapp-php5 .php######## Added by 1&1 Abuse department -- END## File Security<FilesMatch ".(htaccess)$">Order Allow,DenyDeny from all</FilesMatch>#### Apache directory listing rules ####DirectoryIndex index.php index.htm index.htmlIndexIgnore *#### Rewrite rules for SEO functionality ####<IfModule mod_rewrite.c>RewriteEngine On######## START v4 SEO URL BACKWARD COMPATIBILITY ########RewriteCond %{QUERY_STRING} (.*)$RewriteCond %{REQUEST_FILENAME} !-fRewriteRule cat_([0-9]+)(.[a-z]{3,4})?(.*)$ index.php?_a=category&cat_id=$1&%1 [NC]RewriteCond %{QUERY_STRING} (.*)$RewriteCond %{REQUEST_FILENAME} !-fRewriteRule prod_([0-9]+)(.[a-z]{3,4})?$ index.php?_a=product&product_id=$1&%1 [NC]RewriteCond %{QUERY_STRING} (.*)$RewriteCond %{REQUEST_FILENAME} !-fRewriteRule info_([0-9]+)(.[a-z]{3,4})?$ index.php?_a=document&doc_id=$1&%1 [NC]RewriteCond %{QUERY_STRING} (.*)$RewriteCond %{REQUEST_FILENAME} !-fRewriteRule tell_([0-9]+)(.[a-z]{3,4})?$ index.php?_a=product&product_id=$1&%1 [NC]RewriteCond %{QUERY_STRING} (.*)$RewriteCond %{REQUEST_FILENAME} !-fRewriteRule _saleItems(.[a-z]+)?(?.*)?$ index.php?_a=saleitems&%1 [NC,L]######## END v4 SEO URL BACKWARD COMPATIBILITY ########RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteCond %{REQUEST_URI} !=/favicon.icoRewriteRule ^(.*).html?$ index.php?seo_path=$1 [L,QSA]</IfModule> -
It's a clean install
www.nucleusfilms.com
Cubecart 5.2.1
##### NOTE: Replace /shop/ with the relative web path of your catalog in the "Rewrite Base" line below: Options +FollowSymLinks RewriteEngine On RewriteBase / # From Ultimate SEO URLs RewriteRule ^(.*)-p-(.*).html$ index.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L] RewriteRule ^(.*)-c-(.*).html$ index.php?main_page=index&cPath=$2&%{QUERY_STRING} [L] RewriteRule ^(.*)-m-([0-9]+).html$ index.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING} [L] RewriteRule ^(.*)-pi-([0-9]+).html$ index.php?main_page=popup_image&pID=$2&%{QUERY_STRING} [L] RewriteRule ^(.*)-pr-([0-9]+).html$ index.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING} [L] RewriteRule ^(.*)-pri-([0-9]+).html$ index.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [L] # For Open Operations Info Manager RewriteRule ^(.*)-i-([0-9]+).html$ index.php?main_page=info_manager&pages_id=$2&%{QUERY_STRING} [L] # For dreamscape's News & Articles Manager RewriteRule ^news/?$ index.php?main_page=news&%{QUERY_STRING} [L] RewriteRule ^news/rss.xml$ index.php?main_page=news_rss&%{QUERY_STRING} [L] RewriteRule ^news/archive/?$ index.php?main_page=news_archive&%{QUERY_STRING} [L] RewriteRule ^news/([0-9]{4})-([0-9]{2})-([0-9]{2}).html$ index.php?main_page=news&date=$1-$2-$3&%{QUERY_STRING} [L] RewriteRule ^news/archive/([0-9]{4})-([0-9]{2}).html$ index.php?main_page=news_archive&date=$1-$2&%{QUERY_STRING} [L] RewriteRule ^news/(.*)-a-([0-9]+)-comments.html$ index.php?main_page=news_comments&article_id=$2&%{QUERY_STRING} [L] RewriteRule ^news/(.*)-a-([0-9]+).html$ index.php?main_page=news_article&article_id=$2&%{QUERY_STRING} [L] # All other pages # Don't rewrite real files or directories RewriteCond %{REQUEST_FILENAME} !-f [NC] RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*).html$ index.php?main_page=$1&%{QUERY_STRING} [L] ######## Added by 1&1 Abuse department -- BEGIN # only remove if you enconter problems related to php5 # take different measures to secure your scripts in this case AddType x-mapp-php5 .php ######## Added by 1&1 Abuse department -- END ## File Security <FilesMatch ".(htaccess)$"> Order Allow,Deny Deny from all </FilesMatch> #### Apache directory listing rules #### DirectoryIndex index.php index.htm index.html IndexIgnore * #### Rewrite rules for SEO functionality #### <IfModule mod_rewrite.c> RewriteEngine On ######## START v4 SEO URL BACKWARD COMPATIBILITY ######## RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule cat_([0-9]+)(.[a-z]{3,4})?(.*)$ index.php?_a=category&cat_id=$1&%1 [NC] RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule prod_([0-9]+)(.[a-z]{3,4})?$ index.php?_a=product&product_id=$1&%1 [NC] RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule info_([0-9]+)(.[a-z]{3,4})?$ index.php?_a=document&doc_id=$1&%1 [NC] RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule tell_([0-9]+)(.[a-z]{3,4})?$ index.php?_a=product&product_id=$1&%1 [NC] RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule _saleItems(.[a-z]+)?(?.*)?$ index.php?_a=saleitems&%1 [NC,L] ######## END v4 SEO URL BACKWARD COMPATIBILITY ######## RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^(.*).html?$ index.php?seo_path=$1 [L,QSA] </IfModule>
-
Can anybody help me with this working? When I switch it on the pages don't load.
-
Thanks for the suggestion - I checked and I'm allowed up to 1500 sub-domains. If this works and when the store is built, will it be easy to then move everything into the main root folder?
-
I'm trying to get a friend's Cubecart up and running in a sub folder, whilst keeping the original site's webstore running in the root folder.
However, the original site is running on php4, whilst Cubecart requires 5.2.
Is there a way around this? I can get only one site working at a time as One&One only offers a "global php" setting.
-
The screen prompt said I can configure ionCube after installation, so I went ahead and did the install but now all I'm getting are blank screens.
-
I'm trying to install ionCube, but I'm not sure which folder 1and1 is referring to? Can anyone help?
http://faq.1and1.co.uk/scripting/php/15.html
Search Engine friendly URLs problem
in Technical Help
Posted
I'm using Safari, does that make a difference?