• Answers
  • Web
Personalize Yedda, (And make Danny Happy)
People ask & answer about almost everything. Tell us what you're interested in... So we can personalize Yedda especially for you
I'm interested in:

How I redirect my webpage?

I want to redirect my website "my domain/index.php" to "my domain".


Share Send to a friend Watch Report
 
 

3 Posted Answers
Order by

 

Software Professional develops creative innovative leading-edge technology database-driven website social media enterprise web applications http://jsxtech.com

redirect using 301 redirect

On Apache server add the following line in .htaccess file:

redirect 301 http://www.mydomain.com/index.php http://www.mydomain.com

301 redirect is the best method to preserve your current search engine rankings when redirecting web pages or a web site.

Posted 2009-06-02T06:17:42Z
 
32 helpful answers

 

 

How to implement the 301 Redirect

1. To create a .htaccess file, open notepad, name and save
the file as .htaccess (there is no extension).

2. If you already have a .htaccess file on your server,
download it to your desktop for editing.

3. Place this code in your .htaccess file:

redirect 301 /old/old.htm http://www.you.com/new.htm

4. If the .htaccess file already has lines of code in it,
skip a line, then add the above code.

5. Save the .htaccess file

6. Upload this file to the root folder of your server.

7. Test it by typing in the old address to the page you've
changed. You should be immediately taken to the new
location.
Source

Posted 2009-06-03T11:09:10Z
 

301 redirect will be the better option.

Posted 2009-07-24T16:48:31Z

Sign in to participate

Got an answer for Jhon? Would you like to comment on the posted answers, or vote for the one which you think is the best?

Sign up for a free account, or sign in (if you're already a member).

Explore Related Questions

Other people asked questions on similar topics, check out the answers they received:


Q:

Who would like to develop a trust business relationship and benefit from the great links I have for sale?

I need trust based business relationship because... This is what I have to offer: 1)Permanent one way links. 2)In a ...
Submitted by shmitche   1 year ago.
  • viewed 651 times
Last answer posted 3 months ago by atlanticOptimize


Q:

How has the credit crunch affected the SEO market ...

How has the credit crunch affected the SEO market - are more people switching to online advertising or simply cutting their ...
Submitted by Highlandspring   1 year ago.
  • viewed 633 times
Last answer posted 3 days ago by jasonbrooks23


Q:

Is it OK to pay for links on a directory or are ...

Is it OK to pay for links on a directory or are these seen as buying links the same as others? I have heard that Google is ...
Submitted by Highlandspring   1 year ago.
  • viewed 51 times
Last answer posted 3 months ago by atlanticOptimize



» More...

Feed - Subscribe to changes to this Q&A Blog
ADVERTISEMENT
  • Answers
  • Web
Copyright © 2006-2009, Yedda Inc. and respective copyright owners · CC License