Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Hybrid View

  1. #1
    Join Date
    Mar 2006
    Posts
    919
    Plugin Contributions
    2

    Ultimate SEO URLs - Remove .html?

    I've setup Ultimate SEO URLs on my 1.3.0.2 ZenCart, but would like to remove the .html extention that is displayed for pages (in the address bar).

    For Example, a cusomer click on the cart link and is sent to:

    www.example.com/shopping_cart.html

    But, I would like the address bar to read:

    www.example.com/shopping_cart

    I understand that this would require editing the .htaccess file (i think), but I don't know how!

    Any advice would be great. Thanks.

  2. #2
    Join Date
    Mar 2005
    Posts
    561
    Plugin Contributions
    4

    Default Re: Ultimate SEO URLs - Remove .html?

    You want to .html there for search engine reasons.
    I wouldnt recommend removing it.

  3. #3
    Join Date
    Mar 2006
    Posts
    919
    Plugin Contributions
    2

    Default Re: Ultimate SEO URLs - Remove .html?

    Quote Originally Posted by Reesy
    You want to .html there for search engine reasons.
    I wouldnt recommend removing it.
    Thanks for the reply. Does it really affect search engines that much?

  4. #4
    Join Date
    Mar 2006
    Posts
    919
    Plugin Contributions
    2

    Default Re: Ultimate SEO URLs - Remove .html?

    Also, is it possible to remove the category and product codes from the url?

    I'm thinking that this should not be a problem (since no two categories or products have the same names).

    At the moment my urls read:

    www.example.com/batteries-c-56.html

    Anyway to get rid of the 'c-XXX'?

  5. #5
    Join Date
    Nov 2005
    Location
    www.carouseltoyshop.co.uk
    Posts
    20
    Plugin Contributions
    0

    Default Re: Ultimate SEO URLs - Remove .html?

    did u manage to get an answer for your question??

    I am also interested about it..

    please let me know if u find out..
    thanks

  6. #6
    Join Date
    Jan 2007
    Posts
    100
    Plugin Contributions
    0

    Default Re: Ultimate SEO URLs - Remove .html?

    I have a similiar question.

    [FONT=Helv]I am using SEO URL and i would like to find out if it is possible to add custom text into the html path. For example right now product links are generated as www.mysite.com\product1.html

    i would like it to say
    www.mysite.com\MY_TEXT-product1.html

    I suppose a concatenate statement needs to be changed in one of the php files but i do not know which one.
    [/FONT]

  7. #7
    Join Date
    Aug 2008
    Posts
    129
    Plugin Contributions
    0

    Default Re: Ultimate SEO URLs - Remove .html?

    Quote Originally Posted by Reesy View Post
    You want to .html there for search engine reasons.
    I wouldnt recommend removing it.
    You are just flat out wrong. Even if the comment was made a year or so ago, it was based on a complete misconception. Having .html does not give more value to your page. Having things such as an XHTML valid page, or well written page does.

    Be careful about the SEO advice you give.

    If you for example, tried the Wordpress CMS you would see that they remove ALL extensions from URLS, and simply end with trailing slashes e.g. "/"

    Why does this help?

    I have one theory--extensions such as .html or .php serve no purpose, and having only kewords in a URL make it focused, or in other words, there's less invalid garbage for a search engine to sort through.

    Anyway, the current trend at least with CMS systems like Wordpress is to remove .html from pages--because it serves no purpose.

    --Question--
    Is there a post somewhere explaining how to remove .html from URLs with the ultimate SEO url mod? or can someone please post a link. I've been searching on that thread & on google--but I just found this thread with no answer.

    here's the thread: (but I don't see the answer to my question)
    http://forum.zen-cart.com/showthread.php?t=44104

  8. #8
    Join Date
    Aug 2008
    Posts
    129
    Plugin Contributions
    0

    Default Re: Ultimate SEO URLs - Remove .html?

    Alright-- I got this for you--hopefully you'll see this reply.

    I've successfully removed ".html" from all my links.

    I changed pages from:
    http://mysite.com/microsoft-internet...-ps2-p-25.html
    TO
    http://mysite.com/microsoft-internet-keyboard-ps2-p-25/

    I replaced ".html" with "/" on every page.

    Here's the steps--they must be followed exactly:

    as a precaution, backup each page before you edit
    for example:
    I saved a copy of seo.url.php as seo.url_bak.php

    1-find seo.url.php under catalog/includes/classes

    replace each instance of ".html" with "/"
    I suppose you can leave out the commented PHP that mentions its using ".html" as the default, but everything else has to go.

    2-go to your .htaccess file
    replace each instance of .html with "/"

    3-Go to your mySQL database with phpMyAdmin or whatever mysql editor you use, find the table "seo_cache"
    (you may want to back the table up first, however, I think there's no danger in making this change)
    Click on all the information/ entries in "seo_cache"
    on the dropdown choose "drop"
    OR
    Clear the SEO URL cache from the admin panel (sadly, I dont know how to do this)


    Now click on your homepage/ or your catalog primary page....

    Things should be working with no ".html" in the pages. Just beautiful trailing slashes & clean URLs... now I just have to figure out how to get rid of those garbage category numbers...

    It's critical that you clear the cache--I tried doing this without the cache clear, and I was finding all 'blank' or 'empty' pages.

    I hope others find this fix useful.
    Last edited by dontknowwhatimdoing; 5 Aug 2008 at 09:21 AM.

  9. #9
    Join Date
    Aug 2008
    Posts
    129
    Plugin Contributions
    0

    Default Re: Ultimate SEO URLs - Remove .html?

    I've noticed there's a problem with EZpages, I think at least in my case, I'm just not going to use them to avoid the difficulty, unless someone has a simple solution.

  10. #10
    Join Date
    Aug 2008
    Posts
    129
    Plugin Contributions
    0

    Default Re: Ultimate SEO URLs - Remove .html?

    Well--I'm having the problem with anything that's not on a category page--I'll have to look into this.

    Any pages on the header/ footer of the site are having the issue.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Simple SEO URL, Ultimate SEO URLs, Ceon URI Mapping SEO
    By pizza392 in forum All Other Contributions/Addons
    Replies: 13
    Last Post: 21 Jan 2015, 10:49 AM
  2. 1.3.8 Multilingual URLs with Ultimate SEO URLs?
    By vko82 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 29 Aug 2011, 01:07 PM
  3. Remove URL Rewriting from Checkout Page - Ultimate SEO URLs
    By NewbietoEC in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 18 Aug 2010, 02:51 PM
  4. Ultimate SEO URLs is messing with my admin URLs
    By Chrome Orange in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 21 Jul 2009, 01:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg