Conveyancing Solicitors
Online debt recovery
Protect Your Asset
Homeinformationpacks
Legal Wills
Conveyancers
Write Living Will
Cheap Conveyancing Online
Tenants In Common
I want to redirect my website "my domain/index.php" to "my domain".
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.
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
Custom Soccer Uniforms | Men's Soccer Uniforms
301 redirect will be the better option.
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).
Other people asked questions on similar topics, check out the answers they received: