osCmax v2.5 User Manual
Page 1 of 2 12 LastLast
Results 1 to 10 of 12

How to get SEO urls for articles?

This is a discussion on How to get SEO urls for articles? within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; I got this fixed but how come SEO URLS are not working on articles?...

      
  1. #1
    New Member
    Join Date
    Oct 2008
    Location
    Atlanta, Georgia
    Posts
    21
    Rep Power
    0


    Default How to get SEO urls for articles?

    I got this fixed but how come SEO URLS are not working on articles?

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: How to get SEO urls for articles?

    RC3 does not SEO the articles. You need to add new rules to your .htaccess to rewrite them. You can get the rules here:
    oscmax2 - Google Code
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    New Member
    Join Date
    Oct 2008
    Location
    Atlanta, Georgia
    Posts
    21
    Rep Power
    0


    Default Re: How to get SEO urls for articles?

    Thanks Michael, but I have tried that, and its still not rewriting the articles to SEO urls. Its rewriting every thing else except the articles. Here is my .htaccess file

    Code:
    # Ultimate SEO URLs BEGIN
    Options +FollowSymLinks
    RewriteEngine On
    RewriteBase /
    RewriteCond %{QUERY_STRING} ^options=(.*)$
    RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2%1
    RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-m-(.*).html$ index.php?manufacturers_id=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-pi-(.*).html$ popup_image.php?pID=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-t-(.*).html$ articles.php?tPath=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-a-(.*).html$ article_info.php?articles_id=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-pr-(.*).html$ product_reviews.php?products_id=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-pri-(.*).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-pm-([0-9]+).html$ info_pages.php?pages_id=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-i-(.*).html$ information.php?info_id=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-links-(.*).html$ links.php?lPath=$2&%{QUERY_STRING}
    # Added polls and newsdesk
    #RewriteRule ^(.*)-po-([0-9]+).html$ pollbooth.php?pollid=$2&%{QUERY_STRING}
      RewriteRule ^(.*)-n-(.*).html$ newsdesk_info.php?newsdesk_id=$2&%{QUERY_STRING}
      RewriteRule ^(.*)-nc-(.*).html$ newsdesk_index.php?newsPath=$2&%{QUERY_STRING}
      RewriteRule ^(.*)-nri-(.*).html$ newsdesk_reviews_info.php?newsdesk_id=$2&%{QUERY_STRING}
      RewriteRule ^(.*)-nra-(.*).html$ newsdesk_reviews_article.php?newsdesk_id=$2&%{QUERY_STRING}
    # BOF: Faqdesk support added by faaliyet
      RewriteRule ^(.*)-f-(.*).html$ faqdesk_info.php?faqdesk_id=$2&%{QUERY_STRING}
      RewriteRule ^(.*)-fc-(.*).html$ faqdesk_index.php?faqPath=$2&%{QUERY_STRING}
      RewriteRule ^(.*)-fri-(.*).html$ faqdesk_reviews_info.php?faqdesk_id=$2&%{QUERY_STRING}
      RewriteRule ^(.*)-fra-(.*).html$ faqdesk_reviews_article.php?faqdesk_id=$2&%{QUERY_STRING}
    # EOF: Faqdesk support added by faaliyet
    # Ultimate SEO URLs END

  4. #4
    Member
    Join Date
    May 2008
    Posts
    88
    Rep Power
    5


    Default Re: How to get SEO urls for articles?

    Does this require editing catalog/includes/functions/html_output.php or some other file as well?

    I did some changes to my SEO URL's a while back with some help from Mindtwist in this thread:
    Slight Modification of SEO URLs

    It required some changes in that file. Are any other file changes required here, or is it just the .htaccess rules?

  5. #5
    Active Member MindTwist's Avatar
    Join Date
    Jun 2007
    Location
    Barcelona, Spain
    Posts
    409
    Rep Power
    7


    Default Re: How to get SEO urls for articles?

    My store started with OSCMAX 2 RC3 , and I do remember that it would NOT do SEO on the articles URLs. I had to update Ultimate SEO URL for the articles to work, I do not know about RC4, but the USU version that came included with RC3 wasn't doing articles.

    That is the main (maybe it was the only) reason why I updated USU long time ago, there is not enough with adding the lines on your .htaccess , because you would still need the code as I explained with NewsDesk on the other thread.

  6. #6
    New Member
    Join Date
    Oct 2008
    Location
    Atlanta, Georgia
    Posts
    21
    Rep Power
    0


    Default Re: How to get SEO urls for articles?

    Yeah, I am stomped at this point. I have tried everything, even trying to upgrade the Ultimate SEO files. It still cannot get it to rewrite anything but the Product URLS, Category URLS, and Manufacturer URLS. It WILL NOT rewrite articles, reviews, etc.. Any help would be much appreciated!

  7. #7
    Active Member MindTwist's Avatar
    Join Date
    Jun 2007
    Location
    Barcelona, Spain
    Posts
    409
    Rep Power
    7


    Default Re: How to get SEO urls for articles?

    As said, you MUST update USU with a version that works with articles, or it will not work.

    The version I installed if I remember correctly was Ultimate_SEO_URLSv21d , it comes with very detailed upgrade instructions (by Chemo)

  8. #8
    New Member
    Join Date
    Oct 2008
    Location
    Atlanta, Georgia
    Posts
    21
    Rep Power
    0


    Default Re: How to get SEO urls for articles?

    Ok, I will try upgrading to 2.1d and see if that helps. Thanks.

  9. #9
    Active Member MindTwist's Avatar
    Join Date
    Jun 2007
    Location
    Barcelona, Spain
    Posts
    409
    Rep Power
    7


    Default Re: How to get SEO urls for articles?

    2.1d is the one I installed for the articles to work. I updated again (small change) to the one by yesudo from 29/Nov/2006 , so I could set by hand product and category URLs on the admin section.

    And later I also installed IndependentSeoUrlValidation_v1.0.4 which comes in very handy if you change any URL, because it will redirect (301) the old URL to the new one, avoiding duplicates.

  10. #10
    New Member
    Join Date
    Oct 2008
    Location
    Atlanta, Georgia
    Posts
    21
    Rep Power
    0


    Default Re: How to get SEO urls for articles?

    Ok, Thanks. I will keep that in mind. I have noticed that there are a lot of things regarding USU in includes/functions/html_output.php. Do i leave every thing that was already in there for USU, or replace it with the new code from the readme?

Page 1 of 2 12 LastLast

Similar Threads

  1. What would it take to get Ultimate SEO urls to work on the articles section?
    By aaanativearts in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 05-26-2007, 08:50 PM
  2. Cannot tell a friend about articles
    By jbanda in forum osCMax v2 Features Discussion
    Replies: 0
    Last Post: 08-17-2006, 04:59 AM
  3. Articles Manager
    By pefc2525 in forum osCMax v2 Features Discussion
    Replies: 0
    Last Post: 08-05-2006, 11:52 AM
  4. SEO URLs for Articles
    By kopoba11 in forum osCMax v2 Features Discussion
    Replies: 0
    Last Post: 04-15-2006, 02:58 PM
  5. FCK and Articles
    By red_fraggle in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 02-05-2006, 01:58 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
  •