DizzyDan

Members
  • Content count

    251
  • Joined

  • Last visited

  • Days Won

    1

DizzyDan last won the day on August 31 2012

DizzyDan had the most liked content!

Community Reputation

10 Good

About DizzyDan

  • Rank
    Member
  • Birthday 08/30/1985

Previous Fields

  • Languages
    HTML, CSS, jQuery

Contact Methods

  • ICQ
    0

Profile Information

  • Gender
  • Location
    New York
  • Interests
    Web Development, Music.

Recent Profile Visitors

2,700 profile views
  1. Ahh that worked, forgot about that sneaky 's' # Force WWW RewriteCond %{HTTP_HOST} !^www\.creativejuicesmusic\.com [NC] RewriteRule (.*) https://www.creativejuicesmusic.com/$1 [R=301,L] Thanks for all the help!
  2. OK so I placed this at the very top of the htaccess file # Force WWW RewriteCond %{HTTP_HOST} !^www\.creativejuicesmusic\.com [NC] RewriteRule (.*) http://www.creativejuicesmusic.com/$1 [R=301,L] # Force HTTPS RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] But now in google page speed insights it throws this at me: I thought doing this via htaccess was the correct kind of fix for this.
  3. This code works for the www but for some reason when this code is applied and you enter creativejuicesmusic.com int the web browser it takes you to: http://www.creativejuicesmusic.com/wp-content/cache/page_enhanced/creativejuicesmusic.com/_index.html_gzip instead of http://www.creativejuicesmusic.com So something funky is going on. I moved the gzip code to go after the wordress code and everything seems to check out.
  4. I am using WordPress and trying to redirect to www. I added the line below to my htaccess file and the redirect works but it send the URL here: http://www.creativejuicesmusic.com/wp-content/cache/page_enhanced/creativejuicesmusic.com/_index.html_gzip RewriteCond %{HTTP_HOST} ^creativejuicesmusic.com [nocase] RewriteRule ^(.*) http://www.creativejuicesmusic.com/$1 [last,redirect=301] This is my full htaccess file # BEGIN W3TC Browser Cache <IfModule mod_deflate.c> <IfModule mod_filter.c> AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/bmp application/java application/msword application/vnd.ms-fontobject application/x-msdownload image/x-icon image/webp application/json application/vnd.ms-access application/vnd.ms-project application/x-font-otf application/vnd.ms-opentype application/vnd.oasis.opendocument.database application/vnd.oasis.opendocument.chart application/vnd.oasis.opendocument.formula application/vnd.oasis.opendocument.graphics application/vnd.oasis.opendocument.presentation application/vnd.oasis.opendocument.spreadsheet application/vnd.oasis.opendocument.text audio/ogg application/pdf application/vnd.ms-powerpoint image/svg+xml application/x-shockwave-flash image/tiff application/x-font-ttf application/vnd.ms-opentype audio/wav application/vnd.ms-write application/font-woff application/font-woff2 application/vnd.ms-excel <IfModule mod_mime.c> # DEFLATE by extension AddOutputFilter DEFLATE js css htm html xml </IfModule> </IfModule> </IfModule> <FilesMatch "\.(html|htm|rtf|rtx|svg|txt|xsd|xsl|xml|HTML|HTM|RTF|RTX|SVG|TXT|XSD|XSL|XML)$"> <IfModule mod_headers.c> Header append Vary User-Agent env=!dont-vary </IfModule> </FilesMatch> <FilesMatch "\.(bmp|class|doc|docx|eot|exe|ico|webp|json|mdb|mpp|otf|_otf|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|pot|pps|ppt|pptx|svg|svgz|swf|tif|tiff|ttf|ttc|_ttf|wav|wri|woff|woff2|xla|xls|xlsx|xlt|xlw|BMP|CLASS|DOC|DOCX|EOT|EXE|ICO|WEBP|JSON|MDB|MPP|OTF|_OTF|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|POT|PPS|PPT|PPTX|SVG|SVGZ|SWF|TIF|TIFF|TTF|TTC|_TTF|WAV|WRI|WOFF|WOFF2|XLA|XLS|XLSX|XLT|XLW)$"> <IfModule mod_headers.c> Header unset Last-Modified </IfModule> </FilesMatch> # END W3TC Browser Cache # BEGIN W3TC Page Cache core <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{HTTP:Accept-Encoding} gzip RewriteRule .* - [E=W3TC_ENC:_gzip] RewriteCond %{HTTP_COOKIE} w3tc_preview [NC] RewriteRule .* - [E=W3TC_PREVIEW:_preview] RewriteCond %{REQUEST_METHOD} !=POST RewriteCond %{QUERY_STRING} ="" RewriteCond %{REQUEST_URI} \/$ RewriteCond %{HTTP_COOKIE} !(comment_author|wp\-postpass|w3tc_logged_out|wordpress_logged_in|wptouch_switch_toggle) [NC] RewriteCond "%{DOCUMENT_ROOT}/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_PREVIEW}.html%{ENV:W3TC_ENC}" -f RewriteRule .* "/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_PREVIEW}.html%{ENV:W3TC_ENC}" [L] </IfModule> # END W3TC Page Cache core # EXPIRES CACHING # <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/jpg "access plus 1 year" ExpiresByType image/jpeg "access plus 1 year" ExpiresByType image/gif "access plus 1 year" ExpiresByType image/png "access plus 1 year" ExpiresByType text/css "access plus 1 month" ExpiresByType application/pdf "access plus 1 month" ExpiresByType text/x-javascript "access plus 1 month" ExpiresByType application/x-shockwave-flash "access plus 1 month" ExpiresByType image/x-icon "access plus 1 year" ExpiresDefault "access plus 1 week" </IfModule> # EXPIRES CACHING # # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^creativejuicesmusic.com/ RewriteRule ^(.*)$ http://www.creativejuicesmusic.com/$1 [R=301,L] RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
  5. So the script would be for creating the XML Sitemap for the 1 million records? Do you know of a good resource for a tutorial or examples of some XML sitemaps for a database?
  6. So this would have to broken down into approx. 20 separate site map files? However my real question is how important would it be to build these sitemaps? If the Database alone not enough?
  7. The idea is that most people looking of these parts will know the part number and just copy and paste that part number into a google search. Its low competition and his would most likely show up on the first page if not be the only result. Do you think a sitemap with a link to every part number would be necessary or worth the investment?
  8. Thank you for your reply! They do already have a search feature they just want to update it with the new 1 million parts. Interestingly though, he brought up that his previous developer said he would need to build a script (for approx $1,500) that would handle indexing the new 1 million parts with google. I just don't understand what this script will actually do in order to index his database with google, any thoughts?
  9. I have a family member that runs a wholesale electrical part company where they have a database with hundreds of thousands of parts. They asked me if I could create a website so people can search for their parts via web search. They also mentioned they spoke to someone years ago that indexing this was an issue which is why they haven't moved forward yet, saying that you can only submit so many pages to google. I was under the impression that google automatically indexes your site but I have never worked on something of that scale before. Is this true? Is there a way to confirm all the parts will get indexed? Is there a pay per 1000 to ensure indexing?
  10. OK, thanks!
  11. I have a php password reset form that when used many users do not receive the email: http://amac.us/member-login-help/ It works for most major email providers but AOL email and Apple email users don't receive them nor are the in their spam or junk folders. Any advice on how to fix this on going issue?
  12. OK I think that did the trick! // toggle Discounts and Offers categoriesfunction slideonlyone(thechosenone) { $('.newboxes2').each(function(index) { if ($(this).attr("id") == thechosenone) { $(this).fadeIn(600); } else { $(this).fadeOut(0); } });}// start first caltegory with active class$(function(){$('li.regular').eq(0).addClass("active"); });// replace regular active class on categories$('li.regular').click(function(){ $('li.regular').removeClass("active"); $(this).addClass("active");});
  13. I tried that but it doesn't remove it when you click the next category https://amacsmallbiz.com/benefits-test/
  14. OK I got the addClass to work, how can I have the first <li> start with the active class? Script // toggle Discounts and Offersfunction slideonlyone(thechosenone) { $('.newboxes2').each(function(index) { if ($(this).attr("id") == thechosenone) { $(this).fadeIn(600); } else { $(this).fadeOut(0); } });}// active class on benefits menu$('li.regular').click(function(){ $('li.regular').removeClass("active"); $(this).addClass("active");}); HTML <ul class="benefit-cat-wrap col-md-3"> <li class="benefit-cat regular"> <a id="myHeader1" href="javascript:slideonlyone('newboxes1');" ><h3>Benefits & Savings</h3></a> </li> <li class="benefit-cat regular"> <a id="myHeader2" href="javascript:slideonlyone('newboxes2');" ><h3>Business Insurance Programs</h3></a> </li> <li class="benefit-cat regular"> <a id="myHeader3" href="javascript:slideonlyone('newboxes3');" ><h3>Employer Sponsored Health & Life Insurance</h3></a> </li> <li class="benefit-cat regular"> <a id="myHeader4" href="javascript:slideonlyone('newboxes4');" ><h3>Other</h3></a> </li> </ul>
  15. I created a toggle with several categories which works perfectly but I want the active category to have it's own class. Can you help me out or point me in a direction of a tutorial that can bring clarity for me. Page URL: https://amacsmallbiz.com/benefits-test/ Script // toggle Discounts and Offersfunction slideonlyone(thechosenone) { $('.newboxes2').each(function(index) { if ($(this).attr("id") == thechosenone) { $(this).fadeIn(600); } else { $(this).fadeOut(0); } });} HTML <ul class="benefit-cat-wrap col-md-3"> <li class="benefit-cat"> <a id="myHeader1" href="javascript:slideonlyone('newboxes1');" ><h3>Benefits & Savings</h3></a> </li> <li class="benefit-cat"> <a id="myHeader2" href="javascript:slideonlyone('newboxes2');" ><h3>Business Insurance Programs</h3></a> </li> <li class="benefit-cat"> <a id="myHeader3" href="javascript:slideonlyone('newboxes3');" ><h3>Employer Sponsored Health & Life Insurance</h3></a> </li> <li class="benefit-cat"> <a id="myHeader4" href="javascript:slideonlyone('newboxes4');" ><h3>Other</h3></a> </li></ul><div class="benefit-sect-wrap cold-md-9"> <div class="benefit-sect newboxes2" id="newboxes1"> <p>First Category</p> </div> <div class="benefit-sect newboxes2" id="newboxes2"> <p>Second Category</p> </div> <div class="benefit-sect newboxes2" id="newboxes3"> <p>ThirdCategory</p> </div> <div class="benefit-sect newboxes2" id="newboxes4"> <p>Forth Category</p> </div> </div>