Redirects & it's affect on SEs

Please support our Search Engine Optimization advertiser: Get a Free SEO Analysis!
Reply

Join Date: May 2004
Posts: 438
Reputation: ep2002 is an unknown quantity at this point 
Solved Threads: 0
ep2002's Avatar
ep2002 ep2002 is offline Offline
Posting Pro in Training

Redirects & it's affect on SEs

 
0
  #1
Dec 26th, 2004
Hi all,

My programmer & I need to get rid of the .phtml pages another programmer had me create & make new .php pages.

He wants to:

"use the 404 SCRIPT (PHP file) that will do following.. based on REQUEST to non existing PHTML file it should get corresponding PHP file.. for example.. if requested was recommended_links.phtml then it'll get into recommended_links.php .. and so on.. for any PHTML file.. so SEs will think that PHTML files still exist"

Does anyone understand this & will I be penalized by the SEs?

Thanks & I hope everyone had a great Christmas


Michelle
Review all of our open job positions

**Parents having problems with your kids? Come tell us your story

Are you a writer or editor? Join us...
Reply With Quote Quick reply to this message  
Join Date: May 2004
Posts: 193
Reputation: Danny is an unknown quantity at this point 
Solved Threads: 0
Danny's Avatar
Danny Danny is offline Offline
The Press Release Guy

Re: Redirects & it's affect on SEs

 
0
  #2
Jan 23rd, 2005
I can't answer your question whether or not you'll be penalized. I'd think not, but again, I have no certainty.

I'd like to offer another tip of advice: why not use .htaccess with mod_rewire? Have the server rename all the .php files 'on the fly.'

Its the same thing that's used on Daniweb to make the forums and threads more SE friendly. (I.e. thread23849.html)

More information at: http://httpd.apache.org/docs/mod/mod_rewrite.html
:cool: The Press Release Guy :(
NEW: Press Advance - Geek Valley - Freedom Tower
"Longer Boats are coming to win us"
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,040
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 128
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: Redirects & it's affect on SEs

 
0
  #3
Jan 23rd, 2005
I don't recommend using mod_rewrite because this will create duplicate content, which google doesn't like. For example, the .php page and the .phtml page will both bring up the exact same content, and this could cause problems. Instead, I would use .htaccess to create 301 Permanent Redirects. These are used when content has moved locations (to a new filename, for example). It tells the search engines that upon reaching the old URL to redirect without penalty to the new URL.
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Search Engine Optimization Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC