Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2005
    Posts
    229
    Plugin Contributions
    0

    Default SEO, htaccess and domain redirect

    Hello,

    NEED HELP WRINTING .HTACCESS


    I just installed Ultimate SEO URL for 1.3.7. I'm sure this is a great adon but it doesn't work for me and I'm quite sure this is because I'm using a registrar web redirect function.

    My technicaly speaking real URL is http://cozicatering.com/piccolo_html/catalog
    The for wcustomer URL is http://www.piccolo-pizza.com

    On my registrar interface I told
    http://www.piccolo-pizza.com --> http://cozicatering.com/piccolo_html/catalog

    Now I'm quite sure the problem can be solved by a custom .htaccess file, but I'm not a coder so if someone can help me build the right .htaccess that would be great.

    the one of the Ultimate SEO URL mod is
    ##### NOTE: Replace /shop/ with the relative web path of your catalog in the "Rewrite Base" line below:



    Options +FollowSymLinks

    RewriteEngine On

    RewriteBase /



    # From Ultimate SEO URLs

    RewriteRule ^(.*)-p-(.*).html$ index\.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L]

    RewriteRule ^(.*)-c-(.*).html$ index\.php?main_page=index&cPath=$2&%{QUERY_STRING} [L]

    RewriteRule ^(.*)-m-([0-9]+).html$ index\.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING} [L]

    RewriteRule ^(.*)-pi-([0-9]+).html$ index\.php?main_page=popup_image&pID=$2&%{QUERY_STRING} [L]

    RewriteRule ^(.*)-pr-([0-9]+).html$ index\.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING} [L]

    RewriteRule ^(.*)-pri-([0-9]+).html$ index\.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [L]



    # For Open Operations Info Manager

    RewriteRule ^(.*)-i-([0-9]+).html$ index\.php?main_page=info_manager&pages_id=$2&%{QUERY_STRING} [L]



    # For dreamscape's News & Articles Manager

    RewriteRule ^news/?$ index\.php?main_page=news&%{QUERY_STRING} [L]

    RewriteRule ^news/rss.xml$ index\.php?main_page=news_rss&%{QUERY_STRING} [L]

    RewriteRule ^news/archive/?$ index\.php?main_page=news_archive&%{QUERY_STRING} [L]

    RewriteRule ^news/([0-9]{4})-([0-9]{2})-([0-9]{2}).html$ index\.php?main_page=news&date=$1-$2-$3&%{QUERY_STRING} [L]

    RewriteRule ^news/archive/([0-9]{4})-([0-9]{2}).html$ index\.php?main_page=news_archive&date=$1-$2&%{QUERY_STRING} [L]

    RewriteRule ^news/(.*)-a-([0-9]+)-comments.html$ index\.php?main_page=news_comments&article_id=$2&%{QUERY_STRING} [L]

    RewriteRule ^news/(.*)-a-([0-9]+).html$ index\.php?main_page=news_article&article_id=$2&%{QUERY_STRING} [L]



    # All other pages

    # Don't rewrite real files or directories

    RewriteCond %{REQUEST_FILENAME} !-f [NC]

    RewriteCond %{REQUEST_FILENAME} !-d

    RewriteRule ^(.*).html$ index\.php?main_page=$1&%{QUERY_STRING} [L]

    Thanks

    Hubert

  2. #2
    Join Date
    Oct 2004
    Location
    Houston, TX
    Posts
    782
    Plugin Contributions
    4

    Default Re: SEO, htaccess and domain redirect

    Quote Originally Posted by hubert View Post
    Hello,

    NEED HELP WRINTING .HTACCESS


    I just installed Ultimate SEO URL for 1.3.7. I'm sure this is a great adon but it doesn't work for me and I'm quite sure this is because I'm using a registrar web redirect function.

    My technicaly speaking real URL is http://cozicatering.com/piccolo_html/catalog
    The for wcustomer URL is http://www.piccolo-pizza.com

    On my registrar interface I told
    http://www.piccolo-pizza.com --> http://cozicatering.com/piccolo_html/catalog

    Now I'm quite sure the problem can be solved by a custom .htaccess file, but I'm not a coder so if someone can help me build the right .htaccess that would be great.

    the one of the Ultimate SEO URL mod is



    Thanks

    Hubert
    Can you PM me server details ... I'll have a look.

  3. #3
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,137
    Plugin Contributions
    11

    Default Re: SEO, htaccess and domain redirect

    Sure would have liked to see the resolution on this.

    Solving over PM doesn't do much for the next guy unless the solution is passed on.

  4. #4
    Join Date
    Mar 2005
    Posts
    229
    Plugin Contributions
    0

    Default Re: SEO, htaccess and domain redirect

    Sorry for the delay, PM didn't give any solution cause TestUser was asking for my admin pass which I refused to give of course.

    And finally modified the redirect, there was a solution on my web server using an .htaccess to make a virtual host in place of a redirect. Using virtual host makes the site acting as a real site.

    Hope this help.

  5. #5
    Join Date
    Oct 2007
    Posts
    1
    Plugin Contributions
    0

    Default Re: SEO, htaccess and domain redirect

    So has anyone found out how to get the Ultimate SEO working with 1.3.7? That archived thread didn't help....

 

 

Similar Threads

  1. Domain Redirect and SEO Questions
    By DBB1 in forum General Questions
    Replies: 6
    Last Post: 19 Oct 2010, 05:59 AM
  2. Ultimate SEO Module + htaccess 301 redirect issue
    By justinanderson007 in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 31 Aug 2010, 04:12 PM
  3. .htaccess redirect to new domain
    By Convergence in forum General Questions
    Replies: 5
    Last Post: 4 Aug 2010, 06:47 AM
  4. Replies: 3
    Last Post: 11 Apr 2010, 07:57 AM
  5. .htaccess and domain problem
    By miles in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 5 May 2008, 11: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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR