homepage Welcome to WebmasterWorld Guest from 54.204.94.228
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / WebmasterWorld / New To Web Development
Forum Library, Charter, Moderators: brotherhood of lan & mack

New To Web Development Forum

    
redirecting pages
because of change in site structure
showtime

10+ Year Member



 
Msg#: 2576 posted 8:32 am on Nov 21, 2005 (gmt 0)

Hi;

i am chancing my site structure. and i want to redirect

www.mydomain.com/subject/page.htm (old)

www.mydomain.com/subject/page/ (new)

what can I add to .htaccess

will there any negative effect in google listing after the change?

Thanks

 

le_gber

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 2576 posted 4:39 pm on Nov 21, 2005 (gmt 0)

hi there showtime.

try googleing for :

site:webmasterworld.com 301 permanent redirect

plenty of very good reading from there.

The benefits of using the 301 is that Google and suposedly Yahoo will replace the old page with the new in their index and stop trying to access it.

Google will also pass on any Google PageRank value that the old page had to the new one.

Hope this helps

showtime

10+ Year Member



 
Msg#: 2576 posted 12:55 pm on Nov 24, 2005 (gmt 0)

hi

i am using cpanel control panel. And there is a redirect section and you can set permanent redirects there is that enough

Thanks

g1smd

WebmasterWorld Senior Member g1smd us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 2576 posted 10:09 pm on Nov 24, 2005 (gmt 0)

A few lines of mod_rewrite code in the .htaccess file are all you need.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / New To Web Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved