Results 1 to 7 of 7

Imposible activate the SEO URLs, why?

This is a discussion on Imposible activate the SEO URLs, why? within the Bugs and Problems forums, part of the osCmax V2.5 Forums category; I change the option URLs SEO to view most friendly adress in my browser, but when I change the default ...

      
  1. #1
    Member
    Join Date
    Sep 2011
    Posts
    94
    Rep Power
    9


    Default Imposible activate the SEO URLs, why?

    I change the option URLs SEO to view most friendly adress in my browser, but when I change the default option false to true, the site don´t work. ¿Why?, I need change anything else?

    Thanks

    I have and scrren capture, but after the "attack" to the OSCMAX Website I can´t upload attachmment to the forum.


  2. #2
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    3,121
    Rep Power
    55


    Default Re: Imposible activate the SEO URLs, why?

    Yes - you need to change the .htaccess rewrite rules.

    http://wiki.oscdox.com/v2.5/seo_urls

    Regards.
    pgmarshall
    _______________________________

  3. #3
    Active Member niallb's Avatar
    Join Date
    Sep 2010
    Posts
    243
    Rep Power
    3


    Default Re: Imposible activate the SEO URLs, why?

    ...and don't forget to clear your cache
    Sometimes you just can't see the wood for all those damned trees

  4. #4
    Member
    Join Date
    Sep 2011
    Posts
    94
    Rep Power
    9


    Default Re: Imposible activate the SEO URLs, why?

    Hi, I never respond to pgmarshall and niallb (thanks for all), besause I never start the progress, after some month I activate the SEO URLs, but the result not is exactly that I think.
    I use the Standard configuration of .htacces:
    # BOF: MOD - Ultimate SEO URLs
    ## SEO Url's .htaccess file
    ## If you want to use the Apache Mod-Rewrite method for SEO URL's
    ## NOTE: This requires that you are on an apache web server with mod_rewrite enabled.

    <IfModule mod_rewrite.c>
    Options +FollowSymLinks
    RewriteEngine On

    # Change "catalog" to your catalog directory name:
    #RewriteBase /catalog/
    ## If installed to the base home/root directory, uncomment the below code only:
    RewriteBase /

    RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-m-([0-9]+).html$ index.php?manufacturers_id=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-pi-([0-9]+).html$ popup_image.php?pID=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-t-([0-9]+).html$ articles.php?tPath=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-a-([0-9]+).html$ article_info.php?articles_id=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-pr-([0-9]+).html$ product_reviews.php?products_id=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-pri-([0-9]+).html$ product_reviews_info.php?products_id=$2&%{QUERY_ST RING}
    RewriteRule ^(.*)-i-([0-9]+).html$ information.php?info_id=$2&%{QUERY_STRING}
    </ifModule>
    # EOF: MOD - Ultimate SEO URLs

    The result when I click in a product is: www.mywebsite/consolas-c-3.html

    is posible change it to: www.mywebsite/consolas.html?, that I need change in the .htacces?

    I want the seo don´t show the "-c-3" in the navigation bar, ¿is possible it?, this is for categories, and the same for products?

    Thanks for all.

  5. #5
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    3,121
    Rep Power
    55


    Default Re: Imposible activate the SEO URLs, why?

    Just turn it off in the setting in admin - 2nd and 3rd option tom false.
    pgmarshall
    _______________________________

  6. #6
    Member
    Join Date
    Sep 2011
    Posts
    94
    Rep Power
    9


    Default Re: Imposible activate the SEO URLs, why?

    Hi, thanks pgmarshall, I se to false this options and reset the cache, but the result is the same:

    Add cPath to product URLs? false
    Add category parent to beginning of URLs? false

    Is this option correct?.

    Any idea?.

    Thanks

  7. #7
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,368
    Rep Power
    57


    Default Re: Imposible activate the SEO URLs, why?

    Just to add to this..
    The prefix letters are there for a reason - to differentiate types of pages; products, manufacturers, articles etc. (I thought that was obvious just by looking at the rewrite lines). Perhaps you have a category called Premium Products and an article/information page written about them called the same (unsurprisingly), then the SEO URL would be the same, if it were not for the prefix.
    Lateral thinking?

    [Thread raised from the dead, due to being mentioned recently in another thread.]
    Hosting plans with installation, configuration, contributions, support and maintenance.

Similar Threads

  1. cod won't activate in the front end
    By Mythos in forum osCmax v2 Customization/Mods
    Replies: 6
    Last Post: 11-25-2010, 01:22 PM
  2. Quickly De-Activate Products
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 09-02-2009, 11:11 PM
  3. Quickly De-Activate Products
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 09-02-2009, 09:05 PM
  4. HOw to activate the DHTML Menu
    By Walter in forum osCMax v2 Features Discussion
    Replies: 0
    Last Post: 11-05-2006, 02:47 PM
  5. Pricing Per Customer -- How to activate?
    By malcol27 in forum osCMax v1.7 General Mods Discussion
    Replies: 2
    Last Post: 01-21-2005, 01:37 AM

Bookmarks

Posting Permissions

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