External vs. internal rewrite - SEO question

Discuss practical ways rearrange URLs using mod_rewrite.

External vs. internal rewrite - SEO question

Postby txag92 » Mon May 16, 2005 10:56 pm

Basically wondering if anyone knows whether an external rewrite as described below is any different (to a SE) than an internal rewrite?

I have a page.html:

www.mydomain.com/dir1/page.html

that I'm trying to redirect to

www.mydomian.com/categories.php?cat=7

I can do it with:

RewriteBase /
RewriteRule ^dir1/page\.html$ http://www.mydomain.com/categories.php?cat=7 [R]

but I cannot rewrite it internally - what happens is all my relational links to images, etc. think they are now in /dir1/ so I don't get any images, etc.

Maybe I just missed something simple.

Any insight on the SEO topic or help on an internal rewrite is greatly appreciated.

Thanks,

Ignacio
txag92
 
Posts: 1
Joined: Mon May 16, 2005 10:27 pm

Postby Caterham » Sat May 21, 2005 6:06 am

take a look on viewtopic.php?p=3006

No, don't use an external redirection. you'll habe no seo effect. You'll need an internal rewrite.
Caterham
 
Posts: 690
Joined: Fri Dec 10, 2004 1:30 pm


Return to Friendly URLs with Mod_Rewrite

Who is online

Users browsing this forum: No registered users and 40 guests

cron