Forums / All Other Contributions/Addons / SEO, htaccess and domain redirect

SEO, htaccess and domain redirect

Locked

Views: 3,164

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
9 Aug 2007, 11:36 PM
#1
hubert avatar

hubert

Zen Follower

Join Date:
Mar 2005
Posts:
229
Plugin Contributions:
0

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

11 Aug 2007, 11:43 PM
#2
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

Re: SEO, htaccess and domain redirect

hubert:

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.

Colin @ iChoze Internet Solutions
Zen Cart Stuff powered by Zen Cart
http://zen-cart-templates.ichoze.net

18 Oct 2007, 3:21 AM
#3
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,883
Plugin Contributions:
20

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.:(

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

23 Oct 2007, 9:19 PM
#4
hubert avatar

hubert

Zen Follower

Join Date:
Mar 2005
Posts:
229
Plugin Contributions:
0

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.

26 Oct 2007, 7:19 PM
#5
mbjornson avatar

mbjornson

New Zenner

Join Date:
Oct 2007
Posts:
1
Plugin Contributions:
0

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....