Go Back   WarriorForum - Internet Marketing Forums > Warrior Support Forums > Website Design
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 10-06-2008, 08:47 AM   #1
Senior Warrior Member
War Room Member
 
James Foster's Avatar
 
Join Date: Jun 2008
Location: central minnesota,USA.
Posts: 1,024
Thanks: 68
Thanked 282 Times in 173 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Default it's index.php not .html

Hey everyone,

I'm hoping someone can give me a quick and easy solution to a problem. I have a domain that use to have a regular static html site on it, but now I have switched it to a WP blog. When I google the site it comes up in the #1 spot but google has it linking to www.mydomain.com/index.html and since there is no .html it goes directly to an ugly 404 page. I have taken down all the html pages but for some reason things aren't going to my nice looking webpage.

What do I need to change to make sure everything goes to my .php instead of a nonexistent page?
James Foster is online now   Reply With Quote
Old 10-06-2008, 09:10 AM   #2
HyperActive Warrior
 
Join Date: Nov 2007
Location: Out Behind The Barn
Posts: 171
Thanks: 14
Thanked 10 Times in 8 Posts
Social Networking View Member's FaceBook Profile 
Default Re: it's index.php not .html

I'm not sure how to do it...I bet there's something in wordpress that will let you. But what you need to do is make a custom 404 error page...one that redirects right to your home page.

Google will clean this up soon, but you should get a custom 404 anyway.

Don't Miss Your Chance To - Make Your Weight Loss Products SELL BIG!
Eric Engel is offline   Reply With Quote
Old 10-06-2008, 10:18 AM   #3
Active Warrior
 
Join Date: Sep 2008
Posts: 54
Thanks: 0
Thanked 1 Time in 1 Post
Default Re: it's index.php not .html

if its a WP blog, maybe its in the setup of your meta links or something but yeah you could create a page for redirect as what Eric says

Here to learn and share
onlinemarketer is offline   Reply With Quote
Old 10-06-2008, 10:48 AM   #4
Senior Warrior Member
War Room Member
 
James Foster's Avatar
 
Join Date: Jun 2008
Location: central minnesota,USA.
Posts: 1,024
Thanks: 68
Thanked 282 Times in 173 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Default Re: it's index.php not .html

Thanks for the help so far guys. I went to my hosting acct. and set up redirects for pages. shouldn't those take effect instantly? i tried to test them right after i set the redirects but they didn't work yet. i'm hoping it takes atleast a few minutes for them to go into effect. I'll also look into my meta links.
James Foster is online now   Reply With Quote
Old 10-06-2008, 10:50 AM   #5
HyperActive Warrior
 
Join Date: Nov 2007
Location: Out Behind The Barn
Posts: 171
Thanks: 14
Thanked 10 Times in 8 Posts
Social Networking View Member's FaceBook Profile 
Default Re: it's index.php not .html

Yes...redirects should work immediately. If not, then you didn't do it right.

Don't Miss Your Chance To - Make Your Weight Loss Products SELL BIG!
Eric Engel is offline   Reply With Quote
Old 10-06-2008, 07:30 PM   #6
HyperActive Warrior
War Room Member
 
jonhel's Avatar
 
Join Date: Oct 2008
Location: Perth, Western Australia
Posts: 239
Thanks: 3
Thanked 17 Times in 17 Posts
Social Networking View Member's Twitter Profile 
Contact Info
Send a message via Skype™ to jonhel
Default Re: it's index.php not .html

James,

Have you looked through the Wordpress plugins at WordPress › WordPress Plugins?

I seem to recall seeing one a while ago that enabled you to specify old static page addresses but can't recall the details.

Jonathan

Warrior For Hire - Freelance web developer/troubleshooter/fixer etc. - Affordable website help
jonhel is offline   Reply With Quote
Old 10-06-2008, 09:39 PM   #7
Senior Warrior Member
War Room Member
 
James Foster's Avatar
 
Join Date: Jun 2008
Location: central minnesota,USA.
Posts: 1,024
Thanks: 68
Thanked 282 Times in 173 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Default Re: it's index.php not .html

thanks everyone and especially johnel that plug in did the trick!
James Foster is online now   Reply With Quote
Old 10-14-2008, 08:22 PM   #8
Elite Warrior Member
War Room Member
 
Louis Raven's Avatar
 
Join Date: Jun 2007
Location: United Kingdom.
Posts: 2,876
Blog Entries: 1
Thanks: 211
Thanked 64 Times in 49 Posts
Social Networking View Member's Twitter Profile 
Default Re: it's index.php not .html

You need to 301 redirect .html to .php.

Why 301 I hear you say? because a 301 tells Google to carry over all power/Page Rank to the new page and never look back.

Hope this helps

Louis

Louis Raven is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > Warrior Support Forums > Website Design

Tags
html, indexphp

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 03:29 PM.