Jump to content

Shari Marie

Member
  • Posts

    71
  • Joined

  • Last visited

Posts posted by Shari Marie

  1. Don't spend a lot of time on that BSmithers,  I was just checking it was not already an option that was easy to achieve. If that my biggest problem, life is good :)

    I posted another question on the technical help section  about the photo/banner/slider thing ( Sorry for not being technical here, I cant think of its actual name) Anyway, I found it distracting at first , and deleted it before I should have.  I'd like to see how it looks after all. That will teach me not to "delete" on a whim.  haha  Can I get it back?

  2. Thanks DB!!!!   I must say it did feel good to do it myself.  I feel like the little engine that could,  "I think I can, I think I can".

    Without this forum though, I would never have made it this far. Bsmithers has really gone above and beyond helping redirect my

    old site pages to the new product pages.  I can not thank him enough.

    I'm SO appreciative of everyone's help and input and I'm learning so much.  I'm determined!!! 

    Thanks again DB

  3. Well, I went ahead and did what I thought you meant,  and put it before the page##html directives.  It seems to have worked. The link I had tried earlier on Pinterest, now take me to my CC404 page, (that I edited to read like a quasi home page, in actuality the 404)

    That's much better than HostGators 404 page. 

  4. 3 minutes ago, bsmither said:

    Near the top, there should be these directives:

    
    ### Rewrite rules for SEO functionality ###
    <IfModule mod_rewrite.c>
      RewriteEngine On
      RewriteBase /

    Add the following to just after them:

    
    RewriteCond %{HTTP_HOST} ^www\.sharimariecreations\.com$
    RewriteRule ^(.*)$ http://sharimariecreations.com/$1 [R=301,L]

    Delete the three lines you have at the very end (those directives after "End CubeCart .htaccess"). That's the wrong place for those directives.

    Then, near the bottom, there are two lines missing. Add the missing lines:

    
    </IfModule>
    
    ### Default store 404 page ###
    ErrorDocument 404 /index.php
    
    ## Override default 404 error document for missing page resources ##

     

    In that first edit, do I put that coding before the rewrites that I have been doing this afternoon or after them?

  5. Here's what I've got.

    RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteCond %{REQUEST_URI} !=/favicon.ico
      RewriteRule ^(.*)\.html?$ index.php?seo_path=$1 [L,QSA]
    </IfModule>

    # Override default 404 error document for missing page resources ##
    <FilesMatch "\.(gif|jpe?g|png|ico|css|js|svg)$">
      ErrorDocument 404 "<html></html>
    </FilesMatch>
    ##### END CubeCart .htaccess #####

    RewriteCond %{HTTP_HOST} ^sharimariecreations\.com$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.sharimariecreations\.com$
    RewriteRule ^idc\/index\.php$ "http\:\/\/sharimariecreations\.com\/" [R=301,L]
     

  6. I am still in the process of deleting these php's .   I clicked on a link I had for one of them that i found on Pinterest and I am directed to the Host Gator 404 page.  Is that what was expected to happen?

  7. Ok,  I will stick to the SEO address and leave it at that. I have been able to redirect/rewrite many of my products thus far and will continue to do so as I add more products. So on that note, I think I am good where it comes to this. 

    The only exception has been of the old pages that had page_.php extentions that created the fatal error page. I would love to be able to resolve those.  Should I begin a new topic for this?

    I suspect that those php pages were connected to the old Instant Download Cart (the folder was called idc in my cpanel)  had everything to do with it,  I knew I was not going to use the idc as it was no longer working out so I deleted the idc file. I don't know how to proceed with eliminating those fatal error links.  Anything with the php extention seems to be giving that fatal result.  I think for those products I did not have a html page, at all, just the idc cart page that created those page_.php pages that are no longer working. The reason for doing that was I had a page limit with my hosting package and I found that was a way to get around to add additional products. Anyway,

    Example:   http://sharimariecreations.com/page95.php


    Warning: require_once(init.php): failed to open stream: No such file or directory in /home1/sharimw/public_html/page95.php on line 2

    Fatal error: require_once(): Failed opening required 'init.php' (include_path='.:/opt/php56/lib/php') in /home1/sharimw/public_html/page95.php on line 2

  8. yes, my example left off the ,L   I have it correct in the cpanel htaccess.  oversite when I copied and pasted it here. Thank you.

    I wondered why some products in sub categorys do not show the sub categories in the address bar. like this one,

    http://sharimariecreations.com/paper-doll-collection.html     (Paper Dolls Product)

     

    Others are showing the subcategory but not the product name like this one. Seems odd to me.

    http://sharimariecreations.com/design-collections/children-s-collections/.html     (Furry Friends Product)  

    BOTH are in the Children's category.   Just courious.  I have gotten both re directed successfully by closely adhering to your instructions about using exactly what is in the address bar, but still, made me courious.

    As always, thanks again.

  9. Thanks, I just meant the line spacing,  I wont change spacing in the command itself.   That 500 scared the dickens out of me but ill give it another shot with line spaces so I can clearly see what I am pasting in.

    Tell me if this is wrong or right.  As I am rewriting,  I have been going to the product online, (meaning not in the cpanel).  If when I am viewing the actual product page for that item, the address bar shows the /catagory/sub catagory/product.html  do I also include the sub catagories in the rewrite? or just the product itself as you indicated below.

    RewriteRule ^page89\.html$ http://sharimariecreations.com/hen-house-collection.html [NC,R=30]

    OR for example for my Bug Jar Collection  that has a sub category, found at   http://sharimariecreations.com/best-sellers/bug-jar-collection.html

    RewriteRule ^page35\.html$ http://sharimariecreations.com/best-sellers/bug-jar-collection.html [NC,R=30]     

    Could have adding that sub category caused the 500 disaster last night?

  10. 13 hours ago, havenswift-hosting said:

    The 500 error you received was due to incorrectly editing the .htaccess and either deleting or adding something that shouldn't been there - it is very unforgiving of any tiny mistake.

    It is 100% worth the effort of adding every single old style URL that is either embedded on any other site or is already indexed by Google (try the following search in Google but without the quotes   "site:sharimariecreations.com"   and see what it returns !). Benefits include retaining Google link juice (which is very important for rankings) and user experience (you don't want people ever seeing the 404 if it can be helped).

    I agree, I don't want them seeing the 404 so I did edit the content wording  to mimic what my home page reads.  I still do want to rewrite as you and Bsmithers suggested. I guess I will give it another go.  Just to be clear , you said the 500 was due to my personal error. I do not want to give up . I want to proceed, but SAFELY  so if I create a empty space by spacing a few  lines in the area where I would be rewriting to so that i can clearly see what I am pasting in,  the spacing  will not create an issue will it? 

    I did google site:sharimariecreations.com as well and wow, tons of links to my site, new and old.  The only ones that do not seem to direct to my cc 404 page is the links that have  page__.php.  I guess I will ask the server host about that.

  11. I gave the Rewrite a try. copied, pasted, inserting the required info. in the same place,   we talked about before.

    ### Rewrite rules for SEO functionality ###
    <IfModule mod_rewrite.c>
      RewriteEngine On
      RewriteBase /         (here)

     The two you posted  worked, as did the next two I did  but when I got to the 5th one, the whole site crashed with 500 error, site not available. So, I immediately deleted the changes, all of them, and contacted my host server via chat. He said I was incorrectly using my htaccess before I even told him what I had done. It took him a while but he was able to get it restored to where it was before I made the changes to the htacess.  I was VERY careful not to delete a single thing when I added the rewrites. I don't really understand what went wrong. I was shocked that even after carefully removing the edits, I still was getting the 500 not available internal error. That was scary LOL  I thought, oh no....what have I done.  I'm not doing anything else tonight. Ill check back tomorrow to see what ideas you may have.  Thank you again Bsmittles, this  process is so interesting and I am learning so much. I have a long way to go obviously haha but I'm trying.

  12. I've  added those changes: 
    Redirect 301 /page89.html http://sharimariecreations.com/hen-house-collection.html
    Redirect 301 /page61.html http://sharimariecreations.com/paper-doll-collection.html
     

    When I type in     http://sharimariecreations.com/page89.html  it takes me to http://sharimariecreations.com/hen-house-collection.html?seo_path=page89

    it lands on the 404 page that I edited not on the new product page. (in this case the hen house collection page)

  13. Thanks, ill give this a try.  Should I remove the redirects done using the cpanel that I did prior first?

    Ok I found this:

    ### Apache directory listing rules ###
    DirectoryIndex index.php  index.html
    IndexIgnore *

    ### Rewrite rules for SEO functionality ###
    <IfModule mod_rewrite.c>
      RewriteEngine On
      RewriteBase /                                  (Do I add the changes after this RewriteBase/  ????  or directly after the RewriteEngine ON?)
     
     

  14. I found this...............but it was not in the Cube Cart folder.  My Cube Cart folder is above the Public Html.....I found this below the  Public html .  I was just viewing this....but I think there is an editor right in the c panel. Does that sound right?

    2017-01-27 (2)_LI.jpg

  15. I probably had about 85 individual product pages (not including the contact/about/misc pages.  I found a back up file in the file manager. Inside it has all of the product pages so I would be able to know what product was represented on each of those pages.   Is that what you meant by Map of the page##.   ?

  16. I had found the file with all of that old cart info in it, and deleted it the other day.  I wonder why I got this fatal error on some links still?

    Do I continue and Redirect each page to the new corresponding  product page like in my first example? Is this a waste of time?

    If not, where do I go from here? what of the htaccess file?  I didn't really understand all that Ian was saying about that.

     

  17. BSmithers,   89 is the 89th page I created on my old site. This is how the site builder I used named the pages and I left them numbered as is. Each page represented a specific product, 89 was not the product ID, only the page in which the info was listed.  There was an outside script for the instant download cart that I linked with a add to cart button from page89. That cart is no longer supported. When the customer added it to their basket and paid, they were automatically directed to the cart . There, in the cart script, I would add the product id, price, and additional info .  I didn't want to use the cart script on its own because while it got the job done, it didn't have the look and feel I was going for.  I hope I am making sense here. 

    Ian  Perhaps the IonCube issue  is related to that instant download script I had been using.  I began using that about 9-10 yrs ago. The writer of the script installed it for me. There was a one time cost and it served me well until one day out of the blue I was unable to access the cart to edit or add products. I guess he moved on to bigger and better things and deleted/changed the license or passwords to it.  He is no where to be found, im guessing he moved on to bigger and better things. Anyway,i have moved on from that but that is why I had to build this new site.

×
×
  • Create New...