Welcome to WebmasterWorld Guest from 54.234.244.30

Message Too Old, No Replies

I have a static, HTML site doing well, about to move to dynamic.

.htm to php. What's need to preserve ranking?

     
5:41 pm on Jan 24, 2007 (gmt 0)

Preferred Member

10+ Year Member

joined:Dec 3, 2003
posts:445
votes: 0


I'm just about to move my high ranking static pages to php and drastically change the site.

Can I have an index.php as well as a index.htm on my site, so I can build the site on the server and then just 301 redirect index.htm to index.php when it's ready and then delete?

I'm also thinking of for the transition at least to try and keep the navigation pages named the same as well as keeping the navigation anchor text the same.

Would this be the right way to do this, do you think?

Any tips? As I mentioned I do pretty well in Google but I want to change my site into a more content managed site. I'm using Joomla.

10:02 pm on Jan 24, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:May 30, 2003
posts:932
votes: 0


The way I think you are describing this, your site is going to have mostly new URLs - pretty drastic in terms of existing rankings. Do you really need to do it? You are more or less starting again, and you will need to find a way to deal with all your existing indexed URLs.

With index.php as well as index.htm (but not index.html), by entering only the domain name, in my experience the browser will display the contents of index.php. For a homepage, many recommend just the domain with no index file in the URL - the same with subfolders:

www.domain.com/
www.domain.com/subfolder/

But you can still open both an index.php and an index.htm by typing in the address or linking to each address.

Is this thread relevant? -> [webmasterworld.com...]

[edited by: Patrick_Taylor at 10:05 pm (utc) on Jan. 24, 2007]

10:36 pm on Jan 24, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:May 26, 2000
posts:37301
votes: 0


You can set up a server to parse .html extension files as php. That could help a lot.

[webmasterworld.com...]

There are many other threads here on the topic - a site search turns up over 1,000.

10:24 am on Jan 26, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Aug 31, 2001
posts: 1357
votes: 0


Hi,

On a related issue. Many folks who change from static to dynamic also change from HTML to XHTML. I've seen reports of folks having Google ranking problems when they have changed from HTML 3.2 to XHTML and CSS (both static and dynamic). Is this still an issue or has Google come into the real world.

Cheers

Sid

7:46 pm on Jan 26, 2007 (gmt 0)

New User

10+ Year Member

joined:Sept 27, 2005
posts:33
votes: 0


mod_rewrite :)
7:52 pm on Jan 26, 2007 (gmt 0)

New User

5+ Year Member

joined:July 24, 2006
posts:13
votes: 0


I've programmed for myself in PHP a simple database-based frame so that I can maintain old page names for rebuilding websites, saving big time and effectively maintaining rankings....even outperforming them if the layout is cleaner.
2:49 pm on Jan 27, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:May 6, 2005
posts:863
votes: 0


or has Google come into the real world

Could be, last saturday (7 days ago) I completely changed a PR5 site, had to, it was a mix of php and html and folders and files all over the shop, it grew out of control in other words. Relatively small in size 80 odd pages.

This is the process I took (after reading here of course) I knew it was bad move but neccessary.

Completely built new site on spare domain first

Created 301 from old page to new pageORcategory for every single URL I couldnt do a mod_rewrite as it would have taken ME longer than the 301's

While creating the htaccess file I did the non www to www, index.php to / and the 404 just incase

Last Saturday morning, did a final check, deleted whole old site and uploaded new version with .htaccess, re-created G sitemap and told them to fetch it again.

This morning checked G sitemaps for errors, had 1, they wanted the site verifying again (could be coincidence as a few other sitemap sites have asked in the past for re verifying) chose meta verifying version, uploaded index.php verifyed OK, ran site: from within sitemaps and ALL new pages are indexed, and a few suplimentals, traffic over the week has been higher than average, added the sup URL's to the htaccess.

YMMV

2:57 pm on Jan 27, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Aug 31, 2001
posts:1357
votes: 0


Hi wheelie34,

I'd be very grateful if you could keep us informed on how your site does in a few weeks time.

Thanks for the information.

Sid

3:54 pm on Jan 27, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:May 6, 2005
posts:863
votes: 0


Will do sid, as we know, I just missed the last PR update so will have to wait a while to see what gets passed over, if anything, theres a few threads here saying it wont.

Will monitor traffic for a while too as I expect a drop sometime soon, if it doesn't I'll be quite chuffed.

4:03 pm on Jan 27, 2007 (gmt 0)

Junior Member

10+ Year Member

joined:Nov 20, 2004
posts:109
votes: 0


repeat: "mod_rewrite" Read in the apache forum.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members