943,997 Members | Top Members by Rank

Ad:
Dec 26th, 2004
0

Redirects & it's affect on SEs

Expand Post »
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
Similar Threads
Reputation Points: 46
Solved Threads: 0
Posting Pro in Training
ep2002 is offline Offline
462 posts
since May 2004
Jan 23rd, 2005
0

Re: Redirects & it's affect on SEs

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
Reputation Points: 8
Solved Threads: 0
Junior Poster
Danny is offline Offline
193 posts
since May 2004
Jan 23rd, 2005
0

Re: Redirects & it's affect on SEs

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.
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
cscgal is offline Offline
13,645 posts
since Feb 2002

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Search Engine Optimization Forum Timeline: A PR update at last!
Next Thread in Search Engine Optimization Forum Timeline: Non-google rankings





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC